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
MCEcalHit.cxx
Go to the documentation of this file.
1
7
#include "
MCEcalHit.h
"
8
9
ClassImp
(
MCEcalHit
)
10
11
MCEcalHit::MCEcalHit
()
12
: TObject() {
13
}
9
ClassImp
(
MCEcalHit
) {
…
}
14
15
MCEcalHit::~MCEcalHit
() {
16
Clear
();
17
}
15
MCEcalHit::~MCEcalHit
() {
…
}
18
19
void
MCEcalHit::Clear
(Option_t*
/* options */
) {
20
TObject::Clear();
21
}
19
void
MCEcalHit::Clear
(Option_t*
/* options */
) {
…
}
22
23
void
MCEcalHit::setPosition
(
const
double
* position,
bool
rotate) {
24
25
//svt angle: it's already with minus sign.
26
float
svtAngle = 30.5e-3;
27
//Rotate the the input position automatically to match with the SVT tracker system
28
if
(rotate)
29
{
30
y_
= position[2];
31
z_
= position[1] * sin(svtAngle) + position[0]*cos(svtAngle);
32
x_
= position[1] * cos(svtAngle) - position[0]*sin(svtAngle);
33
}
34
else
{
35
x_
= position[0];
36
y_
= position[1];
37
z_
= position[2];
38
}
39
}
23
void
MCEcalHit::setPosition
(
const
double
* position,
bool
rotate) {
…
}
ClassImp
ClassImp(MCEcalHit) MCEcalHit
Definition
MCEcalHit.cxx:9
MCEcalHit.h
Class used to encapsulate mc Ecal hit information.
MCEcalHit
Definition
MCEcalHit.h:22
MCEcalHit::MCEcalHit
MCEcalHit()
MCEcalHit::setPosition
void setPosition(const double *position, bool rotate=false)
Definition
MCEcalHit.cxx:23
MCEcalHit::Clear
void Clear(Option_t *option="")
Definition
MCEcalHit.cxx:19
MCEcalHit::z_
double z_
Definition
MCEcalHit.h:115
MCEcalHit::y_
double y_
Definition
MCEcalHit.h:112
MCEcalHit::x_
double x_
Definition
MCEcalHit.h:109
MCEcalHit::~MCEcalHit
virtual ~MCEcalHit()
Definition
MCEcalHit.cxx:15
Generated by
1.9.8