]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDCalibSampleRate.h
Additiona TOF data members (S.Arcelli)
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibSampleRate.h
1 #ifndef ALIFMDCALIBSAMPLERATE_H
2 #define ALIFMDCALIBSAMPLERATE_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 #ifndef ROOT_TObject
9 # include <TObject.h>
10 #endif
11 #ifndef ROOT_TArrayI
12 # include <TArrayI.h>
13 #endif
14 //____________________________________________________________________
15 /** Gain value and width for each strip in the FMD
16     @ingroup FMD_base
17 */
18 class AliFMDCalibSampleRate : public TObject
19 {
20 public:
21   /** CTOR */
22   AliFMDCalibSampleRate();
23   /** Copy CTOR
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;
38 protected:
39   TArrayI fRates; // Sample rates 
40   ClassDef(AliFMDCalibSampleRate,1); // Sample rates 
41 };
42
43 #endif
44 //____________________________________________________________________
45 //
46 // Local Variables:
47 //   mode: C++
48 // End:
49 //
50
51