]>
Commit | Line | Data |
---|---|---|
345c4d04 | 1 | #ifndef ALI_MUON_RECO_DISPLAY_H |
2 | #define ALI_MUON_RECO_DISPLAY_H | |
2c0075de | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /*$Id$*/ | |
c7ba256d | 7 | |
2c0075de | 8 | // Authors : M.Gheata, A.Gheata 09/10/00 |
c7ba256d | 9 | |
10 | #include <TApplication.h> | |
11 | #include <TROOT.h> | |
12 | #include <TFile.h> | |
13 | #include <TPolyLine3D.h> | |
14 | #include <TParticle.h> | |
15 | #include <AliDisplay.h> | |
16 | #include <TTree.h> | |
17 | #include <TH1.h> | |
18 | #include <TH2.h> | |
19 | #include <TCanvas.h> | |
20 | #include <TProfile.h> | |
21 | #include <AliDetector.h> | |
22 | #include "AliMUONHit.h" | |
23 | ||
345c4d04 | 24 | class AliMUONRecoEvent; |
c7ba256d | 25 | |
345c4d04 | 26 | class AliMUONRecoDisplay:public AliDisplay |
27 | { | |
28 | public: | |
29 | AliMUONRecoDisplay(Int_t nevent=0); | |
30 | virtual ~AliMUONRecoDisplay(); | |
31 | virtual void DrawHits(); | |
32 | virtual void DrawView(Float_t theta, Float_t phi, Float_t psi = 0); | |
33 | Bool_t Event(Int_t nevent); | |
34 | virtual void SetDrawHits(Bool_t hits = kTRUE); // *MENU* | |
35 | virtual void ShowNextEvent(Int_t delta = 1); | |
36 | void ListTracks(); // *MENU* | |
37 | void Highlight(Int_t track=0); // *MENU* | |
38 | void UnHighlight(); // *MENU* | |
39 | void CutMomentum(Double_t min=0, Double_t max=999); // *MENU* | |
40 | void PolyLineInfo(TClonesArray *line3Dlist); | |
41 | void RecoEfficiency(Int_t first=0, Int_t last=10000); // *MENU* | |
42 | void XYPlot(); // *MENU* | |
c7ba256d | 43 | |
11ca64ac | 44 | protected: |
45 | AliMUONRecoDisplay(const AliMUONRecoDisplay& rhs); | |
46 | AliMUONRecoDisplay& operator=(const AliMUONRecoDisplay& rhs); | |
47 | ||
345c4d04 | 48 | private: |
49 | //methods | |
50 | Int_t GetBestMatch(Int_t indr, Float_t tolerance=3.0); | |
51 | TClonesArray* MakePolyLines3D(TClonesArray *tracklist); | |
52 | void MapEvent(Int_t nevent); | |
53 | Bool_t IsReconstructible(Int_t track); | |
54 | //data members | |
55 | Int_t fEvent; // current event number | |
56 | AliMUONRecoEvent *fEvGen; // Geant event | |
57 | AliMUONRecoEvent *fEvReco; // reconstructed event | |
58 | TFile *fFile; // file with reco. event tree | |
59 | TTree *fTree; // tree with reco. events | |
60 | TClonesArray *fPolyRecoList; // list of TPolyLine3D's for reco. tracks | |
61 | TClonesArray *fPolyGenList; // list of TPolyLine3D's for generated tracks | |
62 | TClonesArray *fRecoTracks; // list of reco tracks | |
63 | TClonesArray *fGenTracks; // list of GEANT tracks | |
64 | Int_t fHighlited; // index of current highlited track | |
65 | Double_t fMinMomentum; // min. cut of momentum | |
66 | Double_t fMaxMomentum; // max. cut of momentum | |
67 | Bool_t fPrinted; // tracks info switch | |
68 | Bool_t fEmpty; // true if current reco. event empty | |
69 | ||
c7ba256d | 70 | ClassDef(AliMUONRecoDisplay,0) // MUON reco. event display |
71 | }; | |
72 | ||
73 | #endif |