]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MUON/AliMUONRecoDisplay.h
Code revision:
[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$*/
30178c30 7// Revision of includes 07/05/2004
c7ba256d 8
2c0075de 9// Authors : M.Gheata, A.Gheata 09/10/00
c7ba256d 10
30178c30 11#include "AliDisplay.h"
12
13class TTree;
14class TFile;
15class TClonesArray;
c7ba256d 16
345c4d04 17class AliMUONRecoEvent;
c7ba256d 18
30178c30 19class AliMUONRecoDisplay : public AliDisplay
345c4d04 20{
21 public:
22 AliMUONRecoDisplay(Int_t nevent=0);
23 virtual ~AliMUONRecoDisplay();
24 virtual void DrawHits();
25 virtual void DrawView(Float_t theta, Float_t phi, Float_t psi = 0);
26 Bool_t Event(Int_t nevent);
27 virtual void SetDrawHits(Bool_t hits = kTRUE); // *MENU*
28 virtual void ShowNextEvent(Int_t delta = 1);
29 void ListTracks(); // *MENU*
30 void Highlight(Int_t track=0); // *MENU*
31 void UnHighlight(); // *MENU*
32 void CutMomentum(Double_t min=0, Double_t max=999); // *MENU*
33 void PolyLineInfo(TClonesArray *line3Dlist);
34 void RecoEfficiency(Int_t first=0, Int_t last=10000); // *MENU*
35 void XYPlot(); // *MENU*
c7ba256d 36
11ca64ac 37 protected:
38 AliMUONRecoDisplay(const AliMUONRecoDisplay& rhs);
39 AliMUONRecoDisplay& operator=(const AliMUONRecoDisplay& rhs);
40
345c4d04 41 private:
42 //methods
43 Int_t GetBestMatch(Int_t indr, Float_t tolerance=3.0);
44 TClonesArray* MakePolyLines3D(TClonesArray *tracklist);
45 void MapEvent(Int_t nevent);
30178c30 46 Bool_t IsReconstructible(Int_t track) const;
345c4d04 47 //data members
48 Int_t fEvent; // current event number
49 AliMUONRecoEvent *fEvGen; // Geant event
50 AliMUONRecoEvent *fEvReco; // reconstructed event
51 TFile *fFile; // file with reco. event tree
52 TTree *fTree; // tree with reco. events
53 TClonesArray *fPolyRecoList; // list of TPolyLine3D's for reco. tracks
54 TClonesArray *fPolyGenList; // list of TPolyLine3D's for generated tracks
55 TClonesArray *fRecoTracks; // list of reco tracks
56 TClonesArray *fGenTracks; // list of GEANT tracks
57 Int_t fHighlited; // index of current highlited track
58 Double_t fMinMomentum; // min. cut of momentum
59 Double_t fMaxMomentum; // max. cut of momentum
60 Bool_t fPrinted; // tracks info switch
61 Bool_t fEmpty; // true if current reco. event empty
62
c7ba256d 63 ClassDef(AliMUONRecoDisplay,0) // MUON reco. event display
64};
65
66#endif