]>
Commit | Line | Data |
---|---|---|
ea932f75 | 1 | #ifndef ALITOFDCSMAPS_H |
2 | #define ALITOFDCSMAPS_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id: $ */ | |
8 | ||
9 | /////////////////////////////// | |
10 | // // | |
11 | // AliTOFDCSmaps class // | |
12 | // container for HV&&LV maps // | |
13 | // as found during a run // | |
14 | // // | |
15 | /////////////////////////////// | |
16 | ||
17 | #include "TObject.h" | |
18 | ||
19 | class AliTOFDCSmaps : public TObject { | |
20 | ||
21 | public: | |
22 | AliTOFDCSmaps(); | |
23 | AliTOFDCSmaps(Int_t time, Short_t array[]); | |
24 | AliTOFDCSmaps(const AliTOFDCSmaps & digit); | |
25 | AliTOFDCSmaps& operator=(const AliTOFDCSmaps & digit) ; | |
26 | virtual ~AliTOFDCSmaps(); | |
27 | ||
28 | Int_t GetTime() const { return fTime; }; | |
29 | void SetTime(Int_t time) { fTime=time; }; | |
b7a60cff | 30 | Short_t * GetArray() { return fArray; }; |
ea932f75 | 31 | Short_t GetCellValue(Int_t index) const { return fArray[index]; }; |
32 | void SetCellValue(Int_t index, Short_t val) { fArray[index]=val; }; | |
33 | void Update(AliTOFDCSmaps *object); | |
34 | private: | |
35 | Int_t fTime; // time stamp | |
36 | Short_t fArray[91*96*18]; // array | |
37 | ||
38 | ClassDef(AliTOFDCSmaps, 1); | |
39 | ||
40 | }; | |
41 | ||
42 | #endif |