]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSReconstructor.h
correct file filters for the doc generation
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructor.h
CommitLineData
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$
e68222ce 11 * Revision 1.14 2007/09/26 14:22:18 cvetan
12 * Important changes to the reconstructor classes. Complete elimination of the run-loaders, which are now steered only from AliReconstruction. Removal of the corresponding Reconstruct() and FillESD() methods.
13 *
d76c31f4 14 * Revision 1.13 2007/08/30 10:40:27 cvetan
15 * Minor
16 *
64c8ff4e 17 * Revision 1.12 2007/08/28 12:55:08 policheh
18 * Loaders removed from the reconstruction code (C.Cheshkov)
19 *
9a2cdbdf 20 * Revision 1.11 2007/07/24 17:20:35 policheh
21 * Usage of RecoParam objects instead of hardcoded parameters in reconstruction.
22 * (See $ALICE_ROOT/PHOS/macros/BeamTest2006/RawReconstruction.C).
23 *
3799bcb5 24 * Revision 1.10 2007/07/11 13:43:30 hristov
25 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
26 *
af885e0f 27 * Revision 1.9 2006/11/15 16:05:03 kharlov
28 * New FillESD() for raw data is added
29 *
dd7ee508 30 * Revision 1.8 2005/05/28 14:19:04 schutz
31 * Compilation warnings fixed by T.P.
32 *
702ab87e 33 */
34
b2a60966 35//_________________________________________________________________________
9a6ec61a 36// Wrapping class for reconstruction
e68222ce 37//--
38//-- Author: Yves Schutz (SUBATECH)
dfe0be07 39// Reconstruction class. Redesigned from the old AliReconstructionner class and
40// derived from STEER/AliReconstructor.
41//_________________________________________________________________________
d15a28e7 42
43// --- ROOT system ---
44
dfe0be07 45#include "AliReconstructor.h"
7acf6008 46class AliPHOSDigitizer ;
47class AliPHOSClusterizer ;
48class AliPHOSTrackSegmentMaker ;
49class AliPHOSPID ;
50class AliPHOSSDigitizer ;
af885e0f 51class AliESDEvent ;
dd7ee508 52class AliRawReader;
3799bcb5 53class AliPHOSRecoParam;
9a2cdbdf 54class AliPHOSGeometry;
d15a28e7 55
56// --- Standard library ---
57
58// --- AliRoot header files ---
59
dfe0be07 60class AliPHOSReconstructor : public AliReconstructor {
d15a28e7 61
62public:
63
f444a19f 64 AliPHOSReconstructor() ; //ctor
9a2cdbdf 65 AliPHOSReconstructor(const AliPHOSReconstructor & rec) :
66 AliReconstructor(rec),
67 fGeom(rec.fGeom)
68 {
7acf6008 69 // cpy ctor:
839ffcb3 70 // requested by the Coding Convention
f1611b7c 71 Fatal("cpy ctor", "not implemented") ;
839ffcb3 72 }
e68222ce 73 virtual ~AliPHOSReconstructor() ; //dtor
74
2e60107f 75 static void SetDebug() { fgDebug = kTRUE ; }
76 static void ResetDebug() { fgDebug = kFALSE ; }
77 static Bool_t Debug() { return fgDebug ; }
d76c31f4 78 AliTracker *CreateTracker() const;
702ab87e 79 using AliReconstructor::FillESD;
9a2cdbdf 80 virtual void FillESD(TTree* digitsTree, TTree* clustersTree,
81 AliESDEvent* esd) const;
702ab87e 82 using AliReconstructor::Reconstruct;
9a2cdbdf 83 virtual void Reconstruct(TTree* digitsTree, TTree* clustersTree) const;
9a2cdbdf 84
85 virtual Bool_t HasDigitConversion() const {return kTRUE;};
64c8ff4e 86 virtual void ConvertDigits(AliRawReader* rawReader, TTree* digitsTree) const;
364de5c6 87
f444a19f 88 AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) {
a3dfe79c 89 // assignement operator requested by coding convention but not needed
35293055 90 Fatal("operator =", "not implemented") ;
839ffcb3 91 return *this ;
92 }
93
3799bcb5 94 void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
95 void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
96
97 static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;}
98 static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;}
99
d15a28e7 100private:
101
2e60107f 102 static Bool_t fgDebug ; //! verbosity controller
e68222ce 103 static AliPHOSRecoParam *fgkRecoParamEmc; // reconstruction parameters for EMC
104 static AliPHOSRecoParam *fgkRecoParamCpv; // reconstruction parameters for EMC
105 AliPHOSGeometry *fGeom; // pointer to the PHOS geometry
7acf6008 106
d76c31f4 107 ClassDef(AliPHOSReconstructor,4) // PHOS Reconstruction class
d15a28e7 108
109};
110
f444a19f 111#endif // ALIPHOSRECONSTRUCTOR_H