1 #ifndef ALIMUONRECOEVENT_H
2 #define ALIMUONRECOEVENT_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
8 // Revision of includes 07/05/2004
10 // Authors : M.Gheata, A.Gheata 09/10/00
16 class AliMUONEventReconstructor;
17 class AliMUONRecoTrack;
19 /////////////////////////////////////////////////////////////////////
21 // AliMUONRecoEvent //
23 // This class handles an array of reconstructed tracks. //
25 // - filling the tracks array according to the information //
26 // stored in AliMUONEventReconstructor class ; //
27 // - printing event and track informations : event number, //
28 // number of tracks, hits positions, reconstr. momentum. //
30 /////////////////////////////////////////////////////////////////////
32 class AliMUONRecoEvent : public TObject
35 AliMUONRecoEvent(Int_t eventNo = 0);
36 virtual ~AliMUONRecoEvent();
38 AliMUONRecoTrack* AddEmptyTrack();
39 void Clear(Option_t *option = "");
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;}
47 void SetNoMuons(Int_t muons) {fMuons = muons;}
49 TClonesArray* TracksPtr() {return fTracks;}
52 AliMUONRecoEvent(const AliMUONRecoEvent& rhs);
53 AliMUONRecoEvent& operator=(const AliMUONRecoEvent& rhs);
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
61 ClassDef(AliMUONRecoEvent,1) // Reconstructed event for MUON module