]>
Commit | Line | Data |
---|---|---|
34ea2f0a | 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 | ||
27db2029 | 11 | class MUONModule : public Reve::RenderElement, |
12 | public Reve::QuadSet | |
34ea2f0a | 13 | { |
265ecb21 | 14 | MUONModule(const MUONModule&); // Not implemented |
15 | MUONModule& operator=(const MUONModule&); // Not implemented | |
34ea2f0a | 16 | |
17 | public: | |
18 | ||
27db2029 | 19 | MUONModule(const Text_t* n="MUONModule", const Text_t* t=0, Color_t col=2); |
34ea2f0a | 20 | MUONModule(Int_t id, Int_t cath, MUONDigitsInfo* info, Bool_t dig, Bool_t clus, Color_t col=2); |
265ecb21 | 21 | virtual ~MUONModule() {} |
34ea2f0a | 22 | |
23 | virtual void SetID(Int_t id, Int_t cath); | |
24 | ||
25 | private: | |
26 | ||
34ea2f0a | 27 | void LoadQuadsChambers(Int_t chamber1, Int_t chamber2, Int_t delElemId = -1, Int_t cat = -1); |
28 | void LoadQuadsDigits(); | |
29 | void LoadQuadsClusters(); | |
30 | void LoadQuadsTracks(Int_t id); | |
31 | ||
32 | protected: | |
33 | ||
34 | virtual void InitModule(); | |
35 | virtual void SetTrans(); | |
36 | ||
37 | MUONDigitsInfo* fInfo; | |
38 | ||
39 | Int_t fID; | |
40 | Int_t fCath; | |
41 | ||
42 | Bool_t fShowDigits; | |
43 | Bool_t fShowClusters; | |
44 | Bool_t fShowTracks; | |
45 | ||
46 | Color_t fFrameCol; | |
47 | ||
48 | Int_t fDetElemId; | |
49 | ||
50 | ClassDef(MUONModule,1); | |
51 | ||
52 | }; | |
53 | } | |
54 | ||
55 | #endif |