]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSReconstructor.h
Corrected copy constructor and assignment operator, fixed memory leaks (Christian)
[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$
3799bcb5 11 * Revision 1.10 2007/07/11 13:43:30 hristov
12 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
13 *
af885e0f 14 * Revision 1.9 2006/11/15 16:05:03 kharlov
15 * New FillESD() for raw data is added
16 *
dd7ee508 17 * Revision 1.8 2005/05/28 14:19:04 schutz
18 * Compilation warnings fixed by T.P.
19 *
702ab87e 20 */
21
b2a60966 22//_________________________________________________________________________
9a6ec61a 23// Wrapping class for reconstruction
a3dfe79c 24//*--
dfe0be07 25//*-- Author: Yves Schutz (SUBATECH)
26// Reconstruction class. Redesigned from the old AliReconstructionner class and
27// derived from STEER/AliReconstructor.
28//_________________________________________________________________________
d15a28e7 29
30// --- ROOT system ---
31
dfe0be07 32#include "AliReconstructor.h"
7acf6008 33class AliPHOSDigitizer ;
34class AliPHOSClusterizer ;
35class AliPHOSTrackSegmentMaker ;
36class AliPHOSPID ;
37class AliPHOSSDigitizer ;
af885e0f 38class AliESDEvent ;
dd7ee508 39class AliRawReader;
3799bcb5 40class AliPHOSRecoParam;
d15a28e7 41
42// --- Standard library ---
43
44// --- AliRoot header files ---
45
dfe0be07 46class AliPHOSReconstructor : public AliReconstructor {
d15a28e7 47
48public:
49
f444a19f 50 AliPHOSReconstructor() ; //ctor
dfe0be07 51 AliPHOSReconstructor(const AliPHOSReconstructor & rec) : AliReconstructor(rec) {
7acf6008 52 // cpy ctor:
839ffcb3 53 // requested by the Coding Convention
f1611b7c 54 Fatal("cpy ctor", "not implemented") ;
839ffcb3 55 }
0379a13e 56 ~AliPHOSReconstructor() ; //dtor
2e60107f 57 static void SetDebug() { fgDebug = kTRUE ; }
58 static void ResetDebug() { fgDebug = kFALSE ; }
59 static Bool_t Debug() { return fgDebug ; }
23904d16 60 AliTracker *CreateTracker(AliRunLoader* runLoader) const;
702ab87e 61 using AliReconstructor::FillESD;
af885e0f 62 virtual void FillESD(AliRunLoader* runLoader, AliESDEvent* esd) const ;
63 virtual void FillESD(AliRunLoader* runLoader,AliRawReader* rawReader,AliESDEvent* esd) const;
702ab87e 64 using AliReconstructor::Reconstruct;
dfe0be07 65 virtual void Reconstruct(AliRunLoader* runLoader) const ;
3255d660 66 virtual void Reconstruct(AliRunLoader* runLoader, AliRawReader * rawreader) const ;
364de5c6 67
f444a19f 68 AliPHOSReconstructor & operator = (const AliPHOSReconstructor & /*rvalue*/) {
a3dfe79c 69 // assignement operator requested by coding convention but not needed
35293055 70 Fatal("operator =", "not implemented") ;
839ffcb3 71 return *this ;
72 }
73
3799bcb5 74 void SetRecoParamEmc(AliPHOSRecoParam * param){ fgkRecoParamEmc = param;}
75 void SetRecoParamCpv(AliPHOSRecoParam * param){ fgkRecoParamCpv = param;}
76
77 static const AliPHOSRecoParam* GetRecoParamEmc(){ return fgkRecoParamEmc;}
78 static const AliPHOSRecoParam* GetRecoParamCpv(){ return fgkRecoParamCpv;}
79
d15a28e7 80private:
81
2e60107f 82 static Bool_t fgDebug ; //! verbosity controller
3799bcb5 83 static AliPHOSRecoParam* fgkRecoParamEmc; // reconstruction parameters for EMC
84 static AliPHOSRecoParam* fgkRecoParamCpv; // reconstruction parameters for EMC
7acf6008 85
dfe0be07 86 ClassDef(AliPHOSReconstructor,2) // Reconstruction algorithm class (Base Class)
d15a28e7 87
88};
89
f444a19f 90#endif // ALIPHOSRECONSTRUCTOR_H