113 if (divParam ==
nullptr)
115 G4Exception(
"G4PVDivisionFactory::CreatePVDivision()",
117 "Unexpected parameterisation type!");
122 EAxis axis = divParam->GetAxis();
123 G4int nofDivisions = divParam->GetNoDiv();
124 G4double width = divParam->GetWidth();
127 return new G4PVDivision(pName, pLogical, pMotherLogical,
128 axis, nofDivisions, width,
offset);
G4VPhysicalVolume * CreatePVDivision(const G4String &pName, G4LogicalVolume *pLogical, G4LogicalVolume *pMother, const EAxis pAxis, const G4int nReplicas, const G4double width, const G4double offset) override