hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
c
d
f
i
j
l
m
n
p
r
s
u
Functions
c
d
f
i
m
n
r
s
u
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
analysis
include
TrackHistos.h
Go to the documentation of this file.
1
#ifndef TRACKHISTOS_H
2
#define TRACKHISTOS_H
3
4
#include "
HistoManager.h
"
5
#include "
Track.h
"
6
#include "
TrackerHit.h
"
7
#include "
Vertex.h
"
8
#include "
Particle.h
"
9
#include <string>
10
#include <vector>
11
17
class
TrackHistos
:
public
HistoManager
{
18
19
public
:
25
TrackHistos
(
const
std::string& inputName) :
HistoManager
(inputName) {
26
m_name
= inputName;
27
BuildAxes
();
28
}
25
TrackHistos
(
const
std::string& inputName) :
HistoManager
(inputName) {
…
}
29
34
virtual
void
Define3DHistos
(){};
35
40
virtual
void
Define2DHistos
();
41
46
void
BuildAxes
();
47
52
void
DefineTrkHitHistos
();
53
61
void
Fill1DTrack
(
Track
* track,
float
weight = 1.,
const
std::string& trkname =
""
);
62
70
void
Fill2DTrack
(
Track
* track,
float
weight = 1.,
const
std::string& trkname =
""
);
71
82
void
FillResidualHistograms
(
Track
* track,
int
ly,
double
res,
double
sigma);
83
90
void
Fill1DVertex
(
Vertex
* vtx,
float
weight = 1.);
91
104
void
Fill1DVertex
(
Vertex
* vtx,
Particle
* ele,
Particle
* pos,
Track
* ele_trk,
Track
* pos_trk,
float
weight = 1.);
105
113
void
Fill1DHistograms
(
Track
* track =
nullptr
,
Vertex
* vtx =
nullptr
,
float
weight = 1.);
114
121
void
Fill2DHistograms
(
Vertex
* vtx =
nullptr
,
float
weight = 1.);
122
130
void
Fill1DTrackTruth
(
Track
* track,
Track
* truth_track,
float
weight=1.,
const
std::string& =
""
);
131
139
void
FillTrackComparisonHistograms
(
Track
* track_x,
Track
* track_y,
float
weight = 1.);
140
146
void
doTrackComparisonPlots
(
bool
doplots) {
doTrkCompPlots
= doplots; };
147
148
private
:
150
std::vector<std::string>
vPs
{
"vtx_chi2"
,
"vtx_X"
,
"vtx_Y"
,
"vtx_Z"
,
"vtx_sigma_X"
,
"vtx_sigma_Y"
,
"vtx_sigma_Z"
,
"vtx_InvM"
,
"vtx_InvMErr"
};
151
153
bool
doTrkCompPlots
{
false
};
154
155
};
17
class
TrackHistos
:
public
HistoManager
{
…
};
156
157
#endif
//TRACKHISTOS_H
HistoManager.h
Particle.h
Class used to encapsulate information about a particle.
Track.h
Class used to encapsulate track information.
TrackerHit.h
Class used to encapsulate tracker hit information.
Vertex.h
Class used to encapsulate Vertex information.
HistoManager
description
Definition
HistoManager.h:22
HistoManager::m_name
std::string m_name
description
Definition
HistoManager.h:331
Particle
Definition
Particle.h:24
TrackHistos
description
Definition
TrackHistos.h:17
TrackHistos::Define3DHistos
virtual void Define3DHistos()
description
Definition
TrackHistos.h:34
TrackHistos::FillTrackComparisonHistograms
void FillTrackComparisonHistograms(Track *track_x, Track *track_y, float weight=1.)
description
Definition
TrackHistos.cxx:442
TrackHistos::TrackHistos
TrackHistos(const std::string &inputName)
Constructor.
Definition
TrackHistos.h:25
TrackHistos::Fill2DTrack
void Fill2DTrack(Track *track, float weight=1., const std::string &trkname="")
Fill 2D track.
Definition
TrackHistos.cxx:203
TrackHistos::FillResidualHistograms
void FillResidualHistograms(Track *track, int ly, double res, double sigma)
Fill residual histograms.
Definition
TrackHistos.cxx:464
TrackHistos::Fill1DHistograms
void Fill1DHistograms(Track *track=nullptr, Vertex *vtx=nullptr, float weight=1.)
Fill 1D histograms.
Definition
TrackHistos.cxx:343
TrackHistos::BuildAxes
void BuildAxes()
description
Definition
TrackHistos.cxx:6
TrackHistos::doTrkCompPlots
bool doTrkCompPlots
Definition
TrackHistos.h:153
TrackHistos::Fill1DVertex
void Fill1DVertex(Vertex *vtx, float weight=1.)
description
Definition
TrackHistos.cxx:310
TrackHistos::doTrackComparisonPlots
void doTrackComparisonPlots(bool doplots)
Compare tracks.
Definition
TrackHistos.h:146
TrackHistos::Define2DHistos
virtual void Define2DHistos()
description
Definition
TrackHistos.cxx:62
TrackHistos::Fill1DTrackTruth
void Fill1DTrackTruth(Track *track, Track *truth_track, float weight=1., const std::string &="")
Truth comparison.
Definition
TrackHistos.cxx:357
TrackHistos::Fill2DHistograms
void Fill2DHistograms(Vertex *vtx=nullptr, float weight=1.)
Fill 2D histograms.
Definition
TrackHistos.cxx:413
TrackHistos::vPs
std::vector< std::string > vPs
Definition
TrackHistos.h:150
TrackHistos::Fill1DTrack
void Fill1DTrack(Track *track, float weight=1., const std::string &trkname="")
Fill 1D track.
Definition
TrackHistos.cxx:228
TrackHistos::DefineTrkHitHistos
void DefineTrkHitHistos()
description
Definition
TrackHistos.cxx:8
Track
Definition
Track.h:32
Vertex
Definition
Vertex.h:22
Generated by
1.9.8