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
8 //____________________________________________________________________
10 // This class stores the sample rate (that is, how many times the
11 // ATLRO's sample each VA1 channel). In principle these can be
12 // controlled per half ring, but in real life it's most likely that
13 // this value will be the same for all detectors. This value must be
14 // retrived from DCS or the like.
16 /** @file AliFMDCalibSampleRate.h
17 @author Christian Holm Christensen <cholm@nbi.dk>
18 @date Sun Mar 26 18:32:14 2006
19 @brief Per digitizer card pulser calibration
25 #ifndef ALIFMDUSHORTMAP_H
26 # include "AliFMDUShortMap.h"
31 //____________________________________________________________________
32 /** @brief Per digitizer card pulser calibration
35 class AliFMDCalibSampleRate : public TObject
39 AliFMDCalibSampleRate();
41 @param o Object to copy from */
42 AliFMDCalibSampleRate(const AliFMDCalibSampleRate& o);
43 /** Assignment operator
44 @param o Object to assign from
45 @return Reference to assign from */
46 AliFMDCalibSampleRate& operator=(const AliFMDCalibSampleRate& o);
47 /** Set sample for a DDL
51 @param str Strip number (not used)
52 @param rate Sample rate */
53 void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str,
55 /** Get sample rate for a detector
59 @param str Strip number (not used)
60 @return Sample rate */
61 UShort_t Rate(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
63 // TArrayI fRates; // Sample rates
64 AliFMDUShortMap fRates; // Sample rates
65 ClassDef(AliFMDCalibSampleRate,2); // Sample rates
69 //____________________________________________________________________