1 #ifndef ALIFMDCALIBSAMPLERATE_H
2 #define ALIFMDCALIBSAMPLERATE_H
3 /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights
6 * See cxx source for full Copyright notice
14 //____________________________________________________________________
15 /** Gain value and width for each strip in the FMD
18 class AliFMDCalibSampleRate : public TObject
22 AliFMDCalibSampleRate();
24 @param o Object to copy from */
25 AliFMDCalibSampleRate(const AliFMDCalibSampleRate& o);
26 /** Assignment operator
27 @param o Object to assign from
28 @return Reference to assign from */
29 AliFMDCalibSampleRate& operator=(const AliFMDCalibSampleRate& o);
30 /** Set sample for a DDL
31 @param ddl DDL (detector)
32 @param rate Sample rate */
33 void Set(UShort_t ddl, UShort_t rate);
34 /** Get sample rate for a detector
35 @param ddl Detector (DDL) identifier
36 @return Sample rate */
37 UShort_t Rate(UShort_t ddl) const;
39 TArrayI fRates; // Sample rates
40 ClassDef(AliFMDCalibSampleRate,1); // Sample rates
44 //____________________________________________________________________