]>
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 | **************************************************************************/ |
a15e6d7d | 9 | #ifndef AliEveT0Module_H |
10 | #define AliEveT0Module_H | |
03916485 | 11 | |
12 | ////////////////////////////////////////////////////////////////////////// | |
13 | // // | |
14 | // The main AliEVE drawing module for the T0 detector // | |
15 | // // | |
16 | ////////////////////////////////////////////////////////////////////////// | |
17 | ||
84aff7a4 | 18 | #include <TEveQuadSet.h> |
03916485 | 19 | |
a15e6d7d | 20 | class AliT0digit; |
6c841fa2 | 21 | class AliRawReader; |
a15e6d7d | 22 | class AliT0RawReader; |
23 | class TTree; | |
51346b82 | 24 | |
d810d0de | 25 | class AliEveT0Module : public TEveQuadSet |
03916485 | 26 | { |
03916485 | 27 | public: |
249bb876 | 28 | AliEveT0Module(const Text_t* n="AliEveT0Module", Int_t sigType=0, |
29 | AliT0digit *digits=0, AliT0RawReader *start=0, | |
30 | Double_t zvertex=0); | |
a15e6d7d | 31 | virtual ~AliEveT0Module() {} |
03916485 | 32 | |
32e219c2 | 33 | virtual void DigitSelected(Int_t idx); |
03916485 | 34 | |
6c841fa2 | 35 | void PrintEventInfo(); // *MENU* |
36 | ||
37 | static void LoadRaw(AliRawReader* reader); | |
03916485 | 38 | |
32e219c2 | 39 | static void MakeModules(AliT0digit *digits); |
40 | ||
03916485 | 41 | protected: |
32e219c2 | 42 | Int_t fSigType; // 0 ~ ADC, 1 ~ TDC |
a15e6d7d | 43 | AliT0digit *fDigits; // Digits. |
44 | AliT0RawReader *fStart; // Reader. | |
03916485 | 45 | |
249bb876 | 46 | Double_t fZVertex; // Reconstructed vertex position. |
47 | ||
4b456ebb | 48 | private: |
49 | AliEveT0Module(const AliEveT0Module&); | |
50 | AliEveT0Module& operator=(const AliEveT0Module&); | |
51 | ||
52 | ClassDef(AliEveT0Module, 0); // Representation of a T0 module. | |
03916485 | 53 | }; |
54 | ||
03916485 | 55 | #endif |