|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4VExternalPhysicalVolume is a base class to represent a physical volume managed by an external sub-navigator. More...
#include <G4VExternalPhysicalVolume.hh>
Additional Inherited Members | |
| Static Public Member Functions inherited from G4VPhysicalVolume | |
| static const G4PVManager & | GetSubInstanceManager () |
| static void | Clean () |
| Protected Member Functions inherited from G4VPhysicalVolume | |
| void | InitialiseWorker (G4VPhysicalVolume *pMasterObject, G4RotationMatrix *pRot, const G4ThreeVector &tlate) |
| void | TerminateWorker (G4VPhysicalVolume *pMasterObject) |
| Protected Attributes inherited from G4VPhysicalVolume | |
| G4int | instanceID |
| Static Protected Attributes inherited from G4VPhysicalVolume | |
| static G4GEOM_DLL G4PVManager | subInstanceManager |
G4VExternalPhysicalVolume is a base class to represent a physical volume managed by an external sub-navigator.
Definition at line 50 of file G4VExternalPhysicalVolume.hh.
| G4VExternalPhysicalVolume::G4VExternalPhysicalVolume | ( | G4RotationMatrix * | pRot, |
| const G4ThreeVector & | tlate, | ||
| G4LogicalVolume * | pCurrentLogical, | ||
| const G4String & | pName, | ||
| G4VPhysicalVolume * | pMother ) |
Constructor implementing G4VPhysicalVolume signature.
| [in] | pRot | The pointer to the rotation in the mother volume. |
| [in] | tlate | Traslation vector in the mother volume. |
| [in] | pCurrentLogical | Pointer to its logical volume. |
| [in] | pName | The volume name. |
| [in] | pMotherLogical | Pointer to the logical volume of the mother. |
Definition at line 40 of file G4VExternalPhysicalVolume.cc.
Referenced by G4VExternalPhysicalVolume(), and operator=().
| G4VExternalPhysicalVolume::G4VExternalPhysicalVolume | ( | __void__ & | a | ) |
Fake default constructor for usage restricted to direct object persistency for clients requiring preallocation of memory for persistifiable objects.
Definition at line 66 of file G4VExternalPhysicalVolume.cc.
|
delete |
Copy constructor and assignment operator not allowed.
|
overridedefault |
Default Destructor.
|
overridepure virtual |
Verifies if the placed volume is overlapping with existing daughters or with the mother volume. Provides default resolution for the number of points to be generated and verified. A tolerance for the precision of the overlap check can be specified, by default it is set to maximum precision. Reports a maximum of overlaps errors according to parameter in input.
| [in] | res | The number of points to generate on volume's surface. |
| [in] | tol | The precision tolerance for the overlap check, below which to ignore overlaps (deafult is maximim precision). |
| [in] | verbose | Verbosity mode (default is true). |
| [in] | maxErr | Maximum of overlaps errors to report (default is 1). |
Reimplemented from G4VPhysicalVolume.
|
finalvirtual |
Returns a pointer to the replicas parameterisation object/algorithm (able to compute dimensions and transformations of replicas), or a null pointer if not applicable.
Implements G4VPhysicalVolume.
Definition at line 106 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Returns non-zero code in case the underlying volume structure is regular, voxel-like. The value is an identifier for the structure type. If non-zero the volume is a candidate for specialised navigation such as 'nearest neighbour' directly on volumes.
Implements G4VPhysicalVolume.
Definition at line 135 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Returns the replication information. No-op for non replicated volumes.
| [in,out] | axis | The axis of replication/parameterisation. |
| [in,out] | nReplicas | The number of replicated/parameterised objects. |
| [in,out] | width | The width of replicated object. |
| [in,out] | offset | The optional offset distance from mother's border. |
| [in,out] | consuming | Flag of replica characterisation (always true for pure replicas). |
Implements G4VPhysicalVolume.
Definition at line 114 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Stub methods, unused for placed volumes.
Implements G4VPhysicalVolume.
Definition at line 74 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Returns true if the volume is parameterised (single object instance represents many real parameterised volumes), else false.
Implements G4VPhysicalVolume.
Definition at line 98 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Used only for specialised repeated volumes. Always false with Id 0.
Implements G4VPhysicalVolume.
Definition at line 125 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Returns true if the volume is replicated (single object instance represents many real volumes), else false.
Implements G4VPhysicalVolume.
Definition at line 90 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
delete |
| void G4VExternalPhysicalVolume::SetMany | ( | G4bool | overlap | ) |
Definition at line 82 of file G4VExternalPhysicalVolume.cc.
Referenced by CheckOverlaps().
|
finalvirtual |
Returns the volume type characterisation, i.e. kExternal.
Implements G4VPhysicalVolume.
Definition at line 145 of file G4VExternalPhysicalVolume.cc.