]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONReconstructor.h
Also get stuff from directories
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstructor.h
index 6b0fcd2341e6e02506bfad81ac9477cda6ff029f..ef21609cff4c9670fa36c6e01f4e5c30fed3810f 100644 (file)
@@ -15,6 +15,9 @@
 #ifndef ALIRECONSTRUCTOR_H
 #  include "AliReconstructor.h"
 #endif
+#ifndef ROOT_TObjArray
+#define "TObjArray.h"
+#endif
 
 class AliMUONCalibrationData;
 class AliMUONDigitCalibrator;
@@ -30,6 +33,7 @@ class AliMUONVTrackStore;
 class AliMUONVTriggerStore;
 class AliMUONTriggerElectronics;
 class TClonesArray;
+class AliMUONTriggerUtilities;
 
 #include "AliMUONRecoParam.h"
 
@@ -50,7 +54,7 @@ public:
   virtual AliTracker* CreateTracker() const;
   
   /// Get param object
-  static const AliMUONRecoParam* GetRecoParam() { return dynamic_cast<const AliMUONRecoParam*>(AliReconstructor::GetRecoParam(7)); }
+  static const AliMUONRecoParam* GetRecoParam();
   
   static AliMUONVClusterFinder* CreateClusterFinder(const char* clusterFinderType);
 
@@ -68,7 +72,8 @@ private:
   void CreateCalibrator() const;
   void CreateDigitMaker() const;
   void CreateTriggerCircuit() const;
-  void CreateClusterServer() const;
+  void CreateTriggerUtilities() const;
+  AliMUONVClusterServer* CreateClusterServer(const AliMUONRecoParam& rp) const;
   void FillTreeR(AliMUONVTriggerStore* triggerStore,
                  TTree& clustersTree) const;
   
@@ -84,13 +89,16 @@ private:
   mutable AliMUONTriggerCircuit* fTriggerCircuit; //!< Trigger Circuit
   mutable AliMUONCalibrationData* fCalibrationData; //!< Calibration data
   mutable AliMUONDigitCalibrator* fDigitCalibrator; //!<  Digit to calibrate digit converter
-  mutable AliMUONVClusterServer* fClusterServer; //!<  Clusterizer
   mutable AliMUONVTriggerStore* fTriggerStore; //!< Trigger container
   mutable AliMUONVTrackStore* fTrackStore; //!< Track container
   mutable AliMUONVClusterStore* fClusterStore; //!< cluster store (when not in combined tracking mode)
   mutable AliMUONTriggerElectronics* fTriggerProcessor; //!< Processor to recalculate trigger response
+  mutable AliMUONTriggerUtilities* fTriggerUtilities; //!< Trigger utilities for masks
+  mutable TObjArray fClusterServers; //!<  Clusterizers (one per event specie)
+  mutable TObjArray fTrackers; //!< trackers (one per event specie)
+  mutable Bool_t fShouldCalibrate; // whether the fDigitCalibrator should be non-null
   
-  ClassDef(AliMUONReconstructor,9) // Implementation of AliReconstructor
+  ClassDef(AliMUONReconstructor,12) // Implementation of AliReconstructor
 };
 
 #endif