31 #include <phparameter/PHParameters.h>
35 #include <Geant4/G4Box.hh>
36 #include <Geant4/G4Color.hh>
37 #include <Geant4/G4LogicalVolume.hh>
38 #include <Geant4/G4Material.hh>
39 #include <Geant4/G4PVPlacement.hh>
40 #include <Geant4/G4SystemOfUnits.hh>
41 #include <Geant4/G4VisAttributes.hh>
42 #include <Geant4/G4NistManager.hh>
43 #include <Geant4/G4Material.hh>
57 const std::string &dnam)
59 , m_Params(parameters)
68 set<G4LogicalVolume *>::const_iterator iter_active
71 set<G4LogicalVolume *>::const_iterator iter_absorber
100 G4VSolid *solidbox =
new G4Box(
"ZDCSolid", xdim / 2., ydim / 2., zdim / 2.);
117 double endz = -zdim/2.;
119 endz = mzs->ConstructCrystalTowers(-xdim/2.,-ydim/2.,-zdim/2.,
120 xdim/2., ydim/2., zdim/2., gPhy);
122 endz = mzs->ConstructEMLayers(-xdim *0.5, -ydim*0.5, endz,
123 xdim*0.5, ydim*0.5, zdim*0.5, gPhy);
125 endz = mzs->ConstructHCSiliconLayers(-xdim *0.5, -ydim*0.5, endz + 20.*
mm,
126 xdim*0.5, ydim*0.5, zdim*0.5, gPhy);
128 endz = mzs->ConstructHCSciLayers(-xdim *0.5, -ydim*0.5, endz + 20.*
mm,
129 xdim*0.5, ydim*0.5, zdim*0.5, gPhy);
148 std::cout <<
"EICG4ZDC Detector:" << std::endl;
149 if (what ==
"ALL" || what ==
"VOLUME")
151 std::cout <<
"Version 1.1" << std::endl;
152 std::cout <<
"Parameters:" << std::endl;