]>
Commit | Line | Data |
---|---|---|
878a508f | 1 | #ifndef ALIMUONRECOEVENT_H |
2 | #define ALIMUONRECOEVENT_H | |
c7ba256d | 3 | |
2c0075de | 4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /*$Id$*/ | |
30178c30 | 8 | // Revision of includes 07/05/2004 |
2c0075de | 9 | |
10 | // Authors : M.Gheata, A.Gheata 09/10/00 | |
c7ba256d | 11 | |
12 | #include <TObject.h> | |
c7ba256d | 13 | |
30178c30 | 14 | class TClonesArray; |
15 | ||
16 | class AliMUONEventReconstructor; | |
c7ba256d | 17 | class AliMUONRecoTrack; |
18 | ||
c7ba256d | 19 | ///////////////////////////////////////////////////////////////////// |
20 | // // | |
21 | // AliMUONRecoEvent // | |
22 | // // | |
23 | // This class handles an array of reconstructed tracks. // | |
24 | // It provides : // | |
2c0075de | 25 | // - filling the tracks array according to the information // |
26 | // stored in AliMUONEventReconstructor class ; // | |
c7ba256d | 27 | // - printing event and track informations : event number, // |
2c0075de | 28 | // number of tracks, hits positions, reconstr. momentum. // |
c7ba256d | 29 | // // |
30 | ///////////////////////////////////////////////////////////////////// | |
31 | ||
11ca64ac | 32 | class AliMUONRecoEvent : public TObject |
9e43eec2 | 33 | { |
34 | public: | |
35 | AliMUONRecoEvent(Int_t eventNo = 0); | |
36 | virtual ~AliMUONRecoEvent(); | |
37 | ||
38 | AliMUONRecoTrack* AddEmptyTrack(); | |
39 | void Clear(Option_t *option = ""); | |
40 | void EventInfo(); | |
41 | Int_t GetNoEvent() const {return fNevr;} | |
42 | Int_t GetNoTracks() const {return fNtracks;} | |
43 | Bool_t MakeDumpTracks(Int_t muons, TClonesArray *tracksPtr, AliMUONEventReconstructor *MuonReco); | |
44 | void SetNoEvent(Int_t event) {fNevr = event;} | |
45 | void SetNoTracks(Int_t ntracks) {fNtracks = ntracks;} | |
46 | ||
47 | void SetNoMuons(Int_t muons) {fMuons = muons;} | |
48 | ||
49 | TClonesArray* TracksPtr() {return fTracks;} | |
50 | ||
11ca64ac | 51 | protected: |
52 | AliMUONRecoEvent(const AliMUONRecoEvent& rhs); | |
53 | AliMUONRecoEvent& operator=(const AliMUONRecoEvent& rhs); | |
54 | ||
9e43eec2 | 55 | private: |
83dbc640 | 56 | Int_t fNevr; // event number |
57 | Int_t fNtracks; // number of tracks | |
58 | Int_t fMuons; // number of muons within acceptance | |
59 | TClonesArray *fTracks; //-> list of AliMUONRecoTracks | |
c7ba256d | 60 | |
c7ba256d | 61 | ClassDef(AliMUONRecoEvent,1) // Reconstructed event for MUON module |
62 | }; | |
63 | ||
2c0075de | 64 | #endif |