]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSPID.h
Loaders removed from the reconstruction code (C.Cheshkov)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPID.h
CommitLineData
26d4b141 1#ifndef ALIPHOSPID_H
2#define ALIPHOSPID_H
6ad0bfa0 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
702ab87e 8/* History of cvs commits:
9 *
10 * $Log$
9a2cdbdf 11 * Revision 1.40 2007/08/07 14:12:03 kharlov
12 * Quality assurance added (Yves Schutz)
13 *
ddd1a39c 14 * Revision 1.39 2007/07/11 13:43:30 hristov
15 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
16 *
af885e0f 17 * Revision 1.38 2007/04/01 15:40:15 kharlov
18 * Correction for actual vertex position implemented
19 *
407d15b3 20 * Revision 1.37 2006/08/29 11:41:19 kharlov
21 * Missing implementation of ctors and = operator are added
22 *
f1133801 23 * Revision 1.36 2006/08/25 16:00:53 kharlov
24 * Compliance with Effective C++AliPHOSHit.cxx
25 *
e2429969 26 * Revision 1.35 2005/05/28 14:19:04 schutz
27 * Compilation warnings fixed by T.P.
28 *
702ab87e 29 */
30
b2a60966 31//_________________________________________________________________________
32// Algorithm class for the identification of particles detected in PHOS
33// base class
2f04ed65 34// of identified particles
b2a60966 35//*-- Author: Yves Schutz (SUBATECH)
6ad0bfa0 36
37// --- ROOT system ---
9a2cdbdf 38#include "TObject.h"
39class TTree;
88cb7938 40
6ad0bfa0 41// --- Standard library ---
42
43// --- AliRoot header files ---
af885e0f 44class AliESDEvent ;
7acf6008 45class AliPHOSGeometry ;
46class AliPHOSClusterizer ;
47class AliPHOSTrackSegmentMaker ;
ddd1a39c 48class AliPHOSQualAssDataMaker ;
6ad0bfa0 49
9a2cdbdf 50class AliPHOSPID : public TObject {
6ad0bfa0 51
79bf6a2f 52 public:
6ad0bfa0 53
0ab4493e 54 AliPHOSPID() ; // ctor
9a2cdbdf 55 AliPHOSPID (AliPHOSGeometry *geom);
e2429969 56 AliPHOSPID(const AliPHOSPID & pid) ;
26d4b141 57 virtual ~AliPHOSPID() ; // dtor
f1133801 58 AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) {
59 Fatal("operator =", "not implemented") ; return *this ; }
6ad0bfa0 60
9a2cdbdf 61 virtual void TrackSegments2RecParticles(Option_t * option) = 0;
e2429969 62
9a2cdbdf 63 void SetInput(TTree *clustersTree, TClonesArray *trackSegments);
64 TClonesArray* GetRecParticles() const { return fRecParticles; }
e2429969 65
9a2cdbdf 66 virtual void Print(const Option_t * = "") const = 0;
e2429969 67
af885e0f 68 void SetESD(AliESDEvent *esd) { fESD = esd; }
407d15b3 69
9a2cdbdf 70 virtual const char * Version() const = 0;
71
ddd1a39c 72 AliPHOSQualAssDataMaker * GetQualAssDataMaker() const { return fQADM ; }
79bf6a2f 73
8d0f3f77 74protected:
ddd1a39c 75
9a2cdbdf 76 AliPHOSGeometry * fGeom; //! Pointer to PHOS Geometry
ddd1a39c 77 AliESDEvent * fESD; //! ESD object
6ad0bfa0 78
9a2cdbdf 79 TObjArray *fEMCRecPoints; //!Array with EMC clusters
80 TObjArray *fCPVRecPoints; //!Array with CPV clusters
81
82 TClonesArray *fTrackSegments; //!Array with found track segments
83 TClonesArray *fRecParticles; //!Array with reconstructed particles (PID)
84
e957fea8 85private:
9a2cdbdf 86
ddd1a39c 87 AliPHOSQualAssDataMaker * fQADM ; //!Quality Assurance Data Maker
e957fea8 88
9a2cdbdf 89 ClassDef(AliPHOSPID,6) // Particle Identifier algorithm (base class)
6ad0bfa0 90
91} ;
92
26d4b141 93#endif // ALIPHOSPID_H