1 #ifndef ALIEVE_ITSModule_H
2 #define ALIEVE_ITSModule_H
4 #include <Reve/QuadSet.h>
6 #include <Alieve/ITSDigitsInfo.h>
10 class ITSModule : public Reve::QuadSet
12 ITSModule(const ITSModule&); // Not implemented
13 ITSModule& operator=(const ITSModule&); // Not implemented
21 Int_t fID; // Module id
22 Int_t fDetID; // Detector id (0~SPD, 1~SDD, 2~SSD)
32 static Bool_t fgStaticInitDone;
35 ITSModule(const Text_t* n="ITSModule", const Text_t* t=0);
36 ITSModule(Int_t gid, ITSDigitsInfo* info);
39 static void InitStatics(ITSDigitsInfo* info);
41 ITSDigitsInfo* GetDigitsInfo() const { return fInfo; }
42 void SetDigitsInfo(ITSDigitsInfo* info);
44 Int_t GetID() const { return fID; }
45 void SetID(Int_t gid);
47 void GetFrameDimensions(Float_t& x, Float_t& y, Float_t& z){
48 x=fDx; y =fDy; z=fDz;}
50 virtual void QuadSelected(Int_t idx);
52 virtual void Print(Option_t* opt="") const;
54 static Reve::FrameBox* fgSPDFrameBox;
55 static Reve::FrameBox* fgSDDFrameBox;
56 static Reve::FrameBox* fgSSDFrameBox;
58 static Reve::RGBAPalette* fgSPDPalette;
59 static Reve::RGBAPalette* fgSDDPalette;
60 static Reve::RGBAPalette* fgSSDPalette;
62 ClassDef(ITSModule, 1);