1 #ifndef ALIPHOSTRACKSEGMENTMAKER_H
2 #define ALIPHOSTRACKSEGMENTMAKER_H
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.43 2007/08/28 12:55:08 policheh
12 * Loaders removed from the reconstruction code (C.Cheshkov)
14 * Revision 1.42 2007/08/07 14:12:03 kharlov
15 * Quality assurance added (Yves Schutz)
17 * Revision 1.41 2007/07/11 13:43:30 hristov
18 * New class AliESDEvent, backward compatibility with the old AliESD (Christian)
20 * Revision 1.40 2006/08/29 11:41:19 kharlov
21 * Missing implementation of ctors and = operator are added
23 * Revision 1.39 2006/08/25 16:00:53 kharlov
24 * Compliance with Effective C++AliPHOSHit.cxx
26 * Revision 1.38 2005/05/28 14:19:05 schutz
27 * Compilation warnings fixed by T.P.
31 //_________________________________________________________________________
32 // Algorithm Base class to construct PHOS track segments
33 // Associates EMC and CPV clusters
34 // Unfolds the EMC cluster
36 //*-- Author: Dmitri Peressounko (RRC Kurchatov Institute & SUBATECH)
38 // --- ROOT system ---
42 // --- AliRoot header files ---
43 class AliPHOSGeometry ;
46 class AliPHOSTrackSegmentMaker : public TObject {
50 AliPHOSTrackSegmentMaker();
51 AliPHOSTrackSegmentMaker(AliPHOSGeometry *geom);
52 AliPHOSTrackSegmentMaker(const AliPHOSTrackSegmentMaker & tsmaker) ;
53 virtual ~ AliPHOSTrackSegmentMaker() ;
54 AliPHOSTrackSegmentMaker & operator = (const AliPHOSTrackSegmentMaker & /*rvalue*/) {
55 Fatal("operator =", "not implemented") ; return *this ; }
57 virtual void Clusters2TrackSegments(Option_t *option) = 0;
59 void SetInput(TTree *clustersTree);
61 virtual void Print(const Option_t * = "")const {Warning("Print", "Not Defined" ) ; }
63 void SetESD(AliESDEvent *esd) { fESD = esd; }
65 AliESDEvent *GetESD() const {return fESD; }
67 virtual TClonesArray * GetTrackSegments() const = 0;
71 AliESDEvent * fESD; //! ESD object
72 AliPHOSGeometry *fGeom; //! Pointer to the PHOS geometry
73 TObjArray *fEMCRecPoints; // Array with the EMC clusters
74 TObjArray *fCPVRecPoints; // Array with the CPV clusters
76 ClassDef( AliPHOSTrackSegmentMaker,6) // Algorithm class to make PHOS track segments (Base Class)
79 #endif // ALIPHOSTRACKSEGMENTMAKER_H