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
event
src
Particle.cxx
Go to the documentation of this file.
1
7
#include "
Particle.h
"
8
9
ClassImp
(
Particle
)
10
11
Particle::Particle
()
12
: TObject() {
13
}
9
ClassImp
(
Particle
) {
…
}
14
15
Particle::~Particle
() {
16
Clear
();
17
}
15
Particle::~Particle
() {
…
}
18
19
void
Particle::Clear
(Option_t*
/* option */
) {
20
TObject::Clear();
21
}
19
void
Particle::Clear
(Option_t*
/* option */
) {
…
}
22
23
void
Particle::setMomentum
(
const
double
* momentum) {
24
px_
= momentum[0];
25
py_
= momentum[1];
26
pz_
= momentum[2];
27
}
23
void
Particle::setMomentum
(
const
double
* momentum) {
…
}
28
29
std::vector<double>
Particle::getMomentum
()
const
{
return
{
px_
,
py_
,
pz_
}; }
30
31
void
Particle::setCorrMomentum
(
const
double
* momentum) {
32
px_corr_
= momentum[0];
33
py_corr_
= momentum[1];
34
pz_corr_
= momentum[2];
35
}
31
void
Particle::setCorrMomentum
(
const
double
* momentum) {
…
}
36
37
std::vector<double>
Particle::getCorrMomentum
()
const
{
return
{
px_
,
py_
,
pz_
}; };
ClassImp
ClassImp(Particle) Particle
Definition
Particle.cxx:9
Particle.h
Class used to encapsulate information about a particle.
Particle
Definition
Particle.h:24
Particle::py_corr_
double py_corr_
Definition
Particle.h:192
Particle::getMomentum
std::vector< double > getMomentum() const
Definition
Particle.cxx:29
Particle::px_
double px_
Definition
Particle.h:183
Particle::py_
double py_
Definition
Particle.h:189
Particle::px_corr_
double px_corr_
Definition
Particle.h:186
Particle::~Particle
~Particle()
Definition
Particle.cxx:15
Particle::getCorrMomentum
std::vector< double > getCorrMomentum() const
Definition
Particle.cxx:37
Particle::Clear
void Clear(Option_t *option="")
Definition
Particle.cxx:19
Particle::setMomentum
void setMomentum(const double *momentum)
Definition
Particle.cxx:23
Particle::Particle
Particle()
Particle::pz_corr_
double pz_corr_
Definition
Particle.h:198
Particle::setCorrMomentum
void setCorrMomentum(const double *momentum)
Definition
Particle.cxx:31
Particle::pz_
double pz_
Definition
Particle.h:195
Generated by
1.9.8