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
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
short
PHG4ScintillatorSlatv1::get_row
()
const
6
{
7
return
(
key
& 0xFFFF);
8
}
9
10
short
PHG4ScintillatorSlatv1::get_column
()
const
11
{
12
return
(
key
>> 16);
13
}
14
15
void
PHG4ScintillatorSlatv1::identify
(std::ostream&
os
)
const
16
{
17
os <<
"row "
<<
get_row
() <<
" "
;
18
os <<
" column "
<<
get_column
() <<
" "
;
19
os <<
" energy deposition "
<<
get_edep
();
20
os <<
" ionization energy "
<<
get_eion
();
21
os <<
" light yield "
<<
get_light_yield
();
22
os << std::endl;
23
}
coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4ScintillatorSlatv1.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:13
using
1.8.2 with
sPHENIX GitHub integration