1 #ifndef ALIFMDCALIBGAIN_H
2 #define ALIFMDCALIBGAIN_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
8 /** @file AliFMDCalibGain.h
9 @author Christian Holm Christensen <cholm@nbi.dk>
10 @date Sun Mar 26 18:30:16 2006
11 @brief Per strip gain calibration
13 // Gain value and width for each strip in the FMD.
17 #ifndef ALIFMDFLOATMAP_H
18 # include <AliFMDFloatMap.h>
20 //____________________________________________________________________
21 /** @brief Gain value and width for each strip in the FMD
24 class AliFMDCalibGain : public TObject
32 @param o object to copy from */
33 AliFMDCalibGain(const AliFMDCalibGain& o);
34 /** Assignment operator
35 @param o Object to assign from */
36 AliFMDCalibGain& operator=(const AliFMDCalibGain& o);
37 /** Set the values for a strip.
42 @param val Value of gain */
43 void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, Float_t val);
44 /** Set the global threshold
45 @param thres Threshold */
46 void Set(Float_t thres) { fThreshold = thres; }
47 /** Get gain for a strip.
52 @return Gain for strip */
53 Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str);
54 /** @return threshold */
55 Float_t Threshold() const { return fThreshold; }
57 AliFMDFloatMap fValue; // Map
58 Float_t fThreshold; // Global threshold
59 ClassDef(AliFMDCalibGain, 1) // Gain data for the FMD
64 //____________________________________________________________________