]>
Commit | Line | Data |
---|---|---|
b457135f | 1 | #ifndef AliITSFastOrCalibrationSPD_H |
2 | #define AliITSFastOrCalibrationSPD_H | |
3 | ||
4 | #include <TObject.h> | |
5 | #include <TBits.h> | |
6 | #include <AliCDBManager.h> | |
7 | #include <AliCDBMetaData.h> | |
8 | #include <AliCDBEntry.h> | |
9 | ||
10 | ||
11 | class AliITSFastOrCalibrationSPD : public TObject{ | |
12 | public: | |
13 | AliITSFastOrCalibrationSPD(); //default constructor | |
14 | virtual ~AliITSFastOrCalibrationSPD(); //destructor | |
15 | ||
16 | //setters | |
17 | void SetFastOrConfiguredChips(UInt_t chipKey) {fFastOrConfiguredChips.SetBitNumber(chipKey);} | |
18 | void ResetFastOrConfiguredChips() {fFastOrConfiguredChips.ResetAllBits();} | |
19 | ||
20 | //getters | |
21 | TBits GetFastOrConfiguredChips() const {return fFastOrConfiguredChips;} | |
22 | Bool_t TestFastOrConfiguredChips(UInt_t chipKey) const {return fFastOrConfiguredChips.TestBitNumber(chipKey);} | |
23 | ||
24 | Bool_t WriteFOConfToDB(Int_t runNrStart, Int_t runNrEnd); | |
25 | ||
26 | private: | |
27 | TBits fFastOrConfiguredChips; // Map of FastOr configured chips | |
28 | ||
29 | ClassDef(AliITSFastOrCalibrationSPD,1) | |
30 | }; | |
31 | ||
32 | #endif |