Geant4
10.01.p02
|
#include <G4PVReplica.hh>
Static Public Member Functions | |
static const G4PVRManager & | GetSubInstanceManager () |
Static Public Member Functions inherited from G4VPhysicalVolume | |
static const G4PVManager & | GetSubInstanceManager () |
Protected Attributes | |
EAxis | faxis |
G4int | fnReplicas |
G4double | fwidth |
G4double | foffset |
Protected Attributes inherited from G4VPhysicalVolume | |
G4int | instanceID |
Private Member Functions | |
void | CheckAndSetParameters (const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset) |
G4PVReplica (const G4PVReplica &) | |
G4PVReplica & | operator= (const G4PVReplica &) |
Private Attributes | |
G4int | fRegularStructureCode |
G4int | fRegularVolsId |
G4int | instanceID |
Static Private Attributes | |
static G4GEOM_DLL G4PVRManager | subInstanceManager |
Additional Inherited Members | |
Protected Member Functions inherited from G4VPhysicalVolume | |
void | InitialiseWorker (G4VPhysicalVolume *pMasterObject, G4RotationMatrix *pRot, const G4ThreeVector &tlate) |
void | TerminateWorker (G4VPhysicalVolume *pMasterObject) |
Static Protected Attributes inherited from G4VPhysicalVolume | |
static G4GEOM_DLL G4PVManager | subInstanceManager |
Definition at line 119 of file G4PVReplica.hh.
G4PVReplica::G4PVReplica | ( | const G4String & | pName, |
G4LogicalVolume * | pLogical, | ||
G4LogicalVolume * | pMother, | ||
const EAxis | pAxis, | ||
const G4int | nReplicas, | ||
const G4double | width, | ||
const G4double | offset = 0 |
||
) |
Definition at line 92 of file G4PVReplica.cc.
References G4LogicalVolume::AddDaughter(), CheckAndSetParameters(), G4GeomSplitter< T >::CreateSubInstance(), FatalException, G4endl, G4Exception(), G4MT_copyNo, G4LogicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), instanceID, G4VPhysicalVolume::SetMotherLogical(), and subInstanceManager.
G4PVReplica::G4PVReplica | ( | const G4String & | pName, |
G4LogicalVolume * | pLogical, | ||
G4VPhysicalVolume * | pMother, | ||
const EAxis | pAxis, | ||
const G4int | nReplicas, | ||
const G4double | width, | ||
const G4double | offset = 0 |
||
) |
Definition at line 45 of file G4PVReplica.cc.
References G4LogicalVolume::AddDaughter(), CheckAndSetParameters(), G4GeomSplitter< T >::CreateSubInstance(), FatalException, G4endl, G4Exception(), G4MT_copyNo, G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetNoDaughters(), instanceID, G4VPhysicalVolume::SetMotherLogical(), and subInstanceManager.
G4PVReplica::G4PVReplica | ( | __void__ & | a | ) |
Definition at line 184 of file G4PVReplica.cc.
References G4GeomSplitter< T >::CreateSubInstance(), G4MT_copyNo, instanceID, and subInstanceManager.
|
virtual |
Definition at line 192 of file G4PVReplica.cc.
References faxis, G4VPhysicalVolume::GetRotation(), and kPhi.
|
private |
|
private |
Definition at line 137 of file G4PVReplica.cc.
References FatalException, faxis, fnReplicas, foffset, fwidth, G4Exception(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, G4VPhysicalVolume::SetRotation(), and width.
Referenced by G4PVReplica().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 205 of file G4PVReplica.cc.
References G4MT_copyNo.
|
inline |
Definition at line 176 of file G4PVReplica.hh.
References instanceID.
|
virtual |
Reimplemented from G4VPhysicalVolume.
Definition at line 230 of file G4PVReplica.cc.
References fnReplicas.
Referenced by G4PVParameterised::CheckOverlaps(), G4GeometryWorkspace::CloneParameterisedSolids(), and export_G4PVReplica().
|
virtual |
Implements G4VPhysicalVolume.
Reimplemented in G4PVParameterised.
Definition at line 225 of file G4PVReplica.cc.
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 253 of file G4PVReplica.cc.
References fRegularVolsId.
|
virtual |
Implements G4VPhysicalVolume.
Reimplemented in G4PVParameterised.
Definition at line 235 of file G4PVReplica.cc.
References faxis, fnReplicas, foffset, and fwidth.
Referenced by G4tgbGeometryDumper::DumpPVReplica().
|
static |
Definition at line 265 of file G4PVReplica.cc.
References subInstanceManager.
Referenced by G4GeometryWorkspace::G4GeometryWorkspace().
void G4PVReplica::InitialiseWorker | ( | G4PVReplica * | pMasterObject | ) |
Definition at line 276 of file G4PVReplica.cc.
References FatalException, faxis, G4Exception(), G4MT_copyNo, G4VPhysicalVolume::InitialiseWorker(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, G4VPhysicalVolume::SetRotation(), G4GeomSplitter< T >::SlaveCopySubInstanceArray(), and subInstanceManager.
Referenced by G4GeometryWorkspace::InitialisePhysicalVolumes().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 200 of file G4PVReplica.cc.
|
virtual |
Implements G4VPhysicalVolume.
Reimplemented in G4PVParameterised.
Definition at line 220 of file G4PVReplica.cc.
Referenced by G4GeometryWorkspace::InitialisePhysicalVolumes().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 248 of file G4PVReplica.cc.
References fRegularVolsId.
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 215 of file G4PVReplica.cc.
|
private |
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 210 of file G4PVReplica.cc.
References G4MT_copyNo.
|
virtual |
Reimplemented in G4PVParameterised.
Definition at line 258 of file G4PVReplica.cc.
References fRegularVolsId.
Referenced by G4PVParameterised::SetRegularStructureId().
void G4PVReplica::TerminateWorker | ( | G4PVReplica * | pMasterObject | ) |
Definition at line 321 of file G4PVReplica.cc.
References faxis, G4VPhysicalVolume::GetRotation(), and kPhi.
Referenced by G4GeometryWorkspace::DestroyWorkspace().
|
protected |
Definition at line 199 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), G4PVParameterised::GetReplicationData(), GetReplicationData(), InitialiseWorker(), TerminateWorker(), and ~G4PVReplica().
|
protected |
Definition at line 200 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), GetMultiplicity(), G4PVParameterised::GetReplicationData(), and GetReplicationData().
|
protected |
Definition at line 201 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), G4PVParameterised::GetReplicationData(), and GetReplicationData().
|
private |
Definition at line 205 of file G4PVReplica.hh.
|
private |
Definition at line 206 of file G4PVReplica.hh.
Referenced by GetRegularStructureId(), IsRegularStructure(), and SetRegularStructureId().
|
protected |
Definition at line 201 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), G4PVParameterised::GetReplicationData(), and GetReplicationData().
|
private |
Definition at line 208 of file G4PVReplica.hh.
Referenced by G4PVReplica(), and GetInstanceID().
|
staticprivate |
Definition at line 210 of file G4PVReplica.hh.
Referenced by G4PVReplica(), GetSubInstanceManager(), and InitialiseWorker().