- Timestamp:
- Dec 22, 2010, 3:52:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/divisions/src/G4ParameterisationBox.cc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4ParameterisationBox.cc,v 1.1 0 2006/06/29 18:18:35 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4ParameterisationBox.cc,v 1.12 2010/11/10 09:15:56 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // class G4ParameterisationBox Implementation file … … 32 32 // 26.05.03 - P.Arce, Initial version 33 33 // 08.04.04 - I.Hrivnacova, Implemented reflection 34 // 21.04.10 - M.Asai, Added gaps 34 35 // -------------------------------------------------------------------- 35 36 … … 152 153 G4Box* msol = (G4Box*)(fmotherSolid); 153 154 154 G4double pDx = fwidth/2. ;155 G4double pDx = fwidth/2. - fhgap; 155 156 G4double pDy = msol->GetYHalfLength(); 156 157 G4double pDz = msol->GetZHalfLength(); … … 254 255 255 256 G4double pDx = msol->GetXHalfLength(); 256 G4double pDy = fwidth/2. ;257 G4double pDy = fwidth/2. - fhgap; 257 258 G4double pDz = msol->GetZHalfLength(); 258 259 … … 356 357 G4double pDx = msol->GetXHalfLength(); 357 358 G4double pDy = msol->GetYHalfLength(); 358 G4double pDz = fwidth/2. ;359 G4double pDz = fwidth/2. - fhgap; 359 360 360 361 box.SetXHalfLength( pDx );
Note: See TracChangeset
for help on using the changeset viewer.