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
TrackEfficHistos.h
Go to the documentation of this file.
1
#ifndef TRACKEFFICHISTOS_H
2
#define TRACKEFFICHISTOS_H
3
4
#include "
HistoManager.h
"
5
#include "
Track.h
"
6
#include "
CalCluster.h
"
7
#include "
Vertex.h
"
8
#include "
Particle.h
"
9
#include "
AnaHelpers.h
"
10
#include <string>
11
#include <vector>
12
13
class
TrackEfficHistos
:
public
HistoManager
{
14
15
public
:
16
17
TrackEfficHistos
(
const
std::string& inputName, std::shared_ptr<AnaHelpers> ah) :
18
HistoManager
(inputName)
19
{
20
m_name
= inputName;
21
_ah
=ah;
22
// _ah = std::make_shared<AnaHelpers>();
23
// BuildAxes();
24
}
17
TrackEfficHistos
(
const
std::string& inputName, std::shared_ptr<AnaHelpers> ah) : {
…
}
25
26
virtual
void
Define3DHistos
(){};
27
virtual
void
Define2DHistos
(){};
28
29
30
void
BuildAxes
(){};
31
32
void
FillEffPlots
(std::pair<CalCluster*,Track*> ele, std::pair<CalCluster*,Track*> pos,
float
weight = 1.);
33
void
FillPreSelectionPlots
(
CalCluster
*,
float
weight=1.);
34
void
FillPairSelectionPlots
(
CalCluster
* eleClu,
CalCluster
* posClu,
35
float
weight);
36
std::pair<CalCluster*, Track*>
getClusterTrackPair
(
CalCluster
* cluster,std::vector<Track*>& tracks,
float
weight=1.0);
37
void
FillEffPlots
(
Particle
* ele,
Particle
* pos,
float
weight=1.0);
38
void
SetCalTimeOffset
(
double
offset){
39
std::cout<<
"setting TrackEfficHistos::timeOffset_ = "
<<offset<<std::endl;
40
timeOffset_
= offset;
41
};
38
void
SetCalTimeOffset
(
double
offset) {
…
}
42
43
44
private
:
45
std::shared_ptr<AnaHelpers>
_ah
;
46
double
timeOffset_
{0.0};
47
// Vertices
48
// 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"};
49
50
//bool doTrkCompPlots{false};
51
52
};
13
class
TrackEfficHistos
:
public
HistoManager
{
…
};
53
54
#endif
//TRACKEFFIC_H
AnaHelpers.h
Helper class for hipster analysis.
CalCluster.h
HistoManager.h
Particle.h
Class used to encapsulate information about a particle.
Track.h
Class used to encapsulate track information.
Vertex.h
Class used to encapsulate Vertex information.
CalCluster
Definition
CalCluster.h:23
HistoManager
description
Definition
HistoManager.h:22
HistoManager::m_name
std::string m_name
description
Definition
HistoManager.h:331
Particle
Definition
Particle.h:24
TrackEfficHistos
Definition
TrackEfficHistos.h:13
TrackEfficHistos::FillEffPlots
void FillEffPlots(std::pair< CalCluster *, Track * > ele, std::pair< CalCluster *, Track * > pos, float weight=1.)
TrackEfficHistos::timeOffset_
double timeOffset_
Definition
TrackEfficHistos.h:46
TrackEfficHistos::Define3DHistos
virtual void Define3DHistos()
define additional 3D histo by hand
Definition
TrackEfficHistos.h:26
TrackEfficHistos::SetCalTimeOffset
void SetCalTimeOffset(double offset)
Definition
TrackEfficHistos.h:38
TrackEfficHistos::FillPairSelectionPlots
void FillPairSelectionPlots(CalCluster *eleClu, CalCluster *posClu, float weight)
Definition
TrackEfficHistos.cxx:174
TrackEfficHistos::Define2DHistos
virtual void Define2DHistos()
define additional 2D histo by hand
Definition
TrackEfficHistos.h:27
TrackEfficHistos::getClusterTrackPair
std::pair< CalCluster *, Track * > getClusterTrackPair(CalCluster *cluster, std::vector< Track * > &tracks, float weight=1.0)
Definition
TrackEfficHistos.cxx:205
TrackEfficHistos::FillPreSelectionPlots
void FillPreSelectionPlots(CalCluster *, float weight=1.)
Definition
TrackEfficHistos.cxx:158
TrackEfficHistos::TrackEfficHistos
TrackEfficHistos(const std::string &inputName, std::shared_ptr< AnaHelpers > ah)
Definition
TrackEfficHistos.h:17
TrackEfficHistos::BuildAxes
void BuildAxes()
Definition
TrackEfficHistos.h:30
TrackEfficHistos::_ah
std::shared_ptr< AnaHelpers > _ah
Definition
TrackEfficHistos.h:45
Generated by
1.9.8