]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIMUONRECOEVENT_H | |
2 | #define ALIMUONRECOEVENT_H | |
3 | ||
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 | |
11 | ||
12 | #include <TObject.h> | |
13 | #include <TFile.h> | |
14 | #include <TParticle.h> | |
15 | #include <AliDetector.h> | |
16 | #include "AliMUONHit.h" | |
17 | class AliMUONEventReconstructor; | |
18 | ||
19 | class AliMUONRecoTrack; | |
20 | ||
21 | ///////////////////////////////////////////////////////////////////// | |
22 | // // | |
23 | // AliMUONRecoEvent // | |
24 | // // | |
25 | // This class handles an array of reconstructed tracks. // | |
26 | // It provides : // | |
27 | // - filling the tracks array according to the information // | |
28 | // stored in AliMUONEventReconstructor class ; // | |
29 | // - printing event and track informations : event number, // | |
30 | // number of tracks, hits positions, reconstr. momentum. // | |
31 | // // | |
32 | ///////////////////////////////////////////////////////////////////// | |
33 | ||
34 | class AliMUONRecoEvent : public TObject | |
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 | ||
53 | protected: | |
54 | AliMUONRecoEvent(const AliMUONRecoEvent& rhs); | |
55 | AliMUONRecoEvent& operator=(const AliMUONRecoEvent& rhs); | |
56 | ||
57 | private: | |
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 | |
62 | ||
63 | ClassDef(AliMUONRecoEvent,1) // Reconstructed event for MUON module | |
64 | }; | |
65 | ||
66 | #endif |