AliRoot Core  3dc7879 (3dc7879)
AliFMDCalibPedestal.h
Go to the documentation of this file.
1 #ifndef ALIFMDCALIBPEDESTAL_H
2 #define ALIFMDCALIBPEDESTAL_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 //____________________________________________________________________
9 //
10 // This class stores a pedestal and pedestal width for each strip in
11 // the FMD detectors.
12 // The values are stored as floats, since they may be results from a
13 // fit.
14 // Need to make algorithm that makes this data
21 #ifndef ALIFMDFLOATMAP_H
22 # include <AliFMDFloatMap.h>
23 #endif
24 #include <iosfwd>
25 class AliFMDBoolMap;
26 
27 //____________________________________________________________________
31 class AliFMDCalibPedestal : public TObject
32 {
33 public:
61  void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str,
62  Float_t ped, Float_t pedW);
72  Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
79  Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
80 
86  Bool_t ReadFromFile(std::istream & inFile);
106  AliFMDBoolMap* MakeDeadMap(Float_t maxW, AliFMDBoolMap* dead=0) const;
107 
108  const AliFMDFloatMap& Values() const { return fValue; }
109  const AliFMDFloatMap& Widths() const { return fWidth; }
110 private:
113  ClassDef(AliFMDCalibPedestal, 1) // Pedestal data for the FMD
114 };
115 
116 
117 #endif
118 //____________________________________________________________________
119 //
120 // Local Variables:
121 // mode: C++
122 // End:
123 //
124 
125 
Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str)
void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t ped, Float_t pedW)
AliFMDCalibPedestal & operator=(const AliFMDCalibPedestal &o)
const AliFMDFloatMap & Values() const
MAp of per strip boolean values.
Definition: AliFMDBoolMap.h:29
AliFMDBoolMap * MakeDeadMap(Float_t maxW, AliFMDBoolMap *dead=0) const
Bool_t ReadFromFile(std::istream &inFile)
Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str)
Pedestal value and width for each strip in the FMD.
const AliFMDFloatMap & Widths() const