]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDCalibStripRange.h
Minor fixes
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibStripRange.h
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 /** @file    AliFMDCalibStripRange.h
9     @author  Christian Holm Christensen <cholm@nbi.dk>
10     @date    Sun Mar 26 18:32:14 2006
11     @brief   Per digitizer card pulser calibration
12 */
13 #ifndef ROOT_TObject
14 # include <TObject.h>
15 #endif
16 #ifndef ALIFMDUSHORTMAP_H
17 # include "AliFMDUShortMap.h"
18 #endif
19 #ifndef ROOT_TArrayI
20 # include <TArrayI.h>
21 #endif
22 //____________________________________________________________________
23 /** @brief Per digitizer card pulser calibration
24     @ingroup FMD_base
25 */
26 class AliFMDCalibStripRange : public TObject
27 {
28 public:
29   /** CTOR */
30   AliFMDCalibStripRange();
31   /** Copy CTOR
32       @param o Object to copy from  */
33   AliFMDCalibStripRange(const AliFMDCalibStripRange& o);
34   /** Assignment operator 
35       @param o Object to assign from 
36       @return Reference to assign from  */
37   AliFMDCalibStripRange& operator=(const AliFMDCalibStripRange& o);
38   /** Set sample for a DDL
39       @param det   Detector #
40       @param ring  Ring ID 
41       @param sec   Sector # 
42       @param str   Strip number (not used)
43       @param min   Minimum strip (0-127)
44       @param max   Maximum strip (0-127) */
45   void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, 
46            UShort_t min, UShort_t max);
47   /** Get minimum strip read out (0-127)
48       @param det  Detector #
49       @param ring Ring ID 
50       @param sec  Sector # 
51       @param str  Strip number (not used)
52       @return Minimum strip  */
53   UShort_t Min(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
54   /** Get maximum strip read out (0-127)
55       @param det  Detector #
56       @param ring Ring ID 
57       @param sec  Sector # 
58       @param str  Strip number (not used)
59       @return Maximum strip  */
60   UShort_t Max(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
61 protected:
62   // TArrayI fRates; // Sample rates 
63   AliFMDUShortMap fRates;
64   ClassDef(AliFMDCalibStripRange,1); // Sample rates 
65 };
66
67 #endif
68 //____________________________________________________________________
69 //
70 // Local Variables:
71 //   mode: C++
72 // End:
73 //
74
75