Make LoadQuads virtual; add missing getters; in initialization read ITSDigitsInfo...
[u/mrichter/AliRoot.git] / EVE / Alieve / ITSModule.h
CommitLineData
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
8namespace Alieve {
9
9efc978d 10class ITSModule : public Reve::QuadSet
5a5a1232 11{
265ecb21 12 ITSModule(const ITSModule&); // Not implemented
13 ITSModule& operator=(const ITSModule&); // Not implemented
14
5a5a1232 15protected:
5a5a1232 16 ITSDigitsInfo* fInfo;
17
9efc978d 18 Int_t fID; // Module id
19 Int_t fDetID; // Detector id (0~SPD, 1~SDD, 2~SSD)
5a5a1232 20
21 Int_t fLayer;
22 Int_t fLadder;
23 Int_t fDet;
24
25 Float_t fDx;
26 Float_t fDz;
27 Float_t fDy;
28
9c8221e9 29 static Bool_t fgStaticInitDone;
30
5a5a1232 31public:
9efc978d 32 ITSModule(const Text_t* n="ITSModule", const Text_t* t=0);
9c8221e9 33 ITSModule(Int_t gid, ITSDigitsInfo* info);
5a5a1232 34 virtual ~ITSModule();
35
9c8221e9 36 static void InitStatics(ITSDigitsInfo* info);
37
9efc978d 38 ITSDigitsInfo* GetDigitsInfo() const { return fInfo; }
39 void SetDigitsInfo(ITSDigitsInfo* info);
97e1e1bc 40
41 Int_t GetSubDetID() const { return fDetID; }
9efc978d 42
43 Int_t GetID() const { return fID; }
97e1e1bc 44 void SetID(Int_t gid, Bool_t tran=kTRUE);
5a5a1232 45
97e1e1bc 46 virtual void LoadQuads();
47 void SetTrans();
4953f7b9 48
ffa36681 49 virtual void QuadSelected(Int_t idx);
50
5a5a1232 51 virtual void Print(Option_t* opt="") const;
52
9efc978d 53 static Reve::FrameBox* fgSPDFrameBox;
54 static Reve::FrameBox* fgSDDFrameBox;
55 static Reve::FrameBox* fgSSDFrameBox;
5a5a1232 56
9efc978d 57 static Reve::RGBAPalette* fgSPDPalette;
58 static Reve::RGBAPalette* fgSDDPalette;
59 static Reve::RGBAPalette* fgSSDPalette;
5a5a1232 60
61 ClassDef(ITSModule, 1);
9efc978d 62};
63
5a5a1232 64}
9efc978d 65
5a5a1232 66#endif