1 #ifndef ALIMUONRECOCHECK_H
2 #define ALIMUONRECOCHECK_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 /// \ingroup evaluation
10 /// \class AliMUONRecoCheck
11 /// \brief Utility class to check reconstruction
19 class AliMCEventHandler;
20 class AliMUONVTrackStore;
22 class AliMUONRecoCheck : public TObject
25 AliMUONRecoCheck(Char_t *chLoader, Char_t *pathSim = "./");
26 virtual ~AliMUONRecoCheck();
28 /// Return the list of reconstructed tracks
29 AliMUONVTrackStore* ReconstructedTracks(Int_t event);
31 /// Return reference muon tracks
32 AliMUONVTrackStore* TrackRefs(Int_t event);
34 /// Return reconstructible reference tracks
35 AliMUONVTrackStore* ReconstructibleTracks(Int_t event);
37 /// Return the total number of events.
38 Int_t NumberOfEvents() const;
40 /// Return the reconstructed data of current event
41 const AliESDEvent* GetESDEvent() { return fESDEvent; }
43 /// Return the interface to the Monte Carlo data of current event
44 const AliMCEventHandler* GetMCEventHandler() { return fMCEventHandler; }
48 AliMUONRecoCheck(const AliMUONRecoCheck& rhs);
50 AliMUONRecoCheck& operator = (const AliMUONRecoCheck& rhs);
54 void MakeReconstructedTracks();
58 void CleanMuonTrackRef(const AliMUONVTrackStore *tmpTrackRefStore);
60 void MakeReconstructibleTracks();
63 AliMCEventHandler* fMCEventHandler; ///< to access MC truth information
64 AliESDEvent* fESDEvent; ///< ESD event to access MUON data
65 TTree* fESDTree; ///< ESD tree to access MUON data
66 TFile* fESDFile; ///< ESD file to access MUON data
68 Int_t fCurrentEvent; ///< current event number
70 AliMUONVTrackStore* fTrackRefStore; ///< current simulated tracks (owner)
71 AliMUONVTrackStore* fRecoTrackRefStore; ///< current reconstructible tracks (owner)
72 AliMUONVTrackStore* fRecoTrackStore; ///< current reconstructed tracks (owner)
74 ClassDef(AliMUONRecoCheck, 0) //Utility class to check reconstruction