68 const G4int nReplicas,
76 pAxis, nReplicas, width, offset);
86 const G4int nReplicas,
93 pAxis, nReplicas, offset);
109 return new G4PVDivision(pName, pLogical, pMotherLogical,
110 pAxis, width, offset);
129 if (divParam ==
nullptr)
131 G4Exception(
"G4PVDivisionFactory::CreatePVDivision()",
133 "Unexpected parameterisation type!");
143 return new G4PVDivision(pName, pLogical, pMotherLogical,
144 axis, nofDivisions, width, offset);
155 return (
dynamic_cast<const G4PVDivision*
>(pv) !=
nullptr) ? true :
false;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
virtual G4bool IsPVDivision(const G4VPhysicalVolume *pv) const
virtual ~G4PVDivisionFactory()
static G4PVDivisionFactory * GetInstance()
virtual G4VPhysicalVolume * CreatePVDivision(const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset)
G4double GetOffset() const
G4double GetWidth() const
static G4ThreadLocal G4VPVDivisionFactory * fgInstance