]>
Commit | Line | Data |
---|---|---|
03916485 | 1 | #ifndef ALIEVE_T0Module_H |
2 | #define ALIEVE_T0Module_H | |
3 | ||
4 | ////////////////////////////////////////////////////////////////////////// | |
5 | // // | |
6 | // The main AliEVE drawing module for the T0 detector // | |
7 | // // | |
8 | ////////////////////////////////////////////////////////////////////////// | |
9 | ||
10 | ||
11 | #include <Reve/QuadSet.h> | |
12 | #include <AliT0digit.h> | |
13 | #include <AliT0RawReader.h> | |
14 | ||
15 | namespace Alieve { | |
16 | ||
17 | class T0Module : public Reve::QuadSet | |
18 | { | |
19 | ||
20 | T0Module(const T0Module&); | |
21 | T0Module& operator=(const T0Module&); | |
22 | ||
23 | public: | |
24 | ||
25 | T0Module(const Text_t* n="T0Module", Int_t sigType=0, AliT0digit *digits=0,AliT0RawReader *start=0); | |
26 | virtual ~T0Module(); | |
27 | ||
32e219c2 | 28 | virtual void DigitSelected(Int_t idx); |
03916485 | 29 | |
03916485 | 30 | void LoadRaw(TString fileName, Int_t ievt); |
31 | ||
32e219c2 | 32 | static void MakeModules(AliT0digit *digits); |
33 | ||
03916485 | 34 | protected: |
32e219c2 | 35 | Int_t fSigType; // 0 ~ ADC, 1 ~ TDC |
36 | AliT0digit *fDigits; | |
37 | AliT0RawReader *fStart; | |
03916485 | 38 | |
32e219c2 | 39 | ClassDef(T0Module,1); |
03916485 | 40 | }; |
41 | ||
42 | /* | |
43 | class T0ModuleTDC : public T0Module | |
44 | { | |
45 | public: | |
46 | // constructor | |
47 | ||
48 | virtual void QuadSelected(Int_t idx); | |
49 | }; | |
50 | */ | |
51 | ||
52 | } | |
53 | #endif |