-#ifndef ALIPHOSSUBTRACKER_H
-#define ALIPHOSSUBTRACKER_H
+#ifndef ALIPHOSTRACKSEGMENTMAKER_H
+#define ALIPHOSTRACKSEGMENTMAKER_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
-///////////////////////////////////////////////////
-// Subtrackin class for PHOS //
-// Version SUBATECH //
-// Author Dmitri Peressounko RRC Ki //
-// comment: finds pairs of clusters EMC+PPSD //
-// performs unfolding. //
-///////////////////////////////////////////////////
+//_________________________________________________________________________
+// Algorithm Base class to construct PHOS track segments
+// Associates EMC and PPSD clusters
+// Unfolds the EMC cluster
+//
+//*-- Author: Dmitri Peressounko (RRC Ki & SUBATECH)
// --- ROOT system ---
#include "AliPHOSEmcRecPoint.h"
#include "AliPHOSPpsdRecPoint.h"
-typedef TObjArray TrackSegmentsList ;
+typedef TClonesArray TrackSegmentsList ;
class AliPHOSTrackSegmentMaker : public TObject {
virtual ~ AliPHOSTrackSegmentMaker(){} // dtor
- virtual void MakeTrackSegments(DigitsList * DL, RecPointsList * emcl, RecPointsList * ppsdl, TrackSegmentsList * trsl ) = 0 ;
+ virtual void MakeTrackSegments(DigitsList * DL, RecPointsList * emcl, RecPointsList * ppsdl, TrackSegmentsList * trsl ) = 0 ;
// does the job
- virtual void SetMaxEmcPpsdDistance(Float_t r){ fR0 = r ;}
-
-private:
-
- Float_t fR0 ;
-
-public:
-
-ClassDef( AliPHOSTrackSegmentMaker,1) // subtracking implementation , version 1
+ virtual void SetMaxEmcPpsdDistance(Float_t r) = 0 ;
+ virtual void SetUnfoldFlag() = 0 ;
+ virtual void UnsetUnfoldFlag() = 0 ;
+
+ protected:
+
+ Int_t fNTrackSegments ; // number of track segments found
+
+ ClassDef( AliPHOSTrackSegmentMaker,1) // Algorithm class to make PHOS track segments (Base Class)
};
-#endif // AliPHOSSUBTRACKER_H
+#endif // ALIPHOSTRACKSEGMENTMAKER_H