class AliESDEvent;
class AliMCEventHandler;
class AliMUONVTrackStore;
+class AliMUONTrack;
class AliMUONRecoCheck : public TObject
{
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;
/// 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);
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