3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 /* History of cvs commits:
11 * Revision 1.41 2007/08/28 12:55:08 policheh
12 * Loaders removed from the reconstruction code (C.Cheshkov)
14 * Revision 1.40 2007/08/07 14:12:03 kharlov
15 * Quality assurance added (Yves Schutz)
17 * Revision 1.39 2007/07/11 13:43:30 hristov
18 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
20 * Revision 1.38 2007/04/01 15:40:15 kharlov
21 * Correction for actual vertex position implemented
23 * Revision 1.37 2006/08/29 11:41:19 kharlov
24 * Missing implementation of ctors and = operator are added
26 * Revision 1.36 2006/08/25 16:00:53 kharlov
27 * Compliance with Effective C++AliPHOSHit.cxx
29 * Revision 1.35 2005/05/28 14:19:04 schutz
30 * Compilation warnings fixed by T.P.
34 //_________________________________________________________________________
35 // Algorithm class for the identification of particles detected in PHOS
37 // of identified particles
38 //*-- Author: Yves Schutz (SUBATECH)
40 // --- ROOT system ---
44 // --- Standard library ---
46 // --- AliRoot header files ---
48 class AliPHOSGeometry ;
49 class AliPHOSClusterizer ;
50 class AliPHOSTrackSegmentMaker ;
52 class AliPHOSPID : public TObject {
56 AliPHOSPID() ; // ctor
57 AliPHOSPID (AliPHOSGeometry *geom);
58 AliPHOSPID(const AliPHOSPID & pid) ;
59 virtual ~AliPHOSPID() ; // dtor
60 AliPHOSPID & operator = (const AliPHOSPID & /*rvalue*/) {
61 Fatal("operator =", "not implemented") ; return *this ; }
63 virtual void TrackSegments2RecParticles(Option_t * option) = 0;
65 void SetInput(TTree *clustersTree, TClonesArray *trackSegments);
66 TClonesArray* GetRecParticles() const { return fRecParticles; }
68 virtual void Print(const Option_t * = "") const = 0;
70 void SetESD(AliESDEvent *esd) { fESD = esd; }
72 virtual const char * Version() const = 0;
76 AliPHOSGeometry * fGeom; //! Pointer to PHOS Geometry
77 AliESDEvent * fESD; //! ESD object
79 TObjArray *fEMCRecPoints; //!Array with EMC clusters
80 TObjArray *fCPVRecPoints; //!Array with CPV clusters
82 TClonesArray *fTrackSegments; //!Array with found track segments
83 TClonesArray *fRecParticles; //!Array with reconstructed particles (PID)
87 ClassDef(AliPHOSPID,6) // Particle Identifier algorithm (base class)
91 #endif // ALIPHOSPID_H