9 #include <phparameter/PHParameters.h>
13 #include <Geant4/G4GDMLParser.hh>
14 #include <Geant4/G4GDMLReadStructure.hh>
15 #include <Geant4/G4LogicalVolume.hh>
16 #include <Geant4/G4PVPlacement.hh>
17 #include <Geant4/G4RotationMatrix.hh>
18 #include <Geant4/G4String.hh>
19 #include <Geant4/G4SystemOfUnits.hh>
20 #include <Geant4/G4ThreeVector.hh>
21 #include <Geant4/G4VPhysicalVolume.hh>
31 , m_GDMPath(parameters->get_string_param(
"GDMPath"))
32 , m_TopVolName(parameters->get_string_param(
"TopVolName"))
33 , m_placeX(parameters->get_double_param(
"place_x") *
cm)
34 , m_placeY(parameters->get_double_param(
"place_y") *
cm)
35 , m_placeZ(parameters->get_double_param(
"place_z") *
cm)
36 , m_rotationX(parameters->get_double_param(
"rot_x") *
degree)
37 , m_rotationY(parameters->get_double_param(
"rot_y") *
degree)
38 , m_rotationZ(parameters->get_double_param(
"rot_z") *
degree)
39 , m_Active(parameters->get_int_param(
"active"))
40 , m_AbsorberActive(parameters->get_int_param(
"absorberactive"))
65 cout <<
" G4LBLVtxDetector::Construct:";
83 cout <<
"G4LBLVtxDetector::Construct - Fatal Error - failed to find G4LogicalVolume " <<
m_TopVolName <<
" - Print: ";
110 int added_to_active = 0;
115 if (
test.find(*iter) != string::npos)
122 if (!added_to_active)