]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONRecoDisplay.h
Go on with new segmentation (Ch. Finck)
[u/mrichter/AliRoot.git] / MUON / AliMUONRecoDisplay.h
1 #ifndef ALI_MUON_RECO_DISPLAY_H
2 #define ALI_MUON_RECO_DISPLAY_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /*$Id$*/
7 // Revision of includes 07/05/2004
8
9 // Authors : M.Gheata, A.Gheata 09/10/00
10
11 #include "AliDisplay.h"
12
13 class TTree;
14 class TFile;
15 class TClonesArray;
16
17 class AliMUONRecoEvent;
18
19 class AliMUONRecoDisplay : public AliDisplay 
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*
36    
37   protected:
38     AliMUONRecoDisplay(const AliMUONRecoDisplay& rhs);
39     AliMUONRecoDisplay& operator=(const AliMUONRecoDisplay& rhs);
40
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);
46     Bool_t             IsReconstructible(Int_t track) const;
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
63    ClassDef(AliMUONRecoDisplay,0)       // MUON reco. event display
64 };
65
66 #endif