]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegmentMaker.h
Improve documentation
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegmentMaker.h
index 0d7f1657a385c899bb25bcf6f99901531424ec6a..ef10a124bf8b123026c28d26512e5e8474592a22 100644 (file)
@@ -1,17 +1,16 @@
-#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 ---
 
@@ -24,7 +23,7 @@
 #include "AliPHOSEmcRecPoint.h"
 #include "AliPHOSPpsdRecPoint.h"
 
-typedef TObjArray TrackSegmentsList ;
+typedef TClonesArray TrackSegmentsList ;
 
 class  AliPHOSTrackSegmentMaker : public TObject {
 
@@ -34,18 +33,18 @@ public:
   
   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