AliPhysics  5364b50 (5364b50)
AliFMDCorrNoiseGain.h
Go to the documentation of this file.
1 #ifndef ALIFMDCORRNOISEGAIN_H
2 #define ALIFMDCORRNOISEGAIN_H
3 #include <AliFMDFloatMap.h>
4 
64 {
65 public:
69  AliFMDCorrNoiseGain() : fValues(0) { fValues.Reset(-1); }
75  AliFMDCorrNoiseGain(const AliFMDFloatMap& map) : fValues(map) {}
87  {
88  return fValues(d, r, s, t);
89  }
99  void Set(UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t x)
100  {
101  fValues(d, r, s, t) = x;
102  }
108  const AliFMDFloatMap& Values() { return fValues; }
109 protected:
110  AliFMDFloatMap fValues; // The noise-gain map
111  ClassDef(AliFMDCorrNoiseGain,1); // Clone of AliFMDCalibPedestal
112 };
113 
114 #endif
115 // Local Variables:
116 // mode: C++
117 // End:
118 
119 
char Char_t
Definition: External.C:18
Float_t Get(UShort_t d, Char_t r, UShort_t s, UShort_t t) const
void Set(UShort_t d, Char_t r, UShort_t s, UShort_t t, Float_t x)
float Float_t
Definition: External.C:68
const AliFMDFloatMap & Values()
unsigned short UShort_t
Definition: External.C:28
AliFMDCorrNoiseGain(const AliFMDFloatMap &map)