]>
Commit | Line | Data |
---|---|---|
7754cd1f | 1 | #ifndef ALITRDCALMCMSTATUS_H |
2 | #define ALITRDCALMCMSTATUS_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | /////////////////////////////////////////////////////////////////////////////// | |
9 | // // | |
10 | // TRD calibration class for MCM status // | |
11 | // // | |
12 | /////////////////////////////////////////////////////////////////////////////// | |
13 | ||
14 | #include "TNamed.h" | |
2745a409 | 15 | |
16 | class AliTRDCalSingleChamberStatus; | |
7754cd1f | 17 | |
18 | class AliTRDCalMCMStatus : public TNamed { | |
19 | ||
20 | public: | |
21 | ||
22 | enum { kNplan = 6, kNcham = 5, kNsect = 18, kNdet = 540 }; | |
23 | enum { kMasked = 2, kMCMTemperatureBit1 = 4, kMBMTemperatureBit2 = 8 }; | |
24 | ||
25 | AliTRDCalMCMStatus(); | |
26 | AliTRDCalMCMStatus(const Text_t* name, const Text_t* title); | |
27 | AliTRDCalMCMStatus(const AliTRDCalMCMStatus &c); | |
28 | virtual ~AliTRDCalMCMStatus(); | |
29 | AliTRDCalMCMStatus &operator=(const AliTRDCalMCMStatus &c); | |
30 | ||
2745a409 | 31 | virtual void Copy(TObject &c) const; |
32 | ||
7754cd1f | 33 | |
2745a409 | 34 | Bool_t IsMasked(Int_t d, Int_t col, Int_t row) const |
35 | { return CheckStatus(d, col, row, kMasked); }; | |
36 | Bool_t CheckStatus(Int_t d, Int_t col, Int_t row, Int_t bitMask) const; | |
7754cd1f | 37 | |
2745a409 | 38 | AliTRDCalSingleChamberStatus *GetCalROC(Int_t p, Int_t c, Int_t s) const; |
39 | AliTRDCalSingleChamberStatus *GetCalROC(Int_t d) const | |
40 | { return fROC[d]; }; | |
7754cd1f | 41 | |
42 | protected: | |
43 | ||
44 | AliTRDCalSingleChamberStatus *fROC[kNdet]; // Array of ROC objects which contain the values per pad | |
45 | ||
46 | ClassDef(AliTRDCalMCMStatus,1) // TRD calibration class for MCM status | |
47 | ||
48 | }; | |
49 | ||
7754cd1f | 50 | #endif |