Line data Source code
1 : #ifndef ALIITS_FONOISESPD_H
2 : #define ALIITS_FONOISESPD_H
3 :
4 : /////////////////////////////////////////////////////////////////////
5 : // Author: Henrik Tydesjo //
6 : // //
7 : // This class is used to store Fast-OR noise values in OCDB. //
8 : // One value per pixel chip. //
9 : // The values are the probability that a pixel chip will generate //
10 : // a fast-OR signal independently (originating from noise). //
11 : // //
12 : /////////////////////////////////////////////////////////////////////
13 :
14 : #include <TObject.h>
15 : #include <TError.h>
16 :
17 : class AliITSFONoiseSPD : public TObject {
18 :
19 : public:
20 : AliITSFONoiseSPD();
21 : AliITSFONoiseSPD(const AliITSFONoiseSPD& foNoi);
22 : virtual ~AliITSFONoiseSPD();
23 : AliITSFONoiseSPD& operator=(const AliITSFONoiseSPD& foNoi);
24 :
25 : virtual void ResetValues();
26 : virtual void SetChipNoise(UInt_t eq, UInt_t hs, UInt_t chip, Float_t value);
27 : virtual Float_t GetChipNoise(UInt_t eq, UInt_t hs, UInt_t chip) const;
28 : virtual Float_t GetNoise(UInt_t eq, UInt_t hs, UInt_t chip, UInt_t /*col*/, UInt_t /*row*/) const
29 0 : {return GetChipNoise(eq,hs,chip);}
30 :
31 : protected:
32 : Float_t fChipNoise[20][6][10]; // noise values per chip
33 :
34 140 : ClassDef(AliITSFONoiseSPD,1) // FO Noise Base
35 : };
36 :
37 : #endif
|