ECCE @ EIC Software
 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
20 {
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 }