]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDCalibGain.h
e0c030d8c2ba82f6a4c77161a0f805e99f50f309
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibGain.h
1 #ifndef ALIFMDCALIBGAIN_H
2 #define ALIFMDCALIBGAIN_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
4  * reserved. 
5  *
6  * See cxx source for full Copyright notice                               
7  */
8 #ifndef ALIFMDFLOATMAP_H
9 # include <AliFMDFloatMap.h>
10 #endif
11 //____________________________________________________________________
12 //
13 // Gain value and width for each strip in the FMD
14 //
15 class AliFMDCalibGain : public TObject 
16 {
17 public:
18   AliFMDCalibGain();
19   ~AliFMDCalibGain() {}
20   AliFMDCalibGain(const AliFMDCalibGain& o);
21   AliFMDCalibGain& operator=(const AliFMDCalibGain& o);
22   void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t val);
23   void Set(Float_t thres) { fThreshold = thres; }
24   Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
25   Float_t Threshold() const { return fThreshold; }
26 private:
27   AliFMDFloatMap fValue;
28   Float_t        fThreshold;
29   ClassDef(AliFMDCalibGain, 1) // Gain data for the FMD 
30 };
31
32
33 #endif
34 //____________________________________________________________________
35 //
36 // Local Variables:
37 //   mode: C++
38 // End:
39 //
40
41