Changeset 850 for trunk/source/geometry/divisions
- Timestamp:
- Sep 10, 2008, 5:40:37 PM (17 years ago)
- Location:
- trunk/source/geometry/divisions
- Files:
-
- 22 edited
-
History (modified) (2 diffs)
-
include/G4PVDivision.hh (modified) (2 diffs)
-
include/G4PVDivisionFactory.hh (modified) (1 diff)
-
include/G4ParameterisationBox.hh (modified) (1 diff)
-
include/G4ParameterisationCons.hh (modified) (1 diff)
-
include/G4ParameterisationPara.hh (modified) (1 diff)
-
include/G4ParameterisationPolycone.hh (modified) (1 diff)
-
include/G4ParameterisationPolyhedra.hh (modified) (1 diff)
-
include/G4ParameterisationTrd.hh (modified) (1 diff)
-
include/G4ParameterisationTubs.hh (modified) (1 diff)
-
include/G4VDivisionParameterisation.hh (modified) (1 diff)
-
include/G4VDivisionParameterisation.icc (modified) (1 diff)
-
src/G4PVDivision.cc (modified) (6 diffs)
-
src/G4PVDivisionFactory.cc (modified) (1 diff)
-
src/G4ParameterisationBox.cc (modified) (1 diff)
-
src/G4ParameterisationCons.cc (modified) (1 diff)
-
src/G4ParameterisationPara.cc (modified) (1 diff)
-
src/G4ParameterisationPolycone.cc (modified) (1 diff)
-
src/G4ParameterisationPolyhedra.cc (modified) (1 diff)
-
src/G4ParameterisationTrd.cc (modified) (1 diff)
-
src/G4ParameterisationTubs.cc (modified) (1 diff)
-
src/G4VDivisionParameterisation.cc (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/divisions/History
r831 r850 1 $Id: History,v 1.2 6 2007/05/18 07:27:40gcosmo Exp $1 $Id: History,v 1.28 2008/08/18 16:14:13 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 August, 18th, 2008 T.Nikitina (geomdiv-V09-01-01) 21 - Corrected initialisation for 'fnReplicas' and 'fwidth' data members in 22 CheckAndSetParameters(), to make use of precomputed values retrieved from 23 parameterisations; simplified method signature. 24 25 July, 25th, 2008 I.Hrivnacova (geomdiv-V09-01-00) 26 - Corrected error message in G4VDivisionParameterisation::CheckNDivAndWidth(). 19 27 20 28 May, 18th, 2007 G.Cosmo (geomdiv-V08-03-01) -
trunk/source/geometry/divisions/include/G4PVDivision.hh
r831 r850 25 25 // 26 26 // 27 // $Id: G4PVDivision.hh,v 1.1 2 2006/06/29 18:18:07 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: G4PVDivision.hh,v 1.13 2008/08/18 14:06:01 tnikitin Exp $ 28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4PVDivision … … 145 145 146 146 void CheckAndSetParameters( const EAxis pAxis, 147 const G4int nDivs,148 const G4double width,149 147 const G4double offset, 150 DivisionType divType,151 148 const G4LogicalVolume* pMotherLogical ); 152 149 -
trunk/source/geometry/divisions/include/G4PVDivisionFactory.hh
r831 r850 26 26 // 27 27 // $Id: G4PVDivisionFactory.hh,v 1.2 2006/06/29 18:18:09 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // -
trunk/source/geometry/divisions/include/G4ParameterisationBox.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationBox.hh,v 1.6 2006/06/29 18:18:11 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationBoxX, -
trunk/source/geometry/divisions/include/G4ParameterisationCons.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationCons.hh,v 1.6 2006/06/29 18:18:13 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationConsRho, -
trunk/source/geometry/divisions/include/G4ParameterisationPara.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationPara.hh,v 1.7 2006/06/29 18:18:15 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationParaX, -
trunk/source/geometry/divisions/include/G4ParameterisationPolycone.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationPolycone.hh,v 1.7 2006/06/29 18:18:18 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationPolyconeRho, -
trunk/source/geometry/divisions/include/G4ParameterisationPolyhedra.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationPolyhedra.hh,v 1.8 2006/06/29 18:18:20 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationPolyhedraRho, -
trunk/source/geometry/divisions/include/G4ParameterisationTrd.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationTrd.hh,v 1.7 2006/06/29 18:18:22 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationTrdX -
trunk/source/geometry/divisions/include/G4ParameterisationTubs.hh
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationTubs.hh,v 1.6 2006/06/29 18:18:24 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // classes G4ParameterisationTubsRho -
trunk/source/geometry/divisions/include/G4VDivisionParameterisation.hh
r831 r850 26 26 // 27 27 // $Id: G4VDivisionParameterisation.hh,v 1.11 2007/05/11 13:26:26 gcosmo Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4VDivisionParameterisation -
trunk/source/geometry/divisions/include/G4VDivisionParameterisation.icc
r831 r850 26 26 // 27 27 // $Id: G4VDivisionParameterisation.icc,v 1.4 2006/06/29 18:18:29 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4VDivisionParameterisation Inline Implementation file -
trunk/source/geometry/divisions/src/G4PVDivision.cc
r831 r850 25 25 // 26 26 // 27 // $Id: G4PVDivision.cc,v 1.2 0 2006/06/29 18:18:31 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: G4PVDivision.cc,v 1.21 2008/08/18 14:06:13 tnikitin Exp $ 28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4PVDivision Implementation file … … 74 74 SetParameterisation(pMotherLogical, pAxis, nDivs, 75 75 width, offset, DivNDIVandWIDTH); 76 CheckAndSetParameters (pAxis, nDivs, width, offset, 77 DivNDIVandWIDTH, pMotherLogical); 76 CheckAndSetParameters (pAxis,offset, pMotherLogical); 78 77 } 79 78 … … 105 104 SetMotherLogical(pMotherLogical); 106 105 SetParameterisation(pMotherLogical, pAxis, nDivs, 0., offset, DivNDIV); 107 CheckAndSetParameters (pAxis, nDivs, 0., offset, DivNDIV, pMotherLogical);106 CheckAndSetParameters (pAxis, offset, pMotherLogical); 108 107 } 109 108 … … 135 134 SetMotherLogical(pMotherLogical); 136 135 SetParameterisation(pMotherLogical, pAxis, 0, width, offset, DivWIDTH); 137 CheckAndSetParameters (pAxis, 0, width, offset, DivWIDTH, pMotherLogical);136 CheckAndSetParameters (pAxis, offset, pMotherLogical); 138 137 } 139 138 … … 141 140 void 142 141 G4PVDivision::CheckAndSetParameters( const EAxis pAxis, 143 const G4int nDivs,144 const G4double width,145 142 const G4double offset, 146 DivisionType divType,147 143 const G4LogicalVolume* pMotherLogical ) 148 144 { 149 if( divType == DivWIDTH ) 150 { 151 fnReplicas = fparam->GetNoDiv(); 152 } 153 else 154 { 155 fnReplicas = nDivs; 156 } 145 fnReplicas = fparam->GetNoDiv(); 146 157 147 if (fnReplicas < 1 ) 158 148 { … … 161 151 } 162 152 163 if( divType != DivNDIV) 164 { 165 fwidth = fparam->GetWidth(); 166 } 167 else 168 { 169 fwidth = width; 170 } 153 fwidth = fparam->GetWidth(); 154 171 155 if( fwidth < 0 ) 172 156 { -
trunk/source/geometry/divisions/src/G4PVDivisionFactory.cc
r831 r850 26 26 // 27 27 // $Id: G4PVDivisionFactory.cc,v 1.2 2006/06/29 18:18:33 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4PVDivisionFactory Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationBox.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationBox.cc,v 1.10 2006/06/29 18:18:35 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationBox Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationCons.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationCons.cc,v 1.9 2006/06/29 18:18:38 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationCons Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationPara.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationPara.cc,v 1.11 2006/06/29 18:18:42 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationPara Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationPolycone.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationPolycone.cc,v 1.15 2006/06/29 18:18:44 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationPolycone Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationPolyhedra.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationPolyhedra.cc,v 1.16 2007/05/18 07:27:23 gcosmo Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationPolyhedra Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationTrd.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationTrd.cc,v 1.14 2006/06/29 18:18:48 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationTrd Implementation file -
trunk/source/geometry/divisions/src/G4ParameterisationTubs.cc
r831 r850 26 26 // 27 27 // $Id: G4ParameterisationTubs.cc,v 1.8 2006/06/29 18:18:50 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4ParameterisationTubs Implementation file -
trunk/source/geometry/divisions/src/G4VDivisionParameterisation.cc
r831 r850 25 25 // 26 26 // 27 // $Id: G4VDivisionParameterisation.cc,v 1.1 2 2007/05/11 13:26:26 gcosmoExp $28 // GEANT4 tag $Name: $27 // $Id: G4VDivisionParameterisation.cc,v 1.13 2008/07/25 16:23:35 ivana Exp $ 28 // GEANT4 tag $Name: HEAD $ 29 29 // 30 30 // class G4VDivisionParameterisation Implementation file … … 163 163 << " has too big offset + width*nDiv = " << G4endl 164 164 << " " << foffset + fwidth*fnDiv << " > " 165 << foffset<< ". Width = "165 << maxPar << ". Width = " 166 166 << G4endl 167 167 << " " << fwidth << ". nDiv = " << fnDiv << " !"
Note:
See TracChangeset
for help on using the changeset viewer.
