]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/ITSModule.h
Add getter for fValueIsColor.
[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   void GetFrameDimensions(Float_t& x, Float_t& y, Float_t& z){ 
48     x=fDx; y =fDy; z=fDz;}
49
50   virtual void QuadSelected(Int_t idx);
51
52   virtual void Print(Option_t* opt="") const;
53
54   static Reve::FrameBox* fgSPDFrameBox;
55   static Reve::FrameBox* fgSDDFrameBox;
56   static Reve::FrameBox* fgSSDFrameBox;
57
58   static Reve::RGBAPalette* fgSPDPalette;
59   static Reve::RGBAPalette* fgSDDPalette;
60   static Reve::RGBAPalette* fgSSDPalette;
61
62   ClassDef(ITSModule, 1);
63 };
64
65 }
66
67 #endif