Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lareventdisplay
lareventdisplay
EventDisplay
CalorPad.h
Go to the documentation of this file.
1
///
2
/// \file CalorPad.h
3
/// \brief Drawing pad showing calorimetric particle ID information
4
/// \author msoderbe@syr.edu
5
///
6
#ifndef EVD_CALORPAD_H
7
#define EVD_CALORPAD_H
8
9
#include "
lareventdisplay/EventDisplay/DrawingPad.h
"
10
11
#include <string>
12
13
class
TGraph;
14
15
namespace
evdb {
class
View2D; }
16
17
namespace
evd {
18
19
/// A drawing pad showing calorimetric particle ID information
20
21
class
CalorPad
:
public
DrawingPad
{
22
public
:
23
// Constructor, destructor.
24
CalorPad
(
const
char
*
name
,
const
char
* title,
25
double
x1,
double
y1,
26
double
x2,
double
y2,
27
int
curvetype);
28
~CalorPad
();
29
30
// Methods.
31
void
Draw
(
const
char
*
opt
=0);
32
void
DrawRefCurves
();
33
34
private
:
35
36
std::string
fROOTfile
;
37
TGraph *
dedx_range_pro
;
///< proton template
38
TGraph *
dedx_range_ka
;
///< kaon template
39
TGraph *
dedx_range_pi
;
///< pion template
40
TGraph *
dedx_range_mu
;
///< muon template
41
42
TGraph *
ke_range_pro
;
///< proton template
43
TGraph *
ke_range_ka
;
///< kaon template
44
TGraph *
ke_range_pi
;
///< pion template
45
TGraph *
ke_range_mu
;
///< muon template
46
int
fcurvetype
;
//dEdx vs. Res. range, or Kinetic Energy vs. range
47
48
evdb::View2D*
fView
;
///< Collection of graphics objects to render; text labels
49
50
};
51
}
52
53
#endif
54
////////////////////////////////////////////////////////////////////////
evd::CalorPad::DrawRefCurves
void DrawRefCurves()
Definition:
CalorPad.cxx:135
evd::CalorPad::fcurvetype
int fcurvetype
Definition:
CalorPad.h:46
evd::CalorPad::Draw
void Draw(const char *opt=0)
Definition:
CalorPad.cxx:94
evd::CalorPad::ke_range_pi
TGraph * ke_range_pi
pion template
Definition:
CalorPad.h:44
evd::CalorPad::fView
evdb::View2D * fView
Collection of graphics objects to render; text labels.
Definition:
CalorPad.h:48
evd::CalorPad::dedx_range_pi
TGraph * dedx_range_pi
pion template
Definition:
CalorPad.h:39
evd::CalorPad::fROOTfile
std::string fROOTfile
Definition:
CalorPad.h:36
DrawingPad.h
Base class for all event display drawing pads.
evd::CalorPad::CalorPad
CalorPad(const char *name, const char *title, double x1, double y1, double x2, double y2, int curvetype)
Definition:
CalorPad.cxx:44
evd::CalorPad
A drawing pad showing calorimetric particle ID information.
Definition:
CalorPad.h:21
evd::DrawingPad
Base class for event display drawing pads.
Definition:
DrawingPad.h:29
opt
then opt
Definition:
build_uboonedaq_datatypes.sh:43
evd::CalorPad::ke_range_ka
TGraph * ke_range_ka
kaon template
Definition:
CalorPad.h:43
evd::CalorPad::ke_range_pro
TGraph * ke_range_pro
proton template
Definition:
CalorPad.h:42
name
then echo fcl name
Definition:
sbndpoms_genfclwithrunnumber_maker.sh:220
evd::CalorPad::dedx_range_ka
TGraph * dedx_range_ka
kaon template
Definition:
CalorPad.h:38
evd::CalorPad::ke_range_mu
TGraph * ke_range_mu
muon template
Definition:
CalorPad.h:45
evd::CalorPad::dedx_range_mu
TGraph * dedx_range_mu
muon template
Definition:
CalorPad.h:40
evd::CalorPad::dedx_range_pro
TGraph * dedx_range_pro
proton template
Definition:
CalorPad.h:37
evd::CalorPad::~CalorPad
~CalorPad()
Definition:
CalorPad.cxx:78
Generated by
1.8.5