]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/AliFMDCalibSampleRate.h
Added a lot of Doxygen documentation
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibSampleRate.h
CommitLineData
8f6ee336 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//____________________________________________________________________
9f662337 15/** Gain value and width for each strip in the FMD
16 @ingroup FMD_base
17*/
8f6ee336 18class AliFMDCalibSampleRate : public TObject
19{
20public:
9f662337 21 /** CTOR */
8f6ee336 22 AliFMDCalibSampleRate();
9f662337 23 /** Copy CTOR
24 @param o Object to copy from */
8f6ee336 25 AliFMDCalibSampleRate(const AliFMDCalibSampleRate& o);
9f662337 26 /** Assignment operator
27 @param o Object to assign from
28 @return Reference to assign from */
8f6ee336 29 AliFMDCalibSampleRate& operator=(const AliFMDCalibSampleRate& o);
9f662337 30 /** Set sample for a DDL
31 @param ddl DDL (detector)
32 @param rate Sample rate */
8f6ee336 33 void Set(UShort_t ddl, UShort_t rate);
9f662337 34 /** Get sample rate for a detector
35 @param ddl Detector (DDL) identifier
36 @return Sample rate */
8f6ee336 37 UShort_t Rate(UShort_t ddl) const;
38protected:
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