- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/divisions/src/G4PVDivisionFactory.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4PVDivisionFactory.cc,v 1. 2 2006/06/29 18:18:33 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4PVDivisionFactory.cc,v 1.3 2010/07/02 10:46:27 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // class G4PVDivisionFactory Implementation file … … 137 137 "WrongType", FatalException, 138 138 "Unexpected parameterisation type !"); 139 return 0; 139 140 } 141 else 142 { 143 EAxis axis = divParam->GetAxis(); 144 G4int nofDivisions = divParam->GetNoDiv(); 145 G4double width = divParam->GetWidth(); 146 G4double offset = divParam->GetOffset(); 140 147 141 EAxis axis = divParam->GetAxis(); 142 G4int nofDivisions = divParam->GetNoDiv(); 143 G4double width = divParam->GetWidth(); 144 G4double offset = divParam->GetOffset(); 145 146 return new G4PVDivision(pName, pLogical, pMotherLogical, 147 axis, nofDivisions, width, offset); 148 return new G4PVDivision(pName, pLogical, pMotherLogical, 149 axis, nofDivisions, width, offset); 150 } 148 151 } 149 152
Note: See TracChangeset
for help on using the changeset viewer.