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
include
CalHit.h
Go to the documentation of this file.
1
7
#ifndef _CALORIMETER_HIT_H_
8
#define _CALORIMETER_HIT_H_
9
10
//----------//
11
// ROOT //
12
//----------//
13
#include <TObject.h>
14
15
class
CalHit
:
public
TObject {
16
17
public
:
18
20
CalHit
();
21
23
~CalHit
();
24
26
void
Clear
(Option_t* option=
""
);
27
33
void
setEnergy
(
const
double
energy){
energy_
= energy; };
34
36
double
getEnergy
()
const
{
return
energy_
; };
37
43
void
setTime
(
const
double
time) {
time_
= time; };
44
46
double
getTime
()
const
{
return
time_
; };
47
54
void
setCrystalIndices
(
int
index_x_
,
int
index_y_
);
55
57
std::vector<int>
getCrystalIndices
()
const
{
return
{
index_x_
,
index_y_
}; }
58
59
private
:
60
62
int
index_x_
{-9999};
63
65
int
index_y_
{-9999};
66
68
double
energy_
{-9999};
69
71
double
time_
{0};
72
73
ClassDef
(
CalHit
, 1);
74
};
15
class
CalHit
:
public
TObject {
…
};
75
76
#endif
CalHit
Definition
CalHit.h:15
CalHit::energy_
double energy_
Definition
CalHit.h:68
CalHit::getCrystalIndices
std::vector< int > getCrystalIndices() const
Definition
CalHit.h:57
CalHit::index_y_
int index_y_
Definition
CalHit.h:65
CalHit::setCrystalIndices
void setCrystalIndices(int index_x_, int index_y_)
Definition
CalHit.cxx:23
CalHit::ClassDef
ClassDef(CalHit, 1)
CalHit::time_
double time_
Definition
CalHit.h:71
CalHit::getEnergy
double getEnergy() const
Definition
CalHit.h:36
CalHit::CalHit
CalHit()
CalHit::Clear
void Clear(Option_t *option="")
Definition
CalHit.cxx:19
CalHit::setEnergy
void setEnergy(const double energy)
Definition
CalHit.h:33
CalHit::setTime
void setTime(const double time)
Definition
CalHit.h:43
CalHit::index_x_
int index_x_
Definition
CalHit.h:62
CalHit::~CalHit
~CalHit()
Definition
CalHit.cxx:15
CalHit::getTime
double getTime() const
Definition
CalHit.h:46
Generated by
1.9.8