EIC Software
Reference for
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
PHG4CylinderGeomv1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHG4CylinderGeomv1.cc
1
#include "
PHG4CylinderGeomv1.h
"
2
3
#include <phparameter/PHParameters.h>
4
5
void
6
PHG4CylinderGeomv1::identify
(std::ostream& os)
const
7
{
8
os <<
"PHG4CylinderGeomv1: layer: "
<<
layer
9
<<
", radius: "
<<
radius
10
<<
", thickness: "
<<
thickness
11
<<
", zmin: "
<<
zmin
12
<<
", zmax: "
<<
zmax
13
<< std::endl;
14
return
;
15
}
16
17
18
void
19
PHG4CylinderGeomv1::ImportParameters
(
const
PHParameters
& param)
20
{
21
PHG4CylinderGeom::ImportParameters
(param);
22
23
if
(param.
exist_int_param
(
"layer"
))
layer
= param.
get_int_param
(
"layer"
);
24
if
(param.
exist_double_param
(
"radius"
))
radius
= param.
get_double_param
(
"radius"
);
25
if
(param.
exist_double_param
(
"zmin"
))
zmin
= param.
get_double_param
(
"zmin"
);
26
if
(param.
exist_double_param
(
"zmax"
))
zmax
= param.
get_double_param
(
"zmax"
);
27
if
(param.
exist_double_param
(
"thickness"
))
thickness
= param.
get_double_param
(
"thickness"
);
28
29
return
;
30
}
fun4all_coresoftware
blob
master
simulation
g4simulation
g4detectors
PHG4CylinderGeomv1.cc
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:48
using
1.8.2 with
EIC GitHub integration