44 const G4int nReplicas,
58 message <<
"NULL pointer specified as mother volume." <<
G4endl
59 <<
"The world volume cannot be sliced or parameterised !";
60 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
65 if (pLogical == motherLogical)
67 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
76 message <<
"Replica or parameterised volume must be the only daughter !"
78 <<
" Mother physical volume: " << pMother->
GetName() <<
G4endl
79 <<
" Replicated volume: " << pName;
80 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
91 const G4int nReplicas,
103 message <<
"NULL pointer specified as mother volume for "
105 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
109 if (pLogical == pMotherLogical)
111 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
120 message <<
"Replica or parameterised volume must be the only daughter !"
122 <<
" Mother logical volume: " << pMotherLogical->
GetName()
124 <<
" Replicated volume: " << pName;
125 G4Exception(
"G4PVReplica::G4PVReplica()",
"GeomVol0002",
133 const G4int nReplicas,
139 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0002",
145 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0002",
161 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0003",
173 G4Exception(
"G4PVReplica::CheckAndSetParameters()",
"GeomVol0002",
181 foffset(0.), fRegularStructureCode(0), fRegularVolsId(0)
294 G4Exception(
"G4PVReplica::InitialiseWorker(...)",
"GeomVol0003",
306 G4Exception(
"G4PVReplica::InitialiseWorker(...)",
"GeomVol0002",
G4int GetRegularStructureId() const
void SetMotherLogical(G4LogicalVolume *pMother)
CLHEP::Hep3Vector G4ThreeVector
std::vector< ExP01TrackerHit * > a
G4LogicalVolume * GetLogicalVolume() const
void InitialiseWorker(G4PVReplica *pMasterObject)
static G4GEOM_DLL G4PVRManager subInstanceManager
virtual G4bool IsParameterised() const
CLHEP::HepRotation G4RotationMatrix
void message(RunManager *runmanager)
G4int CreateSubInstance()
G4int GetNoDaughters() const
G4PVReplica(const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset=0)
G4bool IsRegularStructure() const
virtual void SetRegularStructureId(G4int Code)
void TerminateWorker(G4PVReplica *pMasterObject)
virtual G4int GetCopyNo() const
static const G4PVRManager & GetSubInstanceManager()
G4bool IsReplicated() const
void AddDaughter(G4VPhysicalVolume *p)
virtual void GetReplicationData(EAxis &axis, G4int &nReplicas, G4double &width, G4double &offset, G4bool &consuming) const
virtual G4int GetMultiplicity() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual void SetCopyNo(G4int CopyNo)
virtual G4VPVParameterisation * GetParameterisation() const
void SlaveCopySubInstanceArray()
void CheckAndSetParameters(const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset)
void SetRotation(G4RotationMatrix *)
const G4RotationMatrix * GetRotation() const
void InitialiseWorker(G4VPhysicalVolume *pMasterObject, G4RotationMatrix *pRot, const G4ThreeVector &tlate)
const G4String & GetName() const
const G4String & GetName() const