41 const G4int nReplicas,
54 message <<
"NULL pointer specified as mother volume." <<
G4endl
55 <<
"The world volume cannot be sliced or parameterised !";
56 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
61 if (pLogical == motherLogical)
63 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
72 message <<
"Replica or parameterised volume must be the only daughter !"
74 <<
" Mother physical volume: " << pMother->
GetName() <<
G4endl
75 <<
" Replicated volume: " << pName;
76 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
87 const G4int nReplicas,
96 if (pMotherLogical ==
nullptr)
99 message <<
"NULL pointer specified as mother volume for "
101 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
105 if (pLogical == pMotherLogical)
107 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
117 message <<
"Replica or parameterised volume must be the only daughter !"
119 <<
" Mother logical volume: " << pMotherLogical->
GetName()
121 <<
" Replicated volume: " << pName;
122 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
144 if (pMotherLogical ==
nullptr)
147 message <<
"NULL pointer specified as mother volume for "
149 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
153 if (pLogical == pMotherLogical)
155 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
182 message <<
"Replica or parameterised volume must be the only daughter !"
184 <<
" Mother logical volume: " << pMotherLogical->
GetName()
187 <<
" Existing 'sister': " << pMotherLogical->
GetDaughter(0)
189 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
196 const G4int nReplicas,
202 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0002",
208 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0002",
222 if (pRMat ==
nullptr)
224 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0003",
236 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0002",
359 if (pRMat ==
nullptr)
361 G4Exception(
"G4PVReplica::InitialiseWorker(...)",
"GeomVol0003",
373 G4Exception(
"G4PVReplica::InitialiseWorker(...)",
"GeomVol0002",