free arrays before of return in PropagateBack
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructor.h
index 5b44c8d..7aeaf62 100644 (file)
 
 #include "AliReconstructor.h"
 #include "AliTOFRecoParam.h"
+#include "AliTOFClusterFinder.h"
+#include "AliTOFClusterFinderV1.h"
 
 class TTree;
 
 class AliESDEvent;
 class AliRawReader;
 class AliTOFcalib;
+
 //class AliTOFT0maker;
 
 class AliTOFReconstructor: public AliReconstructor {
@@ -35,9 +38,9 @@ public:
 
   virtual AliTracker*  CreateTracker() const;
 
-  virtual void         FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent*esd) const
+  virtual void         FillESD(AliRawReader*, TTree*clustersTree, AliESDEvent* esd) const
   {FillESD((TTree*)NULL,clustersTree,esd);}
-  virtual void         FillESD(TTree*, TTree*, AliESDEvent*) const {}
+  virtual void         FillESD(TTree *, TTree *, AliESDEvent * /*esdEvent*/) const;
 
   static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
 
@@ -50,7 +53,13 @@ private:
   AliTOFcalib    *fTOFcalib;    // pointer to TOF calib class
   //AliTOFT0maker  *fTOFT0maker;  // pointer to TOF T0 maker class
 
-  ClassDef(AliTOFReconstructor, 3)   // class for the TOF reconstruction
+  Int_t fNumberOfTofClusters; // Number of TOF Clusters
+  Int_t fNumberOfTofTrgPads;  // Number of TOF trigger pads
+
+  AliTOFClusterFinder *fClusterFinder;
+  AliTOFClusterFinderV1 *fClusterFinderV1;
+
+  ClassDef(AliTOFReconstructor, 5)   // class for the TOF reconstruction
 };
 
 #endif