LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
HeaderPad.cxx
Go to the documentation of this file.
1
#include "
lareventdisplay/EventDisplay/HeaderPad.h
"
7
#include "
lareventdisplay/EventDisplay/HeaderDrawer.h
"
8
#include "
nuevdb/EventDisplayBase/View2D.h
"
9
10
#include "TPad.h"
11
12
namespace
evd
{
13
14
//static const int kTPAD = 0;
15
//static const int kQPAD = 1;
16
//static const int kRAW = 0;
17
//static const int kCALIB = 1;
18
//static const int kPE = 2;
19
//static const int kTNS = 3;
20
21
//......................................................................
22
23
HeaderPad::HeaderPad
(
const
char
* nm,
24
const
char
* ti,
25
double
x1
,
26
double
y1
,
27
double
x2
,
28
double
y2
,
29
const
char
*
/*opt*/
)
30
:
DrawingPad
(nm, ti, x1, y1, x2, y2)
31
{
32
fView
=
new
evdb::View2D
();
33
}
34
35
//......................................................................
36
37
HeaderPad::~HeaderPad
()
38
{
39
if
(
fView
!= 0) {
40
delete
fView
;
41
fView
= 0;
42
}
43
}
44
45
//......................................................................
46
47
void
HeaderPad::Draw
(
const
char
*
/* opt */
)
48
{
49
fView
->
Clear
();
50
51
this->
HeaderDraw
()->
Header
(
fView
);
52
53
this->
Pad
()->Clear();
54
this->
Pad
()->cd();
55
fView
->
Draw
();
56
}
57
58
//......................................................................
59
60
}
// namespace
evd::HeaderDrawer::Header
void Header(evdb::View2D *view)
Definition:
HeaderDrawer.cxx:21
evd::HeaderPad::fView
evdb::View2D * fView
Collection of drawn objects.
Definition:
HeaderPad.h:28
HeaderDrawer.h
Render the objects from the Simulation package.
evd::DrawingPad::HeaderDraw
HeaderDrawer * HeaderDraw()
Definition:
DrawingPad.cxx:88
y1
Float_t y1[n_points_granero]
Definition:
compare.C:5
x1
Float_t x1[n_points_granero]
Definition:
compare.C:5
View2D.h
A collection of drawable 2-D objects.
evdb::View2D::Clear
void Clear()
Definition:
View2D.cxx:109
y2
Float_t y2[n_points_geant4]
Definition:
compare.C:26
HeaderPad.h
Drawing pad for time or charge histograms.
evd::HeaderPad::HeaderPad
HeaderPad(const char *nm, const char *ti, double x1, double y1, double x2, double y2, const char *opt)
Definition:
HeaderPad.cxx:23
evd
LArSoft includes.
Definition:
AnalysisBaseDrawer.cxx:27
evdb::View2D::Draw
void Draw()
Definition:
View2D.cxx:89
evd::DrawingPad
Base class for event display drawing pads.
Definition:
DrawingPad.h:27
evd::DrawingPad::Pad
TPad * Pad()
Definition:
DrawingPad.h:31
evd::HeaderPad::Draw
void Draw(const char *opt="")
Definition:
HeaderPad.cxx:47
x2
Float_t x2[n_points_geant4]
Definition:
compare.C:26
evd::HeaderPad::~HeaderPad
~HeaderPad()
Definition:
HeaderPad.cxx:37
evdb::View2D
Definition:
View2D.h:22
lareventdisplay
v09_11_05
source
lareventdisplay
EventDisplay
HeaderPad.cxx
Generated on Thu May 2 2024 20:59:38 for LArSoft by
1.8.11