]>
Commit | Line | Data |
---|---|---|
dc6dc1ff | 1 | #ifndef ALIPMDDDLINFODATA_H |
2 | #define ALIPMDDDLINFODATA_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | ||
7 | class TNamed; | |
8 | class AliCDBEntry; | |
9 | ||
10 | class AliPMDddlinfoData: public TNamed | |
11 | { | |
12 | public: | |
13 | AliPMDddlinfoData(); | |
14 | AliPMDddlinfoData(const char* name); | |
15 | AliPMDddlinfoData(const AliPMDddlinfoData &ddlinfoda); | |
16 | AliPMDddlinfoData& operator= (const AliPMDddlinfoData &ddlinfoda); | |
17 | virtual ~AliPMDddlinfoData(); | |
18 | void Reset(); | |
19 | ||
20 | Int_t GetNoOfModulePerDdl(Int_t iddl) const; | |
21 | Int_t GetModulesPerDdl(Int_t iddl, Int_t imod) const; | |
22 | Int_t GetStartRowA(Int_t idet, Int_t ismn) const; | |
23 | Int_t GetStartRowB(Int_t idet, Int_t ismn) const; | |
24 | Int_t GetEndRowA(Int_t idet, Int_t ismn) const; | |
25 | Int_t GetEndRowB(Int_t idet, Int_t ismn) const; | |
26 | Int_t GetStartColA(Int_t idet, Int_t ismn) const; | |
27 | Int_t GetStartColB(Int_t idet, Int_t ismn) const; | |
28 | Int_t GetEndColA(Int_t idet, Int_t ismn) const; | |
29 | Int_t GetEndColB(Int_t idet, Int_t ismn) const; | |
30 | ||
31 | void SetNoOfModulePerDdl(Int_t iddl, Int_t nmod); | |
32 | void SetModuleNoPerDdl(Int_t iddl, Int_t mod[]); | |
33 | void SetStartRowA(Int_t srowa[][24]); | |
34 | void SetStartRowB(Int_t srowb[][24]); | |
35 | void SetEndRowA(Int_t erowa[][24]); | |
36 | void SetEndRowB(Int_t erowb[][24]); | |
37 | void SetStartColA(Int_t scola[][24]); | |
38 | void SetStartColB(Int_t scolb[][24]); | |
39 | void SetEndColA(Int_t ecola[][24]); | |
40 | void SetEndColB(Int_t ecolb[][24]); | |
41 | ||
42 | virtual void Print(Option_t *) const; | |
43 | ||
44 | protected: | |
45 | ||
46 | Int_t fModules[6]; // Total no. of modules per DDL | |
47 | Int_t fModuleNo[6][12]; // Serial Module nos. per DDL (12 nos) | |
48 | ||
49 | Int_t fStartRowA[2][24]; // removed from row A | |
50 | Int_t fStartRowB[2][24]; // removed from row B | |
51 | Int_t fEndRowA[2][24]; // removed upto row A | |
52 | Int_t fEndRowB[2][24]; // removed upto row B | |
53 | Int_t fStartColA[2][24]; // removed from col A | |
54 | Int_t fStartColB[2][24]; // removed from col B | |
55 | Int_t fEndColA[2][24]; // removed upto row A | |
56 | Int_t fEndColB[2][24]; // removed upto row B | |
57 | ||
58 | ClassDef(AliPMDddlinfoData,1) // ddlinfo database | |
59 | }; | |
60 | #endif |