]>
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$*/ | |
8 | ||
9 | ||
10 | // Authors : M.Gheata, A.Gheata 09/10/00 | |
c7ba256d | 11 | |
12 | #include <TObject.h> | |
13 | #include <TFile.h> | |
14 | #include <TParticle.h> | |
15 | #include <AliDetector.h> | |
16 | #include "AliMUONHit.h" | |
83dbc640 | 17 | class AliMUONEventReconstructor; |
c7ba256d | 18 | |
19 | class AliMUONRecoTrack; | |
20 | ||
c7ba256d | 21 | ///////////////////////////////////////////////////////////////////// |
22 | // // | |
23 | // AliMUONRecoEvent // | |
24 | // // | |
25 | // This class handles an array of reconstructed tracks. // | |
26 | // It provides : // | |
2c0075de | 27 | // - filling the tracks array according to the information // |
28 | // stored in AliMUONEventReconstructor class ; // | |
c7ba256d | 29 | // - printing event and track informations : event number, // |
2c0075de | 30 | // number of tracks, hits positions, reconstr. momentum. // |
c7ba256d | 31 | // // |
32 | ///////////////////////////////////////////////////////////////////// | |
33 | ||
11ca64ac | 34 | class AliMUONRecoEvent : public TObject |
9e43eec2 | 35 | { |
36 | public: | |
37 | AliMUONRecoEvent(Int_t eventNo = 0); | |
38 | virtual ~AliMUONRecoEvent(); | |
39 | ||
40 | AliMUONRecoTrack* AddEmptyTrack(); | |
41 | void Clear(Option_t *option = ""); | |
42 | void EventInfo(); | |
43 | Int_t GetNoEvent() const {return fNevr;} | |
44 | Int_t GetNoTracks() const {return fNtracks;} | |
45 | Bool_t MakeDumpTracks(Int_t muons, TClonesArray *tracksPtr, AliMUONEventReconstructor *MuonReco); | |
46 | void SetNoEvent(Int_t event) {fNevr = event;} | |
47 | void SetNoTracks(Int_t ntracks) {fNtracks = ntracks;} | |
48 | ||
49 | void SetNoMuons(Int_t muons) {fMuons = muons;} | |
50 | ||
51 | TClonesArray* TracksPtr() {return fTracks;} | |
52 | ||
11ca64ac | 53 | protected: |
54 | AliMUONRecoEvent(const AliMUONRecoEvent& rhs); | |
55 | AliMUONRecoEvent& operator=(const AliMUONRecoEvent& rhs); | |
56 | ||
9e43eec2 | 57 | private: |
83dbc640 | 58 | Int_t fNevr; // event number |
59 | Int_t fNtracks; // number of tracks | |
60 | Int_t fMuons; // number of muons within acceptance | |
61 | TClonesArray *fTracks; //-> list of AliMUONRecoTracks | |
c7ba256d | 62 | |
c7ba256d | 63 | ClassDef(AliMUONRecoEvent,1) // Reconstructed event for MUON module |
64 | }; | |
65 | ||
2c0075de | 66 | #endif |