00001 #ifndef ALIFMDCALIBGAIN_H 00002 #define ALIFMDCALIBGAIN_H 00003 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights 00004 * reserved. 00005 * 00006 * See cxx source for full Copyright notice 00007 */ 00008 #ifndef ALIFMDFLOATMAP_H 00009 # include <AliFMDFloatMap.h> 00010 #endif 00011 //____________________________________________________________________ 00015 class AliFMDCalibGain : public TObject 00016 { 00017 public: 00019 AliFMDCalibGain(); 00021 ~AliFMDCalibGain() {} 00024 AliFMDCalibGain(const AliFMDCalibGain& o); 00027 AliFMDCalibGain& operator=(const AliFMDCalibGain& o); 00034 void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t val); 00037 void Set(Float_t thres) { fThreshold = thres; } 00044 Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str); 00046 Float_t Threshold() const { return fThreshold; } 00047 private: 00048 AliFMDFloatMap fValue; // Map 00049 Float_t fThreshold; // Global threshold 00050 ClassDef(AliFMDCalibGain, 1) // Gain data for the FMD 00051 }; 00052 00053 00054 #endif 00055 //____________________________________________________________________ 00056 // 00057 // Local Variables: 00058 // mode: C++ 00059 // End: 00060 // 00061 00062