]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONRecoEvent.h
Global transformation correction (ivana)
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoEvent.h
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 // Revision of includes 07/05/2004
9
10 // Authors : M.Gheata, A.Gheata 09/10/00
11
12 #include <TObject.h>
13
14 class TClonesArray;
15
16 class AliMUONEventReconstructor;
17 class AliMUONRecoTrack;
18
19 /////////////////////////////////////////////////////////////////////
20 //                                                                 //
21 // AliMUONRecoEvent                                                //
22 //                                                                 //
23 // This class handles an array of reconstructed tracks.            //
24 // It provides :                                                   //
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.    //
29 //                                                                 //
30 /////////////////////////////////////////////////////////////////////
31
32 class AliMUONRecoEvent : public TObject 
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     
51  protected:    
52     AliMUONRecoEvent(const AliMUONRecoEvent& rhs);
53     AliMUONRecoEvent& operator=(const AliMUONRecoEvent& rhs);
54
55  private:
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
60    
61    ClassDef(AliMUONRecoEvent,1) // Reconstructed event for MUON module
62 };
63
64 #endif