ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHG4ScintillatorSlatv1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4ScintillatorSlatv1.cc
1
#include "
PHG4ScintillatorSlatv1.h
"
2
3
#include <
g4main/PHG4HitDefs.h
>
// for keytype
4
5
using namespace
std;
6
7
PHG4ScintillatorSlatv1::PHG4ScintillatorSlatv1
():
8
key(0xFFFFFFFF),
9
edep
(0),
10
eion(0),
11
light_yield(0)
12
{}
13
14
short
15
PHG4ScintillatorSlatv1::get_row
()
const
16
{
17
return
(
key
&0xFFFF);
18
}
19
20
short
21
PHG4ScintillatorSlatv1::get_column
()
const
22
{
23
return
(
key
>>16);
24
}
25
26
void
27
PHG4ScintillatorSlatv1::identify
(std::ostream& os)
const
28
{
29
os <<
"row "
<<
get_row
() <<
" "
;
30
os <<
" column "
<<
get_column
() <<
" "
;
31
os <<
" energy deposition "
<<
get_edep
();
32
os <<
" ionization energy "
<<
get_eion
();
33
os <<
" light yield "
<<
get_light_yield
();
34
os << endl;
35
}
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4ScintillatorSlatv1.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:41
using
1.8.2 with
ECCE GitHub integration