]>
Commit | Line | Data |
---|---|---|
d810d0de | 1 | // $Id$ |
2 | // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 | |
3 | ||
4 | /************************************************************************** | |
5 | * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * | |
6 | * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * | |
51346b82 | 7 | * full copyright notice. * |
d810d0de | 8 | **************************************************************************/ |
9 | #ifndef ALIEVE_TOFStrip_H | |
10 | #define ALIEVE_TOFStrip_H | |
11 | ||
12 | #include <TEveQuadSet.h> | |
13 | #include <TEveElement.h> | |
14 | ||
15 | #include <TEveRGBAPalette.h> | |
16 | #include <TEveFrameBox.h> | |
17 | ||
18 | #include <TGeoManager.h> | |
19 | #include <TClonesArray.h> | |
20 | ||
21 | #include <AliTOFGeometry.h> | |
22 | ||
23 | ||
24 | class AliEveTOFStrip : public TEveQuadSet | |
25 | { | |
26 | AliEveTOFStrip(const AliEveTOFStrip&); // Not implemented | |
27 | AliEveTOFStrip& operator=(const AliEveTOFStrip&); // Not implemented | |
28 | ||
29 | private: | |
30 | void LoadQuads(); | |
51346b82 | 31 | |
d810d0de | 32 | protected: |
33 | virtual void InitModule(); | |
34 | virtual void SetTrans(); | |
35 | ||
36 | AliTOFGeometry* fTOFgeometry; | |
37 | ||
38 | TClonesArray *fTOFarray; | |
39 | ||
40 | Int_t fSector; | |
41 | Int_t fPlate; | |
42 | Int_t fStrip; | |
43 | ||
44 | Float_t fDx; | |
45 | Float_t fDz; | |
46 | ||
47 | TGeoManager *fGeoManager; | |
48 | ||
49 | public: | |
50 | AliEveTOFStrip(const Text_t* n="AliEveTOFStrip", const Text_t* t=0); | |
51 | AliEveTOFStrip(TGeoManager *localGeoManager, | |
52 | Int_t nSector, Int_t nPlate, Int_t nStrip); | |
53 | ||
54 | AliEveTOFStrip(TGeoManager *localGeoManager, | |
55 | Int_t nSector, Int_t nPlate, Int_t nStrip, | |
56 | TClonesArray *tofArray); | |
57 | virtual ~AliEveTOFStrip(); | |
58 | ||
59 | static Bool_t fgStaticInitDone; | |
60 | static void InitStatics(); | |
61 | ||
62 | static TEveFrameBox* fgTOFstripFrameBox; | |
63 | ||
64 | static TEveRGBAPalette* fgTOFstripPalette; | |
65 | ||
66 | ClassDef(AliEveTOFStrip, 1); | |
51346b82 | 67 | }; |
d810d0de | 68 | #endif |