]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 1 | #ifndef ALIEVE_ITSModule_H |
2 | #define ALIEVE_ITSModule_H | |
3 | ||
4 | #include <Reve/QuadSet.h> | |
5a5a1232 | 5 | |
6 | #include <Alieve/ITSDigitsInfo.h> | |
7 | ||
8 | namespace Alieve { | |
9 | ||
9efc978d | 10 | class ITSModule : public Reve::QuadSet |
5a5a1232 | 11 | { |
265ecb21 | 12 | ITSModule(const ITSModule&); // Not implemented |
13 | ITSModule& operator=(const ITSModule&); // Not implemented | |
14 | ||
5a5a1232 | 15 | protected: |
9c8221e9 | 16 | void LoadQuads(); |
17 | void SetTrans(); | |
5a5a1232 | 18 | |
19 | ITSDigitsInfo* fInfo; | |
20 | ||
9efc978d | 21 | Int_t fID; // Module id |
22 | Int_t fDetID; // Detector id (0~SPD, 1~SDD, 2~SSD) | |
5a5a1232 | 23 | |
24 | Int_t fLayer; | |
25 | Int_t fLadder; | |
26 | Int_t fDet; | |
27 | ||
28 | Float_t fDx; | |
29 | Float_t fDz; | |
30 | Float_t fDy; | |
31 | ||
9c8221e9 | 32 | static Bool_t fgStaticInitDone; |
33 | ||
5a5a1232 | 34 | public: |
9efc978d | 35 | ITSModule(const Text_t* n="ITSModule", const Text_t* t=0); |
9c8221e9 | 36 | ITSModule(Int_t gid, ITSDigitsInfo* info); |
5a5a1232 | 37 | virtual ~ITSModule(); |
38 | ||
9c8221e9 | 39 | static void InitStatics(ITSDigitsInfo* info); |
40 | ||
9efc978d | 41 | ITSDigitsInfo* GetDigitsInfo() const { return fInfo; } |
42 | void SetDigitsInfo(ITSDigitsInfo* info); | |
43 | ||
44 | Int_t GetID() const { return fID; } | |
9c8221e9 | 45 | void SetID(Int_t gid); |
5a5a1232 | 46 | |
5a5a1232 | 47 | virtual void Print(Option_t* opt="") const; |
48 | ||
9efc978d | 49 | static Reve::FrameBox* fgSPDFrameBox; |
50 | static Reve::FrameBox* fgSDDFrameBox; | |
51 | static Reve::FrameBox* fgSSDFrameBox; | |
5a5a1232 | 52 | |
9efc978d | 53 | static Reve::RGBAPalette* fgSPDPalette; |
54 | static Reve::RGBAPalette* fgSDDPalette; | |
55 | static Reve::RGBAPalette* fgSSDPalette; | |
5a5a1232 | 56 | |
57 | ClassDef(ITSModule, 1); | |
9efc978d | 58 | }; |
59 | ||
5a5a1232 | 60 | } |
9efc978d | 61 | |
5a5a1232 | 62 | #endif |