]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/Alieve/MUONModule.h
New files for MUON visualization by Bogdan Vulpescu.
[u/mrichter/AliRoot.git] / EVE / Alieve / MUONModule.h
1 #ifndef ALIEVE_MUONModule_H
2 #define ALIEVE_MUONModule_H
3
4 #include <Reve/QuadSet.h>
5 #include <Reve/RenderElement.h>
6
7 #include <Alieve/MUONDigitsInfo.h>
8
9 namespace Alieve {
10
11 class MUONModule : public Reve::QuadSet, public Reve::RenderElement
12 {
13
14 public:
15
16   MUONModule(const Text_t* n="MUONModule", const Text_t* t=0, Color_t col=2) : QuadSet(n, t), Reve::RenderElement(fFrameCol), fFrameCol(col)
17         { Init(); }
18   MUONModule(Int_t id, Int_t cath, MUONDigitsInfo* info, Bool_t dig, Bool_t clus, Color_t col=2);
19   virtual ~MUONModule();
20
21   virtual void SetID(Int_t id, Int_t cath);
22
23 private:
24     
25   void Init();
26   void LoadQuadsChambers(Int_t chamber1, Int_t chamber2, Int_t delElemId = -1, Int_t cat = -1);
27   void LoadQuadsDigits();
28   void LoadQuadsClusters();
29   void LoadQuadsTracks(Int_t id);
30
31 protected:
32
33   virtual void InitModule();
34   virtual void SetTrans();
35  
36   MUONDigitsInfo* fInfo; 
37   
38   Int_t       fID;
39   Int_t       fCath;
40  
41   Bool_t      fShowDigits;
42   Bool_t      fShowClusters;
43   Bool_t      fShowTracks;
44
45   Color_t     fFrameCol;
46
47   Int_t       fDetElemId;
48
49   ClassDef(MUONModule,1);
50
51 };
52 }
53
54 #endif