]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIT0RECONSTRUCTOR_H | |
2 | #define ALIT0RECONSTRUCTOR_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | /******************************************************************** | |
8 | * header class T0 reconstruction | |
9 | * Alla Maevskaya INR RAS alla@inr.ru * | |
10 | * Alla.Maevskaya@cern.ch | |
11 | *******************************************************************/ | |
12 | ||
13 | #include "AliReconstructor.h" | |
14 | #include "AliT0Parameters.h" | |
15 | #include "AliT0Calibrator.h" | |
16 | #include "AliT0RecoParam.h" | |
17 | #include "AliESDTZEROfriend.h" | |
18 | ||
19 | class AliT0Reconstructor: public AliReconstructor { | |
20 | public: | |
21 | AliT0Reconstructor(); | |
22 | virtual ~AliT0Reconstructor() {}; | |
23 | ||
24 | virtual void Reconstruct(TTree* fdigits, TTree * frecpoints) const; | |
25 | virtual void Reconstruct(AliRawReader*rawReader , TTree* recTree) const; | |
26 | ||
27 | virtual void FillESD( AliRawReader*/*rawReader*/, TTree*clustersTree, AliESDEvent*esd ) const | |
28 | {FillESD((TTree*)NULL,clustersTree,esd);} | |
29 | virtual void FillESD( TTree* digitsTree, TTree*clustersTree, AliESDEvent*esd ) const; | |
30 | ||
31 | virtual Bool_t HasDigitConversion() const {return kFALSE;} | |
32 | static const AliT0RecoParam* GetRecoParam() | |
33 | { return dynamic_cast<const AliT0RecoParam*>(AliReconstructor::GetRecoParam(11)); } // getting RecoParam obj | |
34 | ||
35 | ||
36 | protected: | |
37 | Float_t fdZonA; // Zideal - Zreal side A | |
38 | Float_t fdZonC; // Zideal - Zreal side C | |
39 | Float_t fZposition; // vertex position | |
40 | Float_t fTime0vertex[24]; // time position if Zvertex=0 | |
41 | AliT0Parameters *fParam; //pointer to T0 parameters class | |
42 | TObjArray fAmpLEDrec; // amp LED-CFD | |
43 | TObjArray fQTC; // QTC vs #MIPs | |
44 | TObjArray fAmpLED; // LED-CFD vs #MIPs | |
45 | AliT0Calibrator *fCalib; //pointer to T0 Calibrator | |
46 | Float_t fLatencyHPTDC; //latency HPTDC | |
47 | Float_t fLatencyL1; // latency for (T0A+T0C)/2 | |
48 | Float_t fLatencyL1A; // latency for T0A | |
49 | Float_t fLatencyL1C; //latency for T0C | |
50 | AliESDTZEROfriend* fESDTZEROfriend; // ESD friend object | |
51 | ||
52 | private: | |
53 | AliT0Reconstructor( const AliT0Reconstructor&r ); //Not implemented | |
54 | AliT0Reconstructor& operator=(const AliT0Reconstructor&r); //Not implemented | |
55 | ||
56 | ClassDef(AliT0Reconstructor, 5) // class for the T0 reconstruction | |
57 | ||
58 | }; | |
59 | ||
60 | typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility | |
61 | ||
62 | #endif |