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 */
10 // Authors : M.Gheata, A.Gheata 09/10/00
14 #include <TParticle.h>
15 #include <AliDetector.h>
16 #include "AliMUONHit.h"
17 class AliMUONEventReconstructor;
19 class AliMUONRecoTrack;
21 /////////////////////////////////////////////////////////////////////
23 // AliMUONRecoEvent //
25 // This class handles an array of reconstructed tracks. //
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. //
32 /////////////////////////////////////////////////////////////////////
34 class AliMUONRecoEvent : public TObject
37 AliMUONRecoEvent(Int_t eventNo = 0);
38 virtual ~AliMUONRecoEvent();
40 AliMUONRecoTrack* AddEmptyTrack();
41 void Clear(Option_t *option = "");
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;}
49 void SetNoMuons(Int_t muons) {fMuons = muons;}
51 TClonesArray* TracksPtr() {return fTracks;}
54 AliMUONRecoEvent(const AliMUONRecoEvent& rhs);
55 AliMUONRecoEvent& operator=(const AliMUONRecoEvent& rhs);
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
63 ClassDef(AliMUONRecoEvent,1) // Reconstructed event for MUON module