Changeset 1228 for trunk/source/geometry/management/src
- Timestamp:
- Jan 8, 2010, 11:56:51 AM (15 years ago)
- Location:
- trunk/source/geometry/management/src
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/management/src/G4BlockingList.cc
r1058 r1228 26 26 // 27 27 // $Id: G4BlockingList.cc,v 1.3 2006/06/29 18:33:21 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4ErrorCylSurfaceTarget.cc
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorCylSurfaceTarget.cc,v 1.4 2007/06/20 12:50:48 arce Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4ErrorPlaneSurfaceTarget.cc
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorPlaneSurfaceTarget.cc,v 1.2 2007/06/19 11:28:39 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4ErrorSurfaceTarget.cc
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorSurfaceTarget.cc,v 1.1 2007/05/16 12:50:52 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4ErrorTanPlaneTarget.cc
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorTanPlaneTarget.cc,v 1.1 2007/05/16 12:50:52 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4ErrorTarget.cc
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorTarget.cc,v 1.1 2007/05/16 12:50:52 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4GeometryManager.cc
r1058 r1228 26 26 // 27 27 // $Id: G4GeometryManager.cc,v 1.22 2008/05/16 13:46:48 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4GeometryManager -
trunk/source/geometry/management/src/G4IdentityTrajectoryFilter.cc
r1058 r1228 26 26 // 27 27 // $Id: G4IdentityTrajectoryFilter.cc,v 1.4 2006/10/02 10:09:24 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // ------------------------------------------------------------------------ -
trunk/source/geometry/management/src/G4LogicalVolume.cc
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4LogicalVolume.cc,v 1.3 3 2008/07/10 09:40:09gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4LogicalVolume.cc,v 1.34 2009/09/24 13:22:57 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // … … 162 162 G4int G4LogicalVolume::TotalVolumeEntities() const 163 163 { 164 static G4int vols = 0; 165 166 vols++; 164 G4int vols = 1; 167 165 for (G4PhysicalVolumeList::const_iterator itDau = fDaughters.begin(); 168 166 itDau != fDaughters.end(); itDau++) 169 167 { 170 168 G4VPhysicalVolume* physDaughter = (*itDau); 171 for (G4int i=0; i<physDaughter->GetMultiplicity(); i++) 172 { 173 physDaughter->GetLogicalVolume()->TotalVolumeEntities(); 174 } 169 vols += physDaughter->GetMultiplicity() 170 *physDaughter->GetLogicalVolume()->TotalVolumeEntities(); 175 171 } 176 172 return vols; -
trunk/source/geometry/management/src/G4LogicalVolumeStore.cc
r1058 r1228 26 26 // 27 27 // $Id: G4LogicalVolumeStore.cc,v 1.19 2008/07/10 09:40:09 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // G4LogicalVolumeStore -
trunk/source/geometry/management/src/G4PhysicalVolumeStore.cc
r1058 r1228 26 26 // 27 27 // $Id: G4PhysicalVolumeStore.cc,v 1.20 2008/07/10 09:41:20 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // G4PhysicalVolumeStore -
trunk/source/geometry/management/src/G4ReflectedSolid.cc
r1058 r1228 27 27 // $Id: G4ReflectedSolid.cc,v 1.11 2006/11/08 09:56:33 gcosmo Exp $ 28 28 // 29 // GEANT4 tag $Name: geant4-09-0 2-ref-02$29 // GEANT4 tag $Name: geant4-09-03 $ 30 30 // 31 31 // Implementation for G4ReflectedSolid class for boolean -
trunk/source/geometry/management/src/G4Region.cc
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4Region.cc,v 1.2 6 2008/07/15 10:27:36gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4Region.cc,v 1.27 2009/11/27 16:34:37 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // … … 48 48 G4Region::G4Region(const G4String& pName) 49 49 : fName(pName), fRegionMod(true), fCut(0), fUserInfo(0), fUserLimits(0), 50 fFastSimulationManager(0), fWorldPhys(0), fRegionalSteppingAction(0) 50 fFieldManager(0), fFastSimulationManager(0), fWorldPhys(0), 51 fRegionalSteppingAction(0) 51 52 { 52 53 G4RegionStore* rStore = G4RegionStore::GetInstance(); … … 72 73 G4Region::G4Region( __void__& ) 73 74 : fName(""), fRegionMod(true), fCut(0), fUserInfo(0), fUserLimits(0), 74 fFastSimulationManager(0), fWorldPhys(0), fRegionalSteppingAction(0) 75 fFieldManager(0), fFastSimulationManager(0), fWorldPhys(0), 76 fRegionalSteppingAction(0) 75 77 { 76 78 // Register to store -
trunk/source/geometry/management/src/G4RegionStore.cc
r1058 r1228 26 26 // 27 27 // $Id: G4RegionStore.cc,v 1.14 2008/07/10 09:46:01 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // G4RegionStore -
trunk/source/geometry/management/src/G4SmartVoxelHeader.cc
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4SmartVoxelHeader.cc,v 1.3 1 2008/01/24 15:46:47 gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4SmartVoxelHeader.cc,v 1.34 2009/10/30 14:05:47 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // … … 366 366 // Sanity check on extent 367 367 // 368 G4double min, max;368 G4double emin = kInfinity, emax = -kInfinity; 369 369 G4VoxelLimits limits; 370 370 G4AffineTransform origin; 371 pVolume->GetSolid()->CalculateExtent(axis, limits, origin, min,max);372 if ( (std::fabs(( min-fminExtent)/fminExtent) +373 std::fabs(( max-fmaxExtent)/fmaxExtent)) > 0.05)371 pVolume->GetSolid()->CalculateExtent(axis, limits, origin, emin, emax); 372 if ( (std::fabs((emin-fminExtent)/fminExtent) + 373 std::fabs((emax-fmaxExtent)/fmaxExtent)) > 0.05) 374 374 { 375 375 G4cerr << "ERROR - G4SmartVoxelHeader::BuildReplicaVoxels()" … … 1038 1038 for (nNode=0; nNode<noNodes; nNode++) 1039 1039 { 1040 // Get rid of possible excess capacity in the internal node vector 1041 // 1042 ((*nodeList)[nNode])->Shrink(); 1040 1043 G4SmartVoxelProxy* pProxyNode = new G4SmartVoxelProxy((*nodeList)[nNode]); 1041 1044 if (!pProxyNode) -
trunk/source/geometry/management/src/G4SmartVoxelNode.cc
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelNode.cc,v 1.6 2006/06/29 18:33:45 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // Class G4SmartVoxelNode -
trunk/source/geometry/management/src/G4SmartVoxelProxy.cc
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelProxy.cc,v 1.3 2006/06/29 18:33:48 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // Class G4SmartVoxelProxy -
trunk/source/geometry/management/src/G4SmartVoxelStat.cc
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelStat.cc,v 1.3 2006/06/29 18:33:50 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/management/src/G4SolidStore.cc
r1058 r1228 26 26 // 27 27 // $Id: G4SolidStore.cc,v 1.17 2007/04/10 10:13:50 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // G4SolidStore -
trunk/source/geometry/management/src/G4VCurvedTrajectoryFilter.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VCurvedTrajectoryFilter.cc,v 1.3 2006/06/29 18:33:56 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // -------------------------------------------------------------------- 30 30 -
trunk/source/geometry/management/src/G4VNestedParameterisation.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VNestedParameterisation.cc,v 1.6 2006/06/29 18:33:59 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4VNestedParameterisation implementation -
trunk/source/geometry/management/src/G4VPVDivisionFactory.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VPVDivisionFactory.cc,v 1.2 2006/06/29 18:34:02 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4VPVDivisionFactory Implementation file -
trunk/source/geometry/management/src/G4VPVParameterisation.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VPVParameterisation.cc,v 1.8 2007/07/16 08:40:13 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // Default implementations for Parameterisations that do not -
trunk/source/geometry/management/src/G4VPhysicalVolume.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VPhysicalVolume.cc,v 1.14 2007/04/11 08:00:12 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // -
trunk/source/geometry/management/src/G4VSolid.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VSolid.cc,v 1.39 2008/09/23 13:07:41 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4VSolid -
trunk/source/geometry/management/src/G4VoxelLimits.cc
r1058 r1228 26 26 // 27 27 // $Id: G4VoxelLimits.cc,v 1.11 2006/06/29 18:34:11 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4VoxelLimits
Note: See TracChangeset
for help on using the changeset viewer.