Geant4
10.00.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 91 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 183 of file G4PVReplica.cc.
References G4GeomSplitter< T >::CreateSubInstance(), G4MT_copyNo, instanceID, and subInstanceManager.
|
virtual |
Definition at line 191 of file G4PVReplica.cc.
References faxis, G4VPhysicalVolume::GetRotation(), and kPhi.
|
private |
|
private |
Definition at line 136 of file G4PVReplica.cc.
References FatalException, faxis, fnReplicas, foffset, fwidth, G4Exception(), kPhi, kRho, kUndefined, kXAxis, kYAxis, kZAxis, G4VPhysicalVolume::SetRotation(), and width.
Referenced by G4PVReplica(), and InitialiseWorker().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 204 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 229 of file G4PVReplica.cc.
References fnReplicas.
Referenced by G4PVParameterised::CheckOverlaps(), G4GeometryWorkspace::CloneParameterisedSolids(), and export_G4PVReplica().
|
virtual |
Implements G4VPhysicalVolume.
Reimplemented in G4PVParameterised.
Definition at line 224 of file G4PVReplica.cc.
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 254 of file G4PVReplica.cc.
References fRegularVolsId.
|
virtual |
Implements G4VPhysicalVolume.
Reimplemented in G4PVParameterised.
Definition at line 236 of file G4PVReplica.cc.
References faxis, fnReplicas, foffset, and fwidth.
Referenced by G4tgbGeometryDumper::DumpPVReplica().
|
static |
Definition at line 275 of file G4PVReplica.cc.
References subInstanceManager.
Referenced by G4GeometryWorkspace::G4GeometryWorkspace().
void G4PVReplica::InitialiseWorker | ( | G4PVReplica * | pMasterObject | ) |
Definition at line 287 of file G4PVReplica.cc.
References CheckAndSetParameters(), faxis, fnReplicas, foffset, fwidth, G4MT_copyNo, G4VPhysicalVolume::InitialiseWorker(), G4GeomSplitter< T >::SlaveCopySubInstanceArray(), and subInstanceManager.
Referenced by G4GeometryWorkspace::InitialisePhysicalVolumes().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 199 of file G4PVReplica.cc.
|
virtual |
Implements G4VPhysicalVolume.
Reimplemented in G4PVParameterised.
Definition at line 219 of file G4PVReplica.cc.
Referenced by G4GeometryWorkspace::InitialisePhysicalVolumes().
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 249 of file G4PVReplica.cc.
References fRegularVolsId.
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 214 of file G4PVReplica.cc.
|
private |
|
virtual |
Implements G4VPhysicalVolume.
Definition at line 209 of file G4PVReplica.cc.
References G4MT_copyNo.
|
virtual |
Reimplemented in G4PVParameterised.
Definition at line 259 of file G4PVReplica.cc.
References fRegularVolsId.
Referenced by G4PVParameterised::SetRegularStructureId().
void G4PVReplica::TerminateWorker | ( | G4PVReplica * | pMasterObject | ) |
Definition at line 300 of file G4PVReplica.cc.
References faxis, G4VPhysicalVolume::GetRotation(), and kPhi.
Referenced by G4GeometryWorkspace::DestroyWorkspace().
|
protected |
Definition at line 192 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), G4PVParameterised::GetReplicationData(), GetReplicationData(), InitialiseWorker(), TerminateWorker(), and ~G4PVReplica().
|
protected |
Definition at line 193 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), GetMultiplicity(), G4PVParameterised::GetReplicationData(), GetReplicationData(), and InitialiseWorker().
|
protected |
Definition at line 194 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), G4PVParameterised::GetReplicationData(), GetReplicationData(), and InitialiseWorker().
|
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 194 of file G4PVReplica.hh.
Referenced by CheckAndSetParameters(), G4PVParameterised::GetReplicationData(), GetReplicationData(), and InitialiseWorker().
|
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().