ATLAS Offline Software
Tracking
TrkValidation
TrkValTools
root
TrackPlotter
trackplotter.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
#ifndef ROOT_TGFrame
7
#include "TGFrame.h"
8
#endif
9
10
#include "
TrkValidationNtupleRIOs.h
"
11
12
class
TList;
13
class
TCanvas;
14
class
TRootEmbeddedCanvas;
15
class
TGaxis;
16
class
TGRadioButton;
17
class
TGDoubleSlider;
18
19
class
TrackDataNtupleTree
;
20
class
PlotValNtuple
;
21
22
23
class
Viewer
:
public
TGMainFrame {
24
25
private
:
26
//TrackDataNtupleTree *m_trackNtuple;
27
//TrkValidationNtupleRIOs *m_rioNtuple;
28
PlotValNtuple
*
m_ntuplePlotter
;
29
//Long64_t m_entryNumber;
30
bool
m_singleTrackMode
;
31
bool
m_equalScaling
;
32
bool
m_showDAFinfo
;
33
TList *
fCleanup
;
34
TCanvas *
fCanvas
;
35
TRootEmbeddedCanvas *
fMainEmbeddedCanvas
;
36
TRootEmbeddedCanvas *
fHScaleCanvas
, *
fVScaleCanvas
;
37
TGaxis *
fHScale
, *
fVScale
;
38
TGDoubleSlider *
fHSlider
;
39
TGDoubleSlider *
fVSlider
;
40
TGRadioButton *
fRadioSingleTrackMode
[2];
41
public
:
42
//Viewer(const TGWindow *win, TrackDataNtupleTree* trackNtuple, TrkValidationNtupleRIOs* rioNtuple);
43
Viewer
(
const
TGWindow *win,
PlotValNtuple
* ntuplePlotter);
44
virtual
~Viewer
();
45
void
DoButton
();
46
void
DoRadioButton
();
47
void
DoSlider
();
48
void
DoCheckButton
();
49
void
SetRange
(Float_t
xmin
, Float_t
ymin
, Float_t
xmax
, Float_t
ymax
,
50
Bool_t move_slider = kTRUE);
51
ClassDef(
Viewer
,0)
//GUI example
52
};
Viewer::fHSlider
TGDoubleSlider * fHSlider
Definition:
trackplotter.h:38
Viewer
Definition:
trackplotter.h:23
ymin
double ymin
Definition:
listroot.cxx:63
Viewer::DoRadioButton
void DoRadioButton()
Definition:
trackplotter.cxx:451
Viewer::DoSlider
void DoSlider()
Definition:
trackplotter.cxx:513
Viewer::fRadioSingleTrackMode
TGRadioButton * fRadioSingleTrackMode[2]
Definition:
trackplotter.h:40
Viewer::m_singleTrackMode
bool m_singleTrackMode
Definition:
trackplotter.h:30
Viewer::m_ntuplePlotter
PlotValNtuple * m_ntuplePlotter
Definition:
trackplotter.h:28
Viewer::Viewer
Viewer(const TGWindow *win, PlotValNtuple *ntuplePlotter)
Definition:
trackplotter.cxx:32
PlotValNtuple
Definition:
PlotValNtuple.h:28
Viewer::fVScaleCanvas
TRootEmbeddedCanvas * fVScaleCanvas
Definition:
trackplotter.h:36
xmin
double xmin
Definition:
listroot.cxx:60
Viewer::fCanvas
TCanvas * fCanvas
Definition:
trackplotter.h:34
Viewer::DoCheckButton
void DoCheckButton()
Definition:
trackplotter.cxx:472
Viewer::fCleanup
TList * fCleanup
Definition:
trackplotter.h:33
TrackDataNtupleTree
this class inherites from the automatically created TrkValidationNtupleOutputTrack to have independen...
Definition:
TrackDataNtupleTree.h:16
TrkValidationNtupleRIOs.h
Viewer::DoButton
void DoButton()
Definition:
trackplotter.cxx:252
Viewer::fHScaleCanvas
TRootEmbeddedCanvas * fHScaleCanvas
Definition:
trackplotter.h:36
Viewer::fMainEmbeddedCanvas
TRootEmbeddedCanvas * fMainEmbeddedCanvas
Definition:
trackplotter.h:35
Viewer::m_equalScaling
bool m_equalScaling
Definition:
trackplotter.h:31
Viewer::fVSlider
TGDoubleSlider * fVSlider
Definition:
trackplotter.h:39
Viewer::m_showDAFinfo
bool m_showDAFinfo
Definition:
trackplotter.h:32
Viewer::fHScale
TGaxis * fHScale
Definition:
trackplotter.h:37
xmax
double xmax
Definition:
listroot.cxx:61
Viewer::SetRange
void SetRange(Float_t xmin, Float_t ymin, Float_t xmax, Float_t ymax, Bool_t move_slider=kTRUE)
Definition:
trackplotter.cxx:525
Viewer::~Viewer
virtual ~Viewer()
Definition:
trackplotter.cxx:243
Viewer::fVScale
TGaxis * fVScale
Definition:
trackplotter.h:37
ymax
double ymax
Definition:
listroot.cxx:64
Generated on Fri Jan 10 2025 21:19:51 for ATLAS Offline Software by
1.8.18