]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONRecoCheck.h
Renamed output file to Vertex.Performance.root
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoCheck.h
index 47485d82395181cdb97528daecaac608c5d86357..1d0aa412fde66a60091dc9b6039b4ea7d7ac17ba 100644 (file)
@@ -18,6 +18,7 @@ class TTree;
 class AliESDEvent;
 class AliMCEventHandler;
 class AliMUONVTrackStore;
+class AliMUONTrack;
 
 class AliMUONRecoCheck : public TObject 
 {
@@ -27,13 +28,16 @@ public:
   virtual ~AliMUONRecoCheck();
 
   /// Return the list of reconstructed tracks
-  AliMUONVTrackStore* ReconstructedTracks(Int_t event);
+  AliMUONVTrackStore* ReconstructedTracks(Int_t event, Bool_t refit = kTRUE);
   
   /// Return reference muon tracks
   AliMUONVTrackStore* TrackRefs(Int_t event);
 
   /// Return reconstructible reference tracks
-  AliMUONVTrackStore* ReconstructibleTracks(Int_t event);
+  AliMUONVTrackStore* ReconstructibleTracks(Int_t event, UInt_t requestedStationMask = 0x1F, Bool_t request2ChInSameSt45 = kTRUE);
+  
+  /// Return the run number of the current ESD event
+  Int_t GetRunNumber();
   
   /// Return the total number of events.
   Int_t NumberOfEvents() const;
@@ -44,6 +48,10 @@ public:
   /// Return the interface to the Monte Carlo data of current event
   const AliMCEventHandler* GetMCEventHandler() { return fMCEventHandler; }
   
+  /// Return the track from the store matched with the given track (or 0x0) and the fraction of matched clusters.
+  static AliMUONTrack* FindCompatibleTrack(AliMUONTrack &track, AliMUONVTrackStore &trackStore,
+                                          Int_t &nMatchClusters, Bool_t useLabel = kFALSE, Double_t sigmaCut = 10.);
+  
 private:
   /// Not implemented
   AliMUONRecoCheck(const AliMUONRecoCheck& rhs);
@@ -52,13 +60,13 @@ private:
 
   void ResetStores();
   
-  void MakeReconstructedTracks();
+  void MakeReconstructedTracks(Bool_t refit);
   
   void MakeTrackRefs();
   
   void CleanMuonTrackRef(const AliMUONVTrackStore *tmpTrackRefStore);
   
-  void MakeReconstructibleTracks();
+  void MakeReconstructibleTracks(UInt_t requestedStationMask, Bool_t request2ChInSameSt45 = kTRUE);
 
 private:
   AliMCEventHandler* fMCEventHandler; ///< to access MC truth information