12 #ifndef G4DETECTORS_PHG4SECTORCONSTRUCTOR_H
13 #define G4DETECTORS_PHG4SECTORCONSTRUCTOR_H
15 #include <Geant4/G4PhysicalConstants.hh>
16 #include <Geant4/G4String.hh>
17 #include <Geant4/G4SystemOfUnits.hh>
18 #include <Geant4/G4Types.hh>
43 const std::string &_name,
46 const std::string &_material,
52 double _percentage_filled,
159 assert(maxPolarAngle >= 0);
160 assert(maxPolarAngle <=
pi);
168 assert(minPolarAngle >= 0);
169 assert(minPolarAngle <=
pi);
177 assert(normalPolarAngle >= 0);
178 assert(normalPolarAngle <=
pi);
217 return 2. * atan(exp(-eta));
229 for (t_layer_list::const_iterator
it =
layer_list.begin();
239 std::string _material,
241 bool _active =
false,
242 double _percentage_filled = 100
246 Layer(_name, _material, _depth, _percentage_filled, _active));
275 const double expansion_length = 18 *
cm, std::string radiator =
"Default");
376 const std::string &name,
377 const double start_z,