54 for(
size_t i=0;i<3;i++)
61 totalThickness = 2.0*
m;
63 calName[0] =
"Calor-AP";
64 calName[1] =
"Calor-BP";
65 calName[2] =
"Calor-CP";
81 void ExN07ParallelWorld::SetupGeometry()
101 calorLogical[i],calName[i],worldLogical,
false,i);
107 calorLogical[i],calName[i],worldLogical,
false,i);
117 layerLogical[i] =
new G4LogicalVolume(layerSolid,0,calName[i]+
"_LayerLog");
118 layerPhysical[i] =
new G4PVReplica(calName[i]+
"_Layer",layerLogical[i],calorLogical[i],
kRho,
119 numberOfLayers,0.5*
m/numberOfLayers);
124 void ExN07ParallelWorld::SetupDetectors()
133 epFilter->
add(particleName=
"e-");
134 epFilter->
add(particleName=
"e+");
136 for(
G4int i=0;i<3;i++)
138 G4String detName = calName[i]+
"_para";
168 if(serial==ser)
return;
170 if(!constructed)
return;
171 for(
G4int i=0;i<3;i++)