125 if (divParam ==
nullptr)
127 G4Exception(
"G4PVDivisionFactory::CreatePVDivision()",
129 "Unexpected parameterisation type!");
134 EAxis axis = divParam->GetAxis();
135 G4int nofDivisions = divParam->GetNoDiv();
136 G4double width = divParam->GetWidth();
137 G4double offset = divParam->GetOffset();
139 return new G4PVDivision(pName, pLogical, pMotherLogical,
140 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