AliRoot Core  edcc906 (edcc906)
AliFMDCalibStripRange.h
Go to the documentation of this file.
1 #ifndef ALIFMDCALIBSTRIPRANGE_H
2 #define ALIFMDCALIBSTRIPRANGE_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 //____________________________________________________________________
9 //
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.
15 //
22 #include <iosfwd>
23 #ifndef ROOT_TObject
24 # include <TObject.h>
25 #endif
26 #ifndef ALIFMDUSHORTMAP_H
27 # include "AliFMDUShortMap.h"
28 #endif
29 #ifndef ROOT_TArrayI
30 # include <TArrayI.h>
31 #endif
32 
33 //____________________________________________________________________
37 class AliFMDCalibStripRange : public TObject
38 {
39 public:
56  void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str,
57  UShort_t min, UShort_t max);
64  UShort_t Min(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
71  UShort_t Max(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
76  void WriteToFile(std::ostream &, Bool_t* detectors=0);
81  void ReadFromFile(std::istream &);
82 
83  const AliFMDUShortMap& Ranges() const { return fRanges; }
84 protected:
85  // TArrayI fRates; // Sample rates
86  AliFMDUShortMap fRanges; // Min max
87  ClassDef(AliFMDCalibStripRange,1); // Sample rates
88 };
89 
90 #endif
91 //____________________________________________________________________
92 //
93 // Local Variables:
94 // mode: C++
95 // End:
96 //
97 
98 
Map of an integer per strip.
AliFMDCalibStripRange & operator=(const AliFMDCalibStripRange &o)
Per strip of unisgned shorts (16 bit) data.
Per digitizer card pulser calibration.
UShort_t Max(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const
void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, UShort_t min, UShort_t max)
void WriteToFile(std::ostream &, Bool_t *detectors=0)
void ReadFromFile(std::istream &)
const AliFMDUShortMap & Ranges() const
UShort_t Min(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const