AliRoot Core  3dc7879 (3dc7879)
AliFMDCalibGain.h
Go to the documentation of this file.
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  */
13 // Gain value and width for each strip in the FMD.
14 // Foo
15 // Bar
16 //
17 #ifndef ALIFMDFLOATMAP_H
18 # include <AliFMDFloatMap.h>
19 #endif
20 #include <iosfwd>
21 class AliFMDBoolMap;
22 
23 //____________________________________________________________________
27 class AliFMDCalibGain : public TObject
28 {
29 public:
46  void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t val);
49  void Set(Float_t thres) { fThreshold = thres; }
56  Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
57 
62  Bool_t ReadFromFile(std::istream & inFile);
63 
65  Float_t Threshold() const { return fThreshold; }
66  const AliFMDFloatMap& Values() const { return fValue; }
87  AliFMDBoolMap* MakeDeadMap(Float_t min, Float_t max,
88  AliFMDBoolMap* dead=0) const;
89 private:
91  Float_t fThreshold; // Global threshold
92  ClassDef(AliFMDCalibGain, 1) // Gain data for the FMD
93 };
94 
95 
96 #endif
97 //____________________________________________________________________
98 //
99 // Local Variables:
100 // mode: C++
101 // End:
102 //
103 
104 
const AliFMDFloatMap & Values() const
AliFMDFloatMap fValue
AliFMDCalibGain & operator=(const AliFMDCalibGain &o)
void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t val)
Bool_t ReadFromFile(std::istream &inFile)
Float_t Threshold() const
Gain value and width for each strip in the FMD.
AliFMDBoolMap * MakeDeadMap(Float_t min, Float_t max, AliFMDBoolMap *dead=0) const
MAp of per strip boolean values.
Definition: AliFMDBoolMap.h:29
void Set(Float_t thres)
Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str)