]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONReconstructor.h
Fixing minor bug recognizing diffractive events in simulation
[u/mrichter/AliRoot.git] / MUON / AliMUONReconstructor.h
index 50c75befc538d4da36402c4b0873114385a9f032..22d953d9929e35c274875bbe5f5ace48afe5ccad 100644 (file)
@@ -15,6 +15,9 @@
 #ifndef ALIRECONSTRUCTOR_H
 #  include "AliReconstructor.h"
 #endif
+#ifndef ROOT_TObjArray
+#define "TObjArray.h"
+#endif
 
 class AliMUONCalibrationData;
 class AliMUONDigitCalibrator;
@@ -28,8 +31,9 @@ class AliMUONVClusterStore;
 class AliMUONVDigitStore;
 class AliMUONVTrackStore;
 class AliMUONVTriggerStore;
-class AliMUONVTriggerStore;
+class AliMUONTriggerElectronics;
 class TClonesArray;
+class AliMUONTriggerUtilities;
 
 #include "AliMUONRecoParam.h"
 
@@ -49,7 +53,8 @@ public:
   
   virtual AliTracker* CreateTracker() const;
   
-  static const AliMUONRecoParam* GetRecoParam() { return dynamic_cast<const AliMUONRecoParam*>(AliReconstructor::GetRecoParam(7)); }
+  /// Get param object
+  static const AliMUONRecoParam* GetRecoParam();
   
   static AliMUONVClusterFinder* CreateClusterFinder(const char* clusterFinderType);
 
@@ -63,15 +68,18 @@ private:
                      AliMUONVDigitStore* digitStore,
                      AliMUONVTriggerStore* triggerStore) const;
   void Calibrate(AliMUONVDigitStore& digitStore) const;
+  void CreateCalibrationData() const;
   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;
   
   AliMUONVDigitStore* DigitStore() const;
   AliMUONVTriggerStore* TriggerStore() const;
+  void ResponseRemovingChambers(AliMUONVTriggerStore* triggerStore) const;
   
 private:
 
@@ -81,12 +89,15 @@ 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)
-  
-  ClassDef(AliMUONReconstructor,8) // Implementation of AliReconstructor
+  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)
+    
+  ClassDef(AliMUONReconstructor,11) // Implementation of AliReconstructor
 };
 
 #endif