#include <G4PVDivisionFactory.hh>
|
| ~G4PVDivisionFactory () override |
|
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 *pMotherLogical, const EAxis pAxis, const G4int nReplicas, const G4double offset) override |
|
G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const EAxis pAxis, const G4double width, const G4double offset) override |
|
G4VPhysicalVolume * | CreatePVDivision (const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMotherLogical, const G4VPVParameterisation *param) override |
|
G4bool | IsPVDivision (const G4VPhysicalVolume *pv) const override |
|
virtual | ~G4VPVDivisionFactory ()=default |
|
Definition at line 43 of file G4PVDivisionFactory.hh.
◆ ~G4PVDivisionFactory()
G4PVDivisionFactory::~G4PVDivisionFactory |
( |
| ) |
|
|
overridedefault |
◆ G4PVDivisionFactory()
G4PVDivisionFactory::G4PVDivisionFactory |
( |
| ) |
|
|
protected |
◆ CreatePVDivision() [1/4]
◆ CreatePVDivision() [2/4]
◆ CreatePVDivision() [3/4]
◆ CreatePVDivision() [4/4]
Implements G4VPVDivisionFactory.
Definition at line 113 of file G4PVDivisionFactory.cc.
117{
118
119
120
121
122
124
125 if (divParam == nullptr)
126 {
127 G4Exception(
"G4PVDivisionFactory::CreatePVDivision()",
129 "Unexpected parameterisation type!");
130 return nullptr;
131 }
132 else
133 {
134 EAxis axis = divParam->GetAxis();
135 G4int nofDivisions = divParam->GetNoDiv();
136 G4double width = divParam->GetWidth();
137 G4double offset = divParam->GetOffset();
138
139 return new G4PVDivision(pName, pLogical, pMotherLogical,
140 axis, nofDivisions, width, offset);
141 }
142}
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
◆ GetInstance()
◆ IsPVDivision()
The documentation for this class was generated from the following files: