|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4VNestedParameterisation is a base class for parameterisations that use information from the parent volume to compute the material of a copy/instance of this volume. This is in addition to using the current replication number. Such a volume can be nested inside a placement volume or a parameterised volume. The user can modify the solid type, size or transformation using only the replication number of this parameterised volume; it is NOT allowed to change these attributes using information of the parent volumes, otherwise incorrect results will occur. More...
#include <G4VNestedParameterisation.hh>
G4VNestedParameterisation is a base class for parameterisations that use information from the parent volume to compute the material of a copy/instance of this volume. This is in addition to using the current replication number. Such a volume can be nested inside a placement volume or a parameterised volume. The user can modify the solid type, size or transformation using only the replication number of this parameterised volume; it is NOT allowed to change these attributes using information of the parent volumes, otherwise incorrect results will occur.
Definition at line 86 of file G4VNestedParameterisation.hh.
|
default |
Default Constructor & Destructor.
|
overridedefault |
|
inlineoverridevirtual |
Dispatch methods for the specific solids where parameterisation is allowed.
Reimplemented from G4VPVParameterisation.
Definition at line 160 of file G4VNestedParameterisation.hh.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 176 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 188 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 208 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 184 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 196 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 200 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 204 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 180 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 192 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 172 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 168 of file G4VNestedParameterisation.hh.
|
inlineoverridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 164 of file G4VNestedParameterisation.hh.
|
overridevirtual |
Method implemented in this class in terms of the above ComputeMaterial().
Reimplemented from G4VPVParameterisation.
Definition at line 57 of file G4VNestedParameterisation.cc.
|
pure virtual |
Computes the material for the 'currentVol' and replica number 'repNo'. It is a required method, as it is the reason for this class. Must cope with parentTouch=nullptr for navigator's SetupHierarchy().
| [in] | currentVol | Pointer to the current physical volume. |
| [in] | repNo | The copy number index. |
| [in] | parentTouch | Pointer to the touchable of the parent volume. |
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and ComputeMaterial().
|
overridevirtual |
Computes the solid for the 'thisVol' volume and replica number 'no'. To be optionally defined in derived classes, for parameterisation of the solid type.
| [in] | no | The copy number index. |
| [in] | thisVol | Pointer to the current physical volume. |
Reimplemented from G4VPVParameterisation.
Definition at line 37 of file G4VNestedParameterisation.cc.
|
overridepure virtual |
Computes the transformation for the 'currentPV' and replica number 'no'. It is a required method, as it is the reason for this class. Must cope with parentTouch=nullptr for navigator's SetupHierarchy().
| [in] | currentPV | Pointer to the current physical volume. |
| [in] | no | The copy number index. |
Implements G4VPVParameterisation.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
overridepure virtual |
Method to return a pointer to the material, given an index.
Implements G4VVolumeMaterialScanner.
|
overridevirtual |
Reimplemented from G4VPVParameterisation.
Definition at line 50 of file G4VNestedParameterisation.cc.
|
overridepure virtual |
Accessors needed to define materials for instances of a Nested Parameterisation. Eeach call should return the materials of all instances with the same mother/ancestor volume.
Implements G4VVolumeMaterialScanner.
|
overridevirtual |
Methods to identify nested parameterisations. Required in order to enable material scan for nested parameterisations.
Reimplemented from G4VPVParameterisation.
Definition at line 44 of file G4VNestedParameterisation.cc.