Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4HitEval.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4HitEval.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
// $Id: $
4
13
#ifndef G4MAIN_PHG4HITEVAL_H
14
#define G4MAIN_PHG4HITEVAL_H
15
16
#include "
PHG4Hitv1.h
"
17
18
class
PHG4Hit
;
19
class
PHObject
;
20
24
class
PHG4HitEval
:
public
PHG4Hitv1
25
{
26
public
:
27
PHG4HitEval
();
28
29
PHG4HitEval
(
const
PHG4Hit
*g4hit);
30
31
~PHG4HitEval
()
override
{}
32
33
void
CopyFrom
(
const
PHObject
*phobj)
override
;
34
35
float
36
get_eion
()
const override
37
{
38
return
eion
;
39
}
40
void
41
set_eion
(
const
float
f
)
override
42
{
43
eion
=
f
;
44
}
45
46
int
get_scint_id
()
const override
47
{
48
return
scint_id
;
49
}
50
51
void
52
set_scint_id
(
const
int
i
)
override
53
{
54
scint_id
=
i
;
55
}
56
57
float
58
get_light_yield
()
const override
59
{
60
return
light_yield
;
61
}
62
63
void
64
set_light_yield
(
float
lightYield)
override
65
{
66
light_yield
= lightYield;
67
}
68
69
float
70
get_path_length
()
const override
71
{
72
return
path_length
;
73
}
74
75
void
76
set_path_length
(
float
pathLength
)
override
77
{
78
path_length
=
pathLength
;
79
}
80
81
protected
:
82
float
eion
;
83
84
int
scint_id
;
85
87
float
light_yield
;
88
90
float
path_length
;
91
92
ClassDefOverride(
PHG4HitEval
, 1)
93
};
94
95
#endif
/* PHG4HITEVAL_H_ */
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4HitEval.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration