First V0 MC Analysis from H.Ricaud
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibStripRange.h
CommitLineData
c2fc1258 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 */
02a27b50 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//
c2fc1258 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
02a27b50 20 @ingroup FMD_base
c2fc1258 21*/
22#ifndef ROOT_TObject
23# include <TObject.h>
24#endif
25#ifndef ALIFMDUSHORTMAP_H
26# include "AliFMDUShortMap.h"
27#endif
28#ifndef ROOT_TArrayI
29# include <TArrayI.h>
30#endif
31//____________________________________________________________________
32/** @brief Per digitizer card pulser calibration
33 @ingroup FMD_base
34*/
35class AliFMDCalibStripRange : public TObject
36{
37public:
38 /** CTOR */
39 AliFMDCalibStripRange();
40 /** Copy CTOR
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
48 @param det Detector #
49 @param ring Ring ID
50 @param sec Sector #
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)
57 @param det Detector #
58 @param ring Ring ID
59 @param sec Sector #
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)
64 @param det Detector #
65 @param ring Ring ID
66 @param sec Sector #
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;
70protected:
71 // TArrayI fRates; // Sample rates
02a27b50 72 AliFMDUShortMap fRanges; // Min max
c2fc1258 73 ClassDef(AliFMDCalibStripRange,1); // Sample rates
74};
75
76#endif
77//____________________________________________________________________
78//
79// Local Variables:
80// mode: C++
81// End:
82//
83
84