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