1 #ifndef ALIFMDCALIBSTRIPRANGE_H
2 #define ALIFMDCALIBSTRIPRANGE_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 which strips are read-out.
11 // In principle this can be set for each half-ring.
12 // However, in real life, all the detectors will probably read out all
13 // strips, and dead areas can be handled off-line.
14 // This information comes from DCS or the like.
16 /** @file AliFMDCalibStripRange.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 AliFMDCalibStripRange : public TObject
39 AliFMDCalibStripRange();
41 @param o Object to copy from */
42 AliFMDCalibStripRange(const AliFMDCalibStripRange& o);
43 /** Assignment operator
44 @param o Object to assign from
45 @return Reference to assign from */
46 AliFMDCalibStripRange& operator=(const AliFMDCalibStripRange& o);
47 /** Set sample for a DDL
51 @param str Strip number (not used)
52 @param min Minimum strip (0-127)
53 @param max Maximum strip (0-127) */
54 void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str,
55 UShort_t min, UShort_t max);
56 /** Get minimum strip read out (0-127)
60 @param str Strip number (not used)
61 @return Minimum strip */
62 UShort_t Min(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
63 /** Get maximum strip read out (0-127)
67 @param str Strip number (not used)
68 @return Maximum strip */
69 UShort_t Max(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
71 // TArrayI fRates; // Sample rates
72 AliFMDUShortMap fRanges; // Min max
73 ClassDef(AliFMDCalibStripRange,1); // Sample rates
77 //____________________________________________________________________