]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/ITSModule.h
Use new naming conventions from QuadSet; increase x-width of SDD digits.
[u/mrichter/AliRoot.git] / EVE / Alieve / ITSModule.h
1 #ifndef ALIEVE_ITSModule_H
2 #define ALIEVE_ITSModule_H
3
4 #include <Reve/QuadSet.h>
5
6 #include <Alieve/ITSDigitsInfo.h>
7
8 namespace Alieve {
9
10 class ITSModule : public Reve::QuadSet
11 {
12   ITSModule(const ITSModule&);            // Not implemented
13   ITSModule& operator=(const ITSModule&); // Not implemented
14
15 protected:
16   void LoadQuads();
17   void SetTrans();
18
19   ITSDigitsInfo* fInfo; 
20
21   Int_t       fID;    // Module   id
22   Int_t       fDetID; // Detector id (0~SPD, 1~SDD, 2~SSD)
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
32   static Bool_t fgStaticInitDone;
33
34 public:
35   ITSModule(const Text_t* n="ITSModule", const Text_t* t=0);
36   ITSModule(Int_t gid, ITSDigitsInfo* info);
37   virtual ~ITSModule();
38
39   static void InitStatics(ITSDigitsInfo* info);
40
41   ITSDigitsInfo* GetDigitsInfo() const { return fInfo; }
42   void SetDigitsInfo(ITSDigitsInfo* info);
43
44   Int_t GetID() const { return fID; }
45   void  SetID(Int_t gid);
46
47   virtual void Print(Option_t* opt="") const;
48
49   static Reve::FrameBox* fgSPDFrameBox;
50   static Reve::FrameBox* fgSDDFrameBox;
51   static Reve::FrameBox* fgSSDFrameBox;
52
53   static Reve::RGBAPalette* fgSPDPalette;
54   static Reve::RGBAPalette* fgSDDPalette;
55   static Reve::RGBAPalette* fgSSDPalette;
56
57   ClassDef(ITSModule, 1);
58 };
59
60 }
61
62 #endif