30 const G4Transform3D& placementTransform):
34#if G4VERSION_NUMBER < 1100
35 scorerSize[0] = recipe.rOuter;
36 if (recipe.rInner > 0)
38 G4String msg =
"For Geant4 < v11.0, the cylindrical scoring mesh does not support rInner\n";
39 msg +=
"rInner: " + std::to_string(recipe.rInner) +
" mm in mesh \"" + name +
"\"";
42 scorerSize[1] = recipe.ScoringMeshZ();
44 scorerSize[0] = recipe.rInner;
45 scorerSize[1] = recipe.rOuter;
46 scorerSize[2] = recipe.ScoringMeshZ();
51 nSegment[0] = recipe.nBinsZ;
52 nSegment[1] = recipe.nBinsPhi;
53 nSegment[2] = recipe.nBinsR;
54 nEnergySegments = recipe.nBinsE;
55 SetNumberOfSegments(nSegment);
58 mapper =
new BDSHistBinMapper(fNSegment[0], fNSegment[1], fNSegment[2], nEnergySegments, recipe.energyAxis);
60 mapper =
new BDSHistBinMapper(fNSegment[0], fNSegment[1], fNSegment[2], nEnergySegments);