]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONRecoDisplay.h
-Multiple inclusion protection name corrected -Definition/implementation of AliMUONRe...
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoDisplay.h
CommitLineData
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 24class AliMUONRecoEvent;
c7ba256d 25
345c4d04 26class 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
345c4d04 44 private:
45 //methods
46 Int_t GetBestMatch(Int_t indr, Float_t tolerance=3.0);
47 TClonesArray* MakePolyLines3D(TClonesArray *tracklist);
48 void MapEvent(Int_t nevent);
49 Bool_t IsReconstructible(Int_t track);
50 //data members
51 Int_t fEvent; // current event number
52 AliMUONRecoEvent *fEvGen; // Geant event
53 AliMUONRecoEvent *fEvReco; // reconstructed event
54 TFile *fFile; // file with reco. event tree
55 TTree *fTree; // tree with reco. events
56 TClonesArray *fPolyRecoList; // list of TPolyLine3D's for reco. tracks
57 TClonesArray *fPolyGenList; // list of TPolyLine3D's for generated tracks
58 TClonesArray *fRecoTracks; // list of reco tracks
59 TClonesArray *fGenTracks; // list of GEANT tracks
60 Int_t fHighlited; // index of current highlited track
61 Double_t fMinMomentum; // min. cut of momentum
62 Double_t fMaxMomentum; // max. cut of momentum
63 Bool_t fPrinted; // tracks info switch
64 Bool_t fEmpty; // true if current reco. event empty
65
c7ba256d 66 ClassDef(AliMUONRecoDisplay,0) // MUON reco. event display
67};
68
69#endif