]>
Commit | Line | Data |
---|---|---|
f444a19f | 1 | #ifndef ALIPHOSRECONSTRUCTOR_H |
2 | #define ALIPHOSRECONSTRUCTOR_H | |
d15a28e7 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6ad0bfa0 | 6 | /* $Id$ */ |
7 | ||
702ab87e | 8 | /* History of cvs commits: |
9 | * | |
10 | * $Log$ | |
9a2cdbdf | 11 | * Revision 1.11 2007/07/24 17:20:35 policheh |
12 | * Usage of RecoParam objects instead of hardcoded parameters in reconstruction. | |
13 | * (See $ALICE_ROOT/PHOS/macros/BeamTest2006/RawReconstruction.C). | |
14 | * | |
3799bcb5 | 15 | * Revision 1.10 2007/07/11 13:43:30 hristov |
16 | * New class AliESDEvent, backward compatibility with the old AliESD (Christian) | |
17 | * | |
af885e0f | 18 | * Revision 1.9 2006/11/15 16:05:03 kharlov |
19 | * New FillESD() for raw data is added | |
20 | * | |
dd7ee508 | 21 | * Revision 1.8 2005/05/28 14:19:04 schutz |
22 | * Compilation warnings fixed by T.P. | |
23 | * | |
702ab87e | 24 | */ |
25 | ||
b2a60966 | 26 | //_________________________________________________________________________ |
9a6ec61a | 27 | // Wrapping class for reconstruction |
a3dfe79c | 28 | //*-- |
dfe0be07 | 29 | //*-- Author: Yves Schutz (SUBATECH) |
30 | // Reconstruction class. Redesigned from the old AliReconstructionner class and | |
31 | // derived from STEER/AliReconstructor. | |
32 | //_________________________________________________________________________ | |
d15a28e7 | 33 | |
34 | // --- ROOT system --- | |
35 | ||
dfe0be07 | 36 | #include "AliReconstructor.h" |
7acf6008 | 37 | class AliPHOSDigitizer ; |
38 | class AliPHOSClusterizer ; | |
39 | class AliPHOSTrackSegmentMaker ; | |
40 | class AliPHOSPID ; | |
41 | class AliPHOSSDigitizer ; | |
af885e0f | 42 | class AliESDEvent ; |
dd7ee508 | 43 | class AliRawReader; |
3799bcb5 | 44 | class AliPHOSRecoParam; |
9a2cdbdf | 45 | class AliPHOSGeometry; |
d15a28e7 | 46 | |
47 | // --- Standard library --- | |
48 | ||
49 | // --- AliRoot header files --- | |
50 | ||
dfe0be07 | 51 | class AliPHOSReconstructor : public AliReconstructor { |
d15a28e7 | 52 | |
53 | public: | |
54 | ||
f444a19f | 55 | AliPHOSReconstructor() ; //ctor |
9a2cdbdf | 56 | AliPHOSReconstructor(const AliPHOSReconstructor & rec) : |
57 | AliReconstructor(rec), | |
58 | fGeom(rec.fGeom) | |
59 | { | |
7acf6008 | 60 | // cpy ctor: |
839ffcb3 | 61 | // requested by the Coding Convention |
f1611b7c | 62 | Fatal("cpy ctor", "not implemented") ; |
839ffcb3 | 63 | } |
0379a13e | 64 | ~AliPHOSReconstructor() ; //dtor |
2e60107f | 65 | static void SetDebug() { fgDebug = kTRUE ; } |
66 | static void ResetDebug() { fgDebug = kFALSE ; } | |
67 | static Bool_t Debug() { return fgDebug ; } | |
23904d16 | 68 | AliTracker *CreateTracker(AliRunLoader* runLoader) const; |
702ab87e | 69 | using AliReconstructor::FillESD; |
9a2cdbdf | 70 | virtual void FillESD(TTree* digitsTree, TTree* clustersTree, |
71 | AliESDEvent* esd) const; | |
702ab87e | 72 | using AliReconstructor::Reconstruct; |
9a2cdbdf | 73 | virtual Bool_t HasLocalReconstruction() const {return kTRUE;}; |
74 | virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const; | |
75 | // virtual void Reconstruct(AliRunLoader* runLoader) const ; | |
76 | // virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader * rawreader) const ; | |
77 | ||
78 | virtual Bool_t HasDigitConversion() const {return kTRUE;}; | |
79 | virtual void ConvertDigits(AliRawReader* /*rawReader*/, TTree* /*digitsTree*/) const; | |
364de5c6 | 80 | |
f444a19f | 81 | AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) { |
a3dfe79c | 82 | // assignement operator requested by coding convention but not needed |
35293055 | 83 | Fatal("operator =", "not implemented") ; |
839ffcb3 | 84 | return *this ; |
85 | } | |
86 | ||
3799bcb5 | 87 | void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;} |
88 | void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;} | |
89 | ||
90 | static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;} | |
91 | static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;} | |
92 | ||
d15a28e7 | 93 | private: |
94 | ||
2e60107f | 95 | static Bool_t fgDebug ; //! verbosity controller |
3799bcb5 | 96 | static AliPHOSRecoParam* fgkRecoParamEmc; // reconstruction parameters for EMC |
97 | static AliPHOSRecoParam* fgkRecoParamCpv; // reconstruction parameters for EMC | |
9a2cdbdf | 98 | AliPHOSGeometry* fGeom; // pointer to the PHOS geometry |
7acf6008 | 99 | |
9a2cdbdf | 100 | ClassDef(AliPHOSReconstructor,3) // PHOS Reconstruction class |
d15a28e7 | 101 | |
102 | }; | |
103 | ||
f444a19f | 104 | #endif // ALIPHOSRECONSTRUCTOR_H |