Line data Source code
1 : #ifndef ALIITS_FOEFFICIENCYSPDCOLUMN_H
2 : #define ALIITS_FOEFFICIENCYSPDCOLUMN_H
3 :
4 : /////////////////////////////////////////////////////////////////////
5 : // Author: Henrik Tydesjo //
6 : // //
7 : // This class is used to store Fast-OR efficiency values in OCDB. //
8 : // One value per pixel chip column in this daughter class. //
9 : // The values are the probability that a pixel hit will generate a //
10 : // fast-OR signal. //
11 : // //
12 : /////////////////////////////////////////////////////////////////////
13 :
14 : #include "AliITSFOEfficiencySPD.h"
15 :
16 : class AliITSFOEfficiencySPDColumn : public AliITSFOEfficiencySPD {
17 :
18 : public:
19 : AliITSFOEfficiencySPDColumn();
20 : AliITSFOEfficiencySPDColumn(const AliITSFOEfficiencySPDColumn& foEff);
21 : virtual ~AliITSFOEfficiencySPDColumn();
22 : AliITSFOEfficiencySPDColumn& operator=(const AliITSFOEfficiencySPDColumn& foEff);
23 :
24 : virtual void ResetValues();
25 : virtual void SetColumnEfficiency(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, Float_t value);
26 :
27 : virtual Float_t GetEfficiency(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col, UInt_t /*row*/) const
28 0 : {return GetColumnEfficiency(eq,hs,chip,col);}
29 : virtual Float_t GetColumnEfficiency(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t col) const;
30 :
31 : protected:
32 : Float_t fColumnEfficiency[20][6][10][32]; // efficiency values per chip column
33 :
34 116 : ClassDef(AliITSFOEfficiencySPDColumn,1) // FO Efficiency Per Column
35 : };
36 :
37 : #endif
|