]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/ITSModule.h
Put black-listed classes out of Alieve namespace.
[u/mrichter/AliRoot.git] / EVE / Alieve / ITSModule.h
1 #ifndef ALIEVE_ITSModule_H
2 #define ALIEVE_ITSModule_H
3
4 #include <TEveQuadSet.h>
5
6 #include <Alieve/ITSDigitsInfo.h>
7
8 namespace Alieve {
9
10 class ITSModule : public TEveQuadSet
11 {
12   ITSModule(const ITSModule&);            // Not implemented
13   ITSModule& operator=(const ITSModule&); // Not implemented
14
15 protected:
16   ITSDigitsInfo* fInfo; 
17
18   Int_t       fID;    // Module   id
19   Int_t       fDetID; // Detector id (0~SPD, 1~SDD, 2~SSD)
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
29   static Bool_t fgStaticInitDone;
30
31 public:
32   ITSModule(const Text_t* n="ITSModule", const Text_t* t=0);
33   ITSModule(Int_t gid, ITSDigitsInfo* info);
34   virtual ~ITSModule();
35
36   static void InitStatics(ITSDigitsInfo* info);
37
38   ITSDigitsInfo* GetDigitsInfo() const { return fInfo; }
39   void SetDigitsInfo(ITSDigitsInfo* info);
40   
41   Int_t GetSubDetID() const { return fDetID; }
42
43   Int_t GetID() const { return fID; }
44   void  SetID(Int_t gid, Bool_t tran=kTRUE);
45
46   virtual void LoadQuads();
47   void SetTrans();
48
49   virtual void DigitSelected(Int_t idx);
50
51   virtual void Print(Option_t* opt="") const;
52
53   static TEveFrameBox* fgSPDFrameBox;
54   static TEveFrameBox* fgSDDFrameBox;
55   static TEveFrameBox* fgSSDFrameBox;
56
57   static TEveRGBAPalette* fgSPDPalette;
58   static TEveRGBAPalette* fgSDDPalette;
59   static TEveRGBAPalette* fgSSDPalette;
60
61   ClassDef(ITSModule, 1);
62 };
63
64 }
65
66 #endif