]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFReconstructor.h
#101318: Patch for various problems in AliROOT
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructor.h
index 4a361379b3b50b4af9ac706836e50f72702cee4c..7aeaf6236428e989fad7e3e1852345f711491799 100644 (file)
@@ -14,6 +14,8 @@
 
 #include "AliReconstructor.h"
 #include "AliTOFRecoParam.h"
+#include "AliTOFClusterFinder.h"
+#include "AliTOFClusterFinderV1.h"
 
 class TTree;
 
@@ -21,6 +23,8 @@ class AliESDEvent;
 class AliRawReader;
 class AliTOFcalib;
 
+//class AliTOFT0maker;
+
 class AliTOFReconstructor: public AliReconstructor {
 public:
   AliTOFReconstructor();
@@ -34,19 +38,28 @@ 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
 
+  virtual void FillEventTimeWithTOF(AliESDEvent *event, AliESDpid *esdPID);
+
 private:
   AliTOFReconstructor(const AliTOFReconstructor &); //Not implemented
   AliTOFReconstructor& operator=(const AliTOFReconstructor &); //Not implemented
 
   AliTOFcalib    *fTOFcalib;    // pointer to TOF calib class
+  //AliTOFT0maker  *fTOFT0maker;  // pointer to TOF T0 maker class
+
+  Int_t fNumberOfTofClusters; // Number of TOF Clusters
+  Int_t fNumberOfTofTrgPads;  // Number of TOF trigger pads
+
+  AliTOFClusterFinder *fClusterFinder;
+  AliTOFClusterFinderV1 *fClusterFinderV1;
 
-  ClassDef(AliTOFReconstructor, 3)   // class for the TOF reconstruction
+  ClassDef(AliTOFReconstructor, 5)   // class for the TOF reconstruction
 };
 
 #endif