G4VPVDivisionFactory is an abstract factory that defines the interfaces for creating volume divisions.
More...
#include <G4VPVDivisionFactory.hh>
|
| virtual | ~G4VPVDivisionFactory ()=default |
| virtual G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset)=0 |
| virtual G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double offset)=0 |
| virtual G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4double width, const G4double offset)=0 |
| virtual G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const G4VPVParameterisation *param)=0 |
| virtual G4bool | IsPVDivision (const G4VPhysicalVolume *pv) const =0 |
G4VPVDivisionFactory is an abstract factory that defines the interfaces for creating volume divisions.
Definition at line 48 of file G4VPVDivisionFactory.hh.
◆ ~G4VPVDivisionFactory()
| virtual G4VPVDivisionFactory::~G4VPVDivisionFactory |
( |
| ) |
|
|
virtualdefault |
◆ G4VPVDivisionFactory()
| G4VPVDivisionFactory::G4VPVDivisionFactory |
( |
| ) |
|
|
protecteddefault |
◆ CreatePVDivision() [1/4]
Creates a division, using the width of the division slice.
- Parameters
-
| [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. |
- Returns
- The pointer to physical divided volume.
Implemented in G4PVDivisionFactory.
◆ CreatePVDivision() [2/4]
Creates a division, using the number of divisions.
- Parameters
-
| [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. |
- Returns
- The pointer to physical divided volume.
Implemented in G4PVDivisionFactory.
◆ CreatePVDivision() [3/4]
Creates a division, using number of divisions and width.
- Parameters
-
| [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. |
- Returns
- The pointer to physical divided volume.
Implemented in G4PVDivisionFactory.
Referenced by G4ReflectionFactory::Divide(), G4ReflectionFactory::Divide(), and G4ReflectionFactory::Divide().
◆ CreatePVDivision() [4/4]
Creates a division, using a parameterisation algorithm.
- Parameters
-
| [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. |
- Returns
- The pointer to physical divided volume.
Implemented in G4PVDivisionFactory.
◆ Instance()
Returns a pointer to the unique instance of the factory.
Definition at line 37 of file G4VPVDivisionFactory.cc.
38{
39
40
42}
static G4ThreadLocal G4VPVDivisionFactory * fgInstance
◆ IsPVDivision()
◆ fgInstance
The documentation for this class was generated from the following files: