Put back the two bellows in front of the absorber.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructioner.h
index 9c88696..45934e9 100644 (file)
@@ -3,19 +3,21 @@
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
 
-////////////////////////////////////////////////
-//  Algorithme class for the reconstruction   //
-//                                            //
-//  Author Gines MARTINEZ     SUBATECH        //
-//                                            //  
-//                                            //
-////////////////////////////////////////////////
+/* $Id$ */
+
+//_________________________________________________________________________
+//  Algorithm class for the reconstruction: clusterizer
+//                                          track segment maker
+//                                          particle identifier   
+//                  
+//*-- Author: Gines Martinez & Yves Schutz (SUBATECH)
 
 // --- ROOT system ---
 
 #include "TObject.h"
 #include "AliPHOSClusterizer.h"
 #include "AliPHOSTrackSegmentMaker.h"
+#include "AliPHOSPID.h"
 #include "TClonesArray.h" 
 
 // --- Standard library ---
@@ -26,23 +28,44 @@ class AliPHOSReconstructioner : public TObject {
 
 public:
 
-  AliPHOSReconstructioner(); //ctor            
-  AliPHOSReconstructioner(AliPHOSClusterizer& Clusterizer, AliPHOSTrackSegmentMaker& Tracker); //ctor            
-  ~AliPHOSReconstructioner(); // dtor
+  AliPHOSReconstructioner(){} //ctor            
+  AliPHOSReconstructioner(AliPHOSClusterizer * Clusterizer, AliPHOSTrackSegmentMaker * Tracker, 
+                         AliPHOSPID * Identifier); //ctor         
+  AliPHOSReconstructioner(const AliPHOSReconstructioner & phos) {
+    // cpy ctor: no implementation yet
+    // requested by the Coding Convention
+    assert(0==1) ; 
+  }
+   
+  ~AliPHOSReconstructioner(){} // dtor
 
   AliPHOSClusterizer * GetClusterizer() { return fClusterizer ; }
-  void Make(TClonesArray * DL, RecPointsList * emccl, RecPointsList * ppsdl, TrackSegmentsList * trsl) ; // does the job
+  void Init(AliPHOSClusterizer * Clusterizer, AliPHOSTrackSegmentMaker * Tracker, 
+                         AliPHOSPID * Identifier) ;  
+  void Make(TClonesArray * DL, 
+           AliPHOSRecPoint::RecPointsList * emccl, 
+           AliPHOSRecPoint::RecPointsList * ppsdl, 
+           AliPHOSTrackSegment::TrackSegmentsList * trsl, 
+           AliPHOSRecParticle::RecParticlesList * rpl) ; // does the job
 
+  void SetDebugReconstruction(Bool_t deb) { fDebugReconstruction = deb; }
 
-private:
-  
-  AliPHOSClusterizer * fClusterizer ;             // Method for clusterization 
-  AliPHOSTrackSegmentMaker * fTrackSegmentMaker ; // Method for track segments finding 
+  AliPHOSReconstructioner & operator = (const AliPHOSReconstructioner & rvalue)  {
+    // assignement operator requested by coding convention
+    // but not needed
+    assert(0==1) ;
+    return *this ; 
+  }
   
 
-public:
+private:
   
-  ClassDef(AliPHOSReconstructioner,1)  // Reconstruction interface , version 1
+  Bool_t               fDebugReconstruction;      // For debuging of the Reconstruction procedure
+  AliPHOSClusterizer * fClusterizer ;             // Method for clusterization 
+  AliPHOSTrackSegmentMaker * fTrackSegmentMaker ; // Method for track segments finding
+  AliPHOSPID * fPID ;                             // Method for identifying the type of particle
+  ClassDef(AliPHOSReconstructioner,1)  // Reconstruction algorithm class (Base Class)
 
 };