69 DivNDIV, pMotherLogical, pLogical);
140 if(pMotherLogical ==
nullptr)
143 message <<
"Invalid setup." <<
G4endl
144 <<
"NULL pointer specified as mother! Volume: " <<
GetName();
145 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
"GeomDiv0002",
148 if(pLogical == pMotherLogical)
151 message <<
"Invalid setup." <<
G4endl
152 <<
"Cannot place a volume inside itself! Volume: " <<
GetName();
153 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
"GeomDiv0002",
163 if( msolType != dsolType && ( msolType !=
"G4Trd" || dsolType !=
"G4Trap" ) )
166 message <<
"Invalid setup." <<
G4endl
167 <<
"Incorrect solid type for division of volume: "
169 <<
" It is: " << msolType
170 <<
", while it should be: " << dsolType;
171 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
178 width, half_gap, offset, divType);
190 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
"GeomDiv0002",
203 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
"GeomDiv0002",
206 if(
fwidth < 2.*half_gap )
208 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
"GeomDiv0002",
235 G4Exception(
"G4ReplicatedSlice::CheckAndSetParameters()",
"GeomDiv0002",
339 if (mSolidType ==
"G4ReflectedSolid")
347 if( mSolidType ==
"G4Box" )
353 offset, mSolid, divType );
357 offset, mSolid, divType );
361 offset, mSolid, divType );
368 else if( mSolidType ==
"G4Tubs" )
374 offset, mSolid, divType );
378 offset, mSolid, divType );
382 offset, mSolid, divType );
389 else if( mSolidType ==
"G4Cons" )
395 offset, mSolid, divType );
399 offset, mSolid, divType );
403 offset, mSolid, divType );
410 else if( mSolidType ==
"G4Trd" )
416 offset, mSolid, divType );
420 offset, mSolid, divType );
424 offset, mSolid, divType );
431 else if( mSolidType ==
"G4Para" )
437 offset, mSolid, divType );
441 offset, mSolid, divType );
445 offset, mSolid, divType );
500 message <<
"Solid type not supported: " << mSolidType <<
"." <<
G4endl
501 <<
"Divisions for " << mSolidType <<
" not implemented.";
502 G4Exception(
"G4ReplicatedSlice::SetParameterisation()",
"GeomDiv0001",
529 error +=
"Radial3D.";
537 G4Exception(
"G4ReplicatedSlice::ErrorInAxis()",
"GeomDiv0002",