]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MFT/AliMFTClusterFinder.h
fix recovery of trigger particle kinematics before FidutialCut is called, place histo...
[u/mrichter/AliRoot.git] / MFT / AliMFTClusterFinder.h
index a8e9b4e51e497b8267384a26a5c7b8bdddb56fb1..f5a7d39bf0733a6c0945c7adb17c7ad62fde9074 100644 (file)
@@ -21,6 +21,7 @@
 #include "TTree.h"
 #include "TMath.h"
 #include "AliMFTConstants.h"
+#include "TStopwatch.h"
 
 //====================================================================================================================================================
 
@@ -30,13 +31,15 @@ public:
 
   AliMFTClusterFinder();
   ~AliMFTClusterFinder();
-
-  void Init(Char_t *nameGeomFile);
+  virtual void Clear(const Option_t* /*opt*/);
+  void Init(const Char_t *nameGeomFile);
   
   void MakeClusterBranch(TTree *treeCluster);
   void SetClusterTreeAddress(TTree *treeCluster);
   void CreateClusters();
 
+  void ApplyMisalignment(Bool_t applyMisalignment) { fApplyMisalignment = applyMisalignment; }
+
   void DigitsToClusters(const TObjArray *pDigitList);
 
   void StartEvent();
@@ -45,19 +48,25 @@ private:
  
   static const Int_t fNMaxDigitsPerCluster = AliMFTConstants::fNMaxDigitsPerCluster;
   static const Int_t fNMaxPlanes = AliMFTConstants::fNMaxPlanes;
+  static const Int_t fNMaxDetElemPerPlane = AliMFTConstants::fNMaxDetElemPerPlane;
   static const Double_t fCutForAvailableDigits;
   static const Double_t fCutForAttachingDigits;
+  static const Double_t fMisalignmentMagnitude;
 
-  TClonesArray *fClustersPerPlane[fNMaxPlanes];    // ![fNPlanes] list of clusters [per plane]
-
-  TClonesArray *fDigitsInCluster;
-  AliMFTDigit *fCurrentDigit;
-  AliMFTCluster *fCurrentCluster;
+  TClonesArray *fClustersPerPlane[fNMaxPlanes];    //! [fNPlanes] list of clusters [per plane]
 
-  AliMFTSegmentation *fSegmentation;
+  TClonesArray *fDigitsInCluster;                  //!
+  AliMFTDigit *fCurrentDigit;                      //!
+  AliMFTCluster *fCurrentCluster;                  //!
 
+  AliMFTSegmentation *fSegmentation;               //!
   Int_t fNPlanes;
 
+  Bool_t fApplyMisalignment;                       // For MC, waiting for OCDB...
+
+  TStopwatch *fStopWatch;                          //!
+
   AliMFTClusterFinder(const AliMFTClusterFinder &source);
   AliMFTClusterFinder& operator=(const AliMFTClusterFinder &source);