]>
Commit | Line | Data |
---|---|---|
dc7ca31d | 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 */ | |
dc7ca31d | 5 | |
72e48d95 | 6 | /* $Id$ */ |
7 | /******************************************************************** | |
8 | * header class T0 reconstruction | |
9 | * Alla Maevskaya INR RAS alla@inr.ru * | |
10 | * Alla.Maevskaya@cern.ch | |
11 | *******************************************************************/ | |
f16935f7 | 12 | |
dc7ca31d | 13 | #include "AliReconstructor.h" |
f16935f7 | 14 | #include "AliT0Parameters.h" |
2e6a5ee0 | 15 | #include "AliT0Calibrator.h" |
539b9cb9 | 16 | #include "AliT0RecoParam.h" |
dc7ca31d | 17 | |
18 | class AliT0Reconstructor: public AliReconstructor { | |
e0bba6cc | 19 | public: |
c41ceaac | 20 | AliT0Reconstructor(); |
dc7ca31d | 21 | virtual ~AliT0Reconstructor() {}; |
c41ceaac | 22 | |
d76c31f4 | 23 | virtual void Reconstruct(TTree* fdigits, TTree * frecpoints) const; |
c41ceaac | 24 | virtual void Reconstruct(AliRawReader*rawReader , TTree* recTree) const; |
dc7ca31d | 25 | |
f16935f7 | 26 | virtual void FillESD( AliRawReader*/*rawReader*/, TTree*clustersTree, AliESDEvent*esd ) const |
d76c31f4 | 27 | {FillESD((TTree*)NULL,clustersTree,esd);} |
f16935f7 | 28 | virtual void FillESD( TTree* digitsTree, TTree*clustersTree, AliESDEvent*esd ) const; |
d76c31f4 | 29 | |
f16935f7 | 30 | virtual Bool_t HasDigitConversion() const {return kFALSE;} |
539b9cb9 | 31 | static const AliT0RecoParam* GetRecoParam() |
32 | { return dynamic_cast<const AliT0RecoParam*>(AliReconstructor::GetRecoParam(11)); } // getting RecoParam obj | |
f16935f7 | 33 | |
539b9cb9 | 34 | |
e0bba6cc | 35 | protected: |
f16935f7 | 36 | Float_t fdZonA; // Zideal - Zreal side A |
37 | Float_t fdZonC; // Zideal - Zreal side C | |
38 | Float_t fZposition; // vertex position | |
39 | Float_t fTime0vertex[24]; // time position if Zvertex=0 | |
74adb36a | 40 | AliT0Parameters *fParam; //pointer to T0 parameters class |
41 | TObjArray fAmpLEDrec; // amp LED-CFD | |
c883fdf2 | 42 | TObjArray fQTC; // QTC vs #MIPs |
43 | TObjArray fAmpLED; // LED-CFD vs #MIPs | |
2e6a5ee0 | 44 | AliT0Calibrator *fCalib; //pointer to T0 Calibrator |
dc7ca31d | 45 | |
3abc001d | 46 | private: |
47 | AliT0Reconstructor( const AliT0Reconstructor&r ); //Not implemented | |
48 | AliT0Reconstructor& operator=(const AliT0Reconstructor&r); //Not implemented | |
49 | ||
c555f418 | 50 | ClassDef(AliT0Reconstructor, 5) // class for the T0 reconstruction |
dc7ca31d | 51 | |
52 | }; | |
53 | ||
54 | typedef AliT0Reconstructor AliSTARTReconstructor; // for backward compatibility | |
55 | ||
56 | #endif |