]>
Commit | Line | Data |
---|---|---|
b8dc484b | 1 | #ifndef ALIMUONRECOCHECK_H |
2 | #define ALIMUONRECOCHECK_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
692de412 | 7 | /* $Id$ */ |
8 | ||
6b092dfc | 9 | /// \ingroup evaluation |
692de412 | 10 | /// \class AliMUONRecoCheck |
11 | /// \brief Utility class to check reconstruction | |
12 | ||
b8dc484b | 13 | #include <TObject.h> |
b8dc484b | 14 | |
15 | class TClonesArray; | |
61fed964 | 16 | class TFile; |
17 | class TTree; | |
18 | class AliESDEvent; | |
96ebe67e | 19 | class AliMCEventHandler; |
48217459 | 20 | class AliMUONVTrackStore; |
b8dc484b | 21 | |
22 | class AliMUONRecoCheck : public TObject | |
23 | { | |
24 | public: | |
ad3c6eda | 25 | AliMUONRecoCheck(Char_t *chLoader, Char_t *pathSim = "./"); |
48217459 | 26 | virtual ~AliMUONRecoCheck(); |
27 | ||
9bdda5f6 | 28 | /// Return the list of reconstructed tracks |
48217459 | 29 | AliMUONVTrackStore* ReconstructedTracks(Int_t event); |
30 | ||
9bdda5f6 | 31 | /// Return reference muon tracks |
48217459 | 32 | AliMUONVTrackStore* TrackRefs(Int_t event); |
b8dc484b | 33 | |
9bdda5f6 | 34 | /// Return reconstructible reference tracks |
48217459 | 35 | AliMUONVTrackStore* ReconstructibleTracks(Int_t event); |
36 | ||
9bdda5f6 | 37 | /// Return the total number of events. |
38 | Int_t NumberOfEvents() const; | |
39 | ||
61fed964 | 40 | /// Return the reconstructed data of current event |
41 | const AliESDEvent* GetESDEvent() { return fESDEvent; } | |
9bdda5f6 | 42 | |
61fed964 | 43 | /// Return the interface to the Monte Carlo data of current event |
44 | const AliMCEventHandler* GetMCEventHandler() { return fMCEventHandler; } | |
9bdda5f6 | 45 | |
b8dc484b | 46 | private: |
71a2d3aa | 47 | /// Not implemented |
48 | AliMUONRecoCheck(const AliMUONRecoCheck& rhs); | |
49 | /// Not implemented | |
50 | AliMUONRecoCheck& operator = (const AliMUONRecoCheck& rhs); | |
068e4c36 | 51 | |
96ebe67e | 52 | void ResetStores(); |
53 | ||
61fed964 | 54 | void MakeReconstructedTracks(); |
55 | ||
96ebe67e | 56 | void MakeTrackRefs(); |
48217459 | 57 | |
96ebe67e | 58 | void CleanMuonTrackRef(const AliMUONVTrackStore *tmpTrackRefStore); |
48217459 | 59 | |
96ebe67e | 60 | void MakeReconstructibleTracks(); |
61 | ||
48217459 | 62 | private: |
96ebe67e | 63 | AliMCEventHandler* fMCEventHandler; ///< to access MC truth information |
61fed964 | 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 | |
48217459 | 67 | |
96ebe67e | 68 | Int_t fCurrentEvent; ///< current event number |
69 | ||
70 | AliMUONVTrackStore* fTrackRefStore; ///< current simulated tracks (owner) | |
71 | AliMUONVTrackStore* fRecoTrackRefStore; ///< current reconstructible tracks (owner) | |
72 | AliMUONVTrackStore* fRecoTrackStore; ///< current reconstructed tracks (owner) | |
73 | ||
54d7ba50 | 74 | ClassDef(AliMUONRecoCheck, 0) //Utility class to check reconstruction |
b8dc484b | 75 | }; |
76 | ||
77 | #endif | |
78 |