|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4PVDivisionFactory implements the interfaces for creating volume divisions (defined in G4VPVDivisionFactory) for G4PVDivision type. More...
#include <G4PVDivisionFactory.hh>
Public Member Functions | |
| ~G4PVDivisionFactory () override=default | |
| G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset) override |
| G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double offset) override |
| G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4double width, const G4double offset) override |
| G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const G4VPVParameterisation *param) override |
| G4bool | IsPVDivision (const G4VPhysicalVolume *pv) const override |
| Public Member Functions inherited from G4VPVDivisionFactory | |
| virtual | ~G4VPVDivisionFactory ()=default |
Static Public Member Functions | |
| static G4PVDivisionFactory * | GetInstance () |
| Static Public Member Functions inherited from G4VPVDivisionFactory | |
| static G4VPVDivisionFactory * | Instance () |
Protected Member Functions | |
| G4PVDivisionFactory ()=default | |
| Protected Member Functions inherited from G4VPVDivisionFactory | |
| G4VPVDivisionFactory ()=default | |
Additional Inherited Members | |
| Static Protected Attributes inherited from G4VPVDivisionFactory | |
| static G4ThreadLocal G4VPVDivisionFactory * | fgInstance = nullptr |
G4PVDivisionFactory implements the interfaces for creating volume divisions (defined in G4VPVDivisionFactory) for G4PVDivision type.
Definition at line 48 of file G4PVDivisionFactory.hh.
|
overridedefault |
Default Destructor.
|
protecteddefault |
Protected default Constructor.
Referenced by GetInstance(), and ~G4PVDivisionFactory().
|
overridevirtual |
Creates a division, using the width of the division slice.
| [in] | pName | The volume name. |
| [in] | pLogical | Pointer to the logical volume of the division. |
| [in] | pMother | Pointer to the logical volume of the mother. |
| [in] | pAxis | The axis along which do the division. |
| [in] | width | The witdh of the divided slice along the axis. |
| [in] | offset | The optional offset distance from mother's border. |
Implements G4VPVDivisionFactory.
Definition at line 84 of file G4PVDivisionFactory.cc.
|
overridevirtual |
Creates a division, using the number of divisions.
| [in] | pName | The volume name. |
| [in] | pLogical | Pointer to the logical volume of the division. |
| [in] | pMother | Pointer to the logical volume of the mother. |
| [in] | pAxis | The axis along which do the division. |
| [in] | nReplicas | The number of copies to replicate. |
| [in] | offset | The optional offset distance from mother's border. |
Implements G4VPVDivisionFactory.
Definition at line 67 of file G4PVDivisionFactory.cc.
|
overridevirtual |
Creates a division, using number of divisions and width.
| [in] | pName | The volume name. |
| [in] | pLogical | Pointer to the logical volume of the division. |
| [in] | pMother | Pointer to the logical volume of the mother. |
| [in] | pAxis | The axis along which do the division. |
| [in] | nReplicas | The number of copies to replicate. |
| [in] | width | The witdh of the divided slice along the axis. |
| [in] | offset | The optional offset distance from mother's border. |
Implements G4VPVDivisionFactory.
Definition at line 49 of file G4PVDivisionFactory.cc.
|
overridevirtual |
Creates a division, using a parameterisation algorithm.
| [in] | pName | The volume name. |
| [in] | pLogical | Pointer to the logical volume of the division. |
| [in] | pMother | Pointer to the logical volume of the mother. |
| [in] | param | The pointer to the parameterisation algorithm. |
Implements G4VPVDivisionFactory.
Definition at line 101 of file G4PVDivisionFactory.cc.
|
static |
Creates the unique instance of the singleton.
Definition at line 37 of file G4PVDivisionFactory.cc.
Referenced by G4GDMLReadStructure::DivisionvolRead().
|
overridevirtual |
Returns true if 'pv' is a pointer to a division.
Implements G4VPVDivisionFactory.
Definition at line 132 of file G4PVDivisionFactory.cc.