]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIEVE_TOFStrip_H | |
2 | #define ALIEVE_TOFStrip_H | |
3 | ||
4 | #include <TEveQuadSet.h> | |
5 | #include <TEveElement.h> | |
6 | ||
7 | #include <TEveRGBAPalette.h> | |
8 | #include <TEveFrameBox.h> | |
9 | ||
10 | #include <TGeoManager.h> | |
11 | #include <TClonesArray.h> | |
12 | ||
13 | #include <AliTOFGeometry.h> | |
14 | ||
15 | namespace Alieve { | |
16 | ||
17 | class TOFStrip : public TEveQuadSet | |
18 | { | |
19 | TOFStrip(const TOFStrip&); // Not implemented | |
20 | TOFStrip& operator=(const TOFStrip&); // Not implemented | |
21 | ||
22 | private: | |
23 | void LoadQuads(); | |
24 | ||
25 | protected: | |
26 | virtual void InitModule(); | |
27 | virtual void SetTrans(); | |
28 | ||
29 | AliTOFGeometry* fTOFgeometry; | |
30 | ||
31 | TClonesArray *fTOFarray; | |
32 | ||
33 | Int_t fSector; | |
34 | Int_t fPlate; | |
35 | Int_t fStrip; | |
36 | ||
37 | Float_t fDx; | |
38 | Float_t fDz; | |
39 | ||
40 | TGeoManager *fGeoManager; | |
41 | ||
42 | public: | |
43 | TOFStrip(const Text_t* n="TOFStrip", const Text_t* t=0); | |
44 | TOFStrip(TGeoManager *localGeoManager, | |
45 | Int_t nSector, Int_t nPlate, Int_t nStrip); | |
46 | ||
47 | TOFStrip(TGeoManager *localGeoManager, | |
48 | Int_t nSector, Int_t nPlate, Int_t nStrip, | |
49 | TClonesArray *tofArray); | |
50 | virtual ~TOFStrip(); | |
51 | ||
52 | static Bool_t fgStaticInitDone; | |
53 | static void InitStatics(); | |
54 | ||
55 | static TEveFrameBox* fgTOFstripFrameBox; | |
56 | ||
57 | static TEveRGBAPalette* fgTOFstripPalette; | |
58 | ||
59 | ClassDef(TOFStrip, 1); | |
60 | }; | |
61 | } | |
62 | #endif |