]>
Commit | Line | Data |
---|---|---|
a3537838 | 1 | #ifndef ALIFMDCALIBPEDESTAL_H |
2 | #define ALIFMDCALIBPEDESTAL_H | |
3 | /* Copyright(c) 1998-2000, ALICE Experiment at CERN, All rights | |
4 | * reserved. | |
5 | * | |
6 | * See cxx source for full Copyright notice | |
7 | */ | |
c2fc1258 | 8 | /** @file AliFMDCalibPedestal.h |
9 | @author Christian Holm Christensen <cholm@nbi.dk> | |
10 | @date Sun Mar 26 18:30:51 2006 | |
11 | @brief Per strip pedestal calibration | |
12 | */ | |
a3537838 | 13 | #ifndef ALIFMDFLOATMAP_H |
14 | # include <AliFMDFloatMap.h> | |
15 | #endif | |
16 | //____________________________________________________________________ | |
c2fc1258 | 17 | /** @brief Pedestal value and width for each strip in the FMD |
9f662337 | 18 | @ingroup FMD_base |
19 | */ | |
a3537838 | 20 | class AliFMDCalibPedestal : public TObject |
21 | { | |
22 | public: | |
9f662337 | 23 | /** CTOR */ |
a3537838 | 24 | AliFMDCalibPedestal(); |
9f662337 | 25 | /** DTOR */ |
a3537838 | 26 | ~AliFMDCalibPedestal() {} |
9f662337 | 27 | /** Copy ctor |
28 | @param o Object to copy from */ | |
a3537838 | 29 | AliFMDCalibPedestal(const AliFMDCalibPedestal& o); |
9f662337 | 30 | /** Assignment |
31 | @param o Object to assign from | |
32 | @return Reference to this object */ | |
a3537838 | 33 | AliFMDCalibPedestal& operator=(const AliFMDCalibPedestal& o); |
9f662337 | 34 | /** Set the values for a strip. |
35 | @param det Detector | |
36 | @param ring Ring | |
37 | @param sec Sector | |
38 | @param str Strip | |
39 | @param ped Value of pedestal | |
40 | @param pedW Width of pedestal */ | |
a3537838 | 41 | void Set(UShort_t det, Char_t ring, UShort_t sec, UShort_t str, |
42 | Float_t ped, Float_t pedW); | |
9f662337 | 43 | /** Get pedestal for a strip. |
44 | @param det Detector | |
45 | @param ring Ring | |
46 | @param sec Sector | |
47 | @param str Strip | |
9f662337 | 48 | @return Pedestal for strip */ |
a3537838 | 49 | Float_t Value(UShort_t det, Char_t ring, UShort_t sec, UShort_t str); |
9f662337 | 50 | /** Get pedestal width for a strip. |
51 | @param det Detector | |
52 | @param ring Ring | |
53 | @param sec Sector | |
54 | @param str Strip | |
9f662337 | 55 | @return Pedestal width for strip */ |
a3537838 | 56 | Float_t Width(UShort_t det, Char_t ring, UShort_t sec, UShort_t str); |
57 | private: | |
9f662337 | 58 | AliFMDFloatMap fValue; /** Pedestal */ |
59 | AliFMDFloatMap fWidth; /** Pedestal width */ | |
a3537838 | 60 | ClassDef(AliFMDCalibPedestal, 1) // Pedestal data for the FMD |
61 | }; | |
62 | ||
63 | ||
64 | #endif | |
65 | //____________________________________________________________________ | |
66 | // | |
67 | // Local Variables: | |
68 | // mode: C++ | |
69 | // End: | |
70 | // | |
71 | ||
72 |