]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFReconstructor.h
Small bug fix (which should have no influence online)
[u/mrichter/AliRoot.git] / TOF / AliTOFReconstructor.h
index 34f42f19b435ceba18e020c4bbcbf6e5e7f27285..adfa6252400e86fd80240787634f516fc3642fe5 100644 (file)
 ///////////////////////////////////////////////////////////////////////////////
 
 #include "AliReconstructor.h"
+#include "AliTOFRecoParam.h"
 
 class TTree;
 
 class AliESDEvent;
 class AliRawReader;
-
-class AliTOFGeometry;
 class AliTOFcalib;
 
 class AliTOFReconstructor: public AliReconstructor {
@@ -41,12 +40,12 @@ public:
   {FillESD((TTree*)NULL,clustersTree,esd);}
   virtual void         FillESD(TTree*, TTree*, AliESDEvent*) const {}
 
+  static const AliTOFRecoParam* GetRecoParam() { return dynamic_cast<const AliTOFRecoParam*>(AliReconstructor::GetRecoParam(3)); } // getting RecoParam obj
+
 private:
-  AliTOFGeometry *fTOFGeometry; // pointer to TOF geometry
   AliTOFcalib    *fTOFcalib;    // pointer to TOF calib class
-  AliTOFGeometry*      GetTOFGeometry() const;
 
-  ClassDef(AliTOFReconstructor, 2)   // class for the TOF reconstruction
+  ClassDef(AliTOFReconstructor, 3)   // class for the TOF reconstruction
 };
 
 #endif