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