Changeset 1228 for trunk/source/geometry/management
- Timestamp:
- Jan 8, 2010, 11:56:51 AM (14 years ago)
- Location:
- trunk/source/geometry/management
- Files:
-
- 74 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/management/History
r921 r1228 1 $Id: History,v 1.13 1 2008/09/23 13:10:55gcosmo Exp $1 $Id: History,v 1.138 2009/11/27 16:34:53 gcosmo Exp $ 2 2 ------------------------------------------------------------------- 3 3 … … 17 17 * Reverse chronological order (last date on top), please * 18 18 ---------------------------------------------------------- 19 20 November 27, 2009 G.Cosmo geommng-V09-02-05 21 - G4Region: added pointer to field-manager and associated accessor/modifier. 22 23 November 6, 2009 G.Cosmo geommng-V09-02-04 24 - G4VTouchable: moved inline vitual methods, constructor and destructor to 25 source, to avoid problem of memory alignment in allocation of derived objects. 26 27 October 30, 2009 G.Cosmo geommng-V09-02-03 28 - Clear possible excess capacity in node vectors in G4SmartVoxelHeader 29 BuildNodes() method. May reduce excess memory allocated in optimisation 30 in large detector setups, with slight time increase in initialisation for 31 geometry voxelisation. 32 33 September 24, 2009 G.Cosmo geommng-V09-02-02 34 - Fixed implementation of G4LogicalVolume::TotalVolumeEntities() to become 35 invariant to call sequence. 36 37 May 25, 2009 G.Cosmo geommng-V09-02-01 38 - Fixed initialisation of min/max extent in method BuildReplicaVoxels() in 39 G4SmartVoxelHeader. 40 41 April 16, 2009 G.Cosmo geommng-V09-02-00 42 - Adopt 'const' references for strings as arguments/return-values in 43 G4LogicalSurface. Some minor cleanup... 19 44 20 45 September 23, 2008 G. Cosmo geommng-V09-01-08 -
trunk/source/geometry/management/include/G4AffineTransform.hh
r1058 r1228 26 26 // 27 27 // $Id: G4AffineTransform.hh,v 1.6 2006/06/29 18:30:37 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/include/G4AffineTransform.icc
r1058 r1228 26 26 // 27 27 // $Id: G4AffineTransform.icc,v 1.8 2006/06/29 18:30:39 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/include/G4BlockingList.hh
r1058 r1228 26 26 // 27 27 // $Id: G4BlockingList.hh,v 1.4 2006/06/29 18:30:41 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4BlockingList -
trunk/source/geometry/management/include/G4BlockingList.icc
r1058 r1228 26 26 // 27 27 // $Id: G4BlockingList.icc,v 1.3 2006/06/29 18:30:43 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/include/G4ErrorCylSurfaceTarget.hh
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorCylSurfaceTarget.hh,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/include/G4ErrorPlaneSurfaceTarget.hh
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorPlaneSurfaceTarget.hh,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/include/G4ErrorSurfaceTarget.hh
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorSurfaceTarget.hh,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/include/G4ErrorTanPlaneTarget.hh
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorTanPlaneTarget.hh,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/include/G4ErrorTarget.hh
r1058 r1228 26 26 // 27 27 // $Id: G4ErrorTarget.hh,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/include/G4GeometryManager.hh
r1058 r1228 26 26 // 27 27 // $Id: G4GeometryManager.hh,v 1.12 2007/05/11 13:30:12 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/include/G4IdentityTrajectoryFilter.hh
r1058 r1228 26 26 // 27 27 // $Id: G4IdentityTrajectoryFilter.hh,v 1.3 2006/06/29 18:30:48 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/include/G4LogicalSurface.hh
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4LogicalSurface.hh,v 1.1 0 2006/06/29 18:30:50 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4LogicalSurface.hh,v 1.11 2009/04/21 15:18:15 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 //////////////////////////////////////////////////////////////////////// … … 86 86 void SetSurfaceProperty(G4SurfaceProperty* ptrSurfaceProperty); 87 87 88 G4StringGetName() const;88 const G4String& GetName() const; 89 89 void SetName(const G4String& name); 90 90 91 91 G4TransitionRadiationSurface* GetTransitionRadiationSurface() const; 92 void SetTransitionRadiationSurface(G4TransitionRadiationSurface* transRadSurf); 92 void SetTransitionRadiationSurface(G4TransitionRadiationSurface* tRadSurf); 93 94 public: // without description 95 96 virtual ~G4LogicalSurface(); 97 98 G4int operator==(const G4LogicalSurface &right) const; 99 G4int operator!=(const G4LogicalSurface &right) const; 93 100 94 101 protected: 95 102 96 103 // There should be no instances of this class 97 104 98 G4LogicalSurface(const G4String& name, 99 G4SurfaceProperty* surfaceProperty); 100 // Is the name more meaningful for the properties or the logical 101 // surface ? 102 103 public: 104 virtual ~G4LogicalSurface(); 105 106 public: 107 G4int operator==(const G4LogicalSurface &right) const; 108 G4int operator!=(const G4LogicalSurface &right) const; 105 G4LogicalSurface(const G4String& name, G4SurfaceProperty* surfaceProperty); 106 // Is the name more meaningful for the properties or the logical surface ? 109 107 110 108 private: … … 117 115 G4String theName; // Surface name 118 116 119 G4SurfaceProperty* 117 G4SurfaceProperty* theSurfaceProperty; 120 118 G4TransitionRadiationSurface* theTransRadSurface; 121 119 }; -
trunk/source/geometry/management/include/G4LogicalSurface.icc
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4LogicalSurface.icc,v 1. 9 2006/06/29 18:30:52 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4LogicalSurface.icc,v 1.10 2009/04/21 15:18:15 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 //////////////////////////////////////////////////////////////////////// … … 51 51 } 52 52 53 inline G4String53 inline const G4String& 54 54 G4LogicalSurface::GetName() const 55 55 { … … 110 110 inline G4LogicalSurface::G4LogicalSurface(const G4String& name, 111 111 G4SurfaceProperty* surfaceProperty) 112 : theName(name), 113 theSurfaceProperty(surfaceProperty) 112 : theName(name), theSurfaceProperty(surfaceProperty) 114 113 { 115 114 } -
trunk/source/geometry/management/include/G4LogicalVolume.hh
r1058 r1228 26 26 // 27 27 // $Id: G4LogicalVolume.hh,v 1.27 2008/07/10 09:40:08 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/include/G4LogicalVolume.icc
r1058 r1228 26 26 // 27 27 // $Id: G4LogicalVolume.icc,v 1.25 2008/07/10 09:40:08 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/include/G4LogicalVolumeStore.hh
r1058 r1228 26 26 // 27 27 // $Id: G4LogicalVolumeStore.hh,v 1.13 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 // class G4LogicalVolumeStore -
trunk/source/geometry/management/include/G4PhysicalVolumeStore.hh
r1058 r1228 26 26 // 27 27 // $Id: G4PhysicalVolumeStore.hh,v 1.16 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 // class G4PhysicalVolume -
trunk/source/geometry/management/include/G4ReflectedSolid.hh
r1058 r1228 26 26 // 27 27 // $Id: G4ReflectedSolid.hh,v 1.5 2006/06/29 18:31:03 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/include/G4Region.hh
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4Region.hh,v 1.2 0 2008/07/10 09:46:01gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4Region.hh,v 1.21 2009/11/27 16:34:37 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4Region … … 48 48 class G4MaterialCutsCouple; 49 49 class G4UserLimits; 50 class G4FieldManager; 50 51 class G4FastSimulationManager; 51 52 class G4VPhysicalVolume; … … 144 145 // if it exists. Otherwise set to null. 145 146 147 inline void SetFieldManager(G4FieldManager* fm); 148 inline G4FieldManager* GetFieldManager() const; 149 // Set and Get methods for G4FieldManager. 150 // The region with assigned field-manager sets the field to the 151 // geometrical area associated with it; priority is anyhow given 152 // to local fields eventually set to logical volumes. 153 146 154 inline G4VPhysicalVolume* GetWorldPhysical() const; 147 155 // Get method for the world physical volume which this region … … 199 207 G4VUserRegionInformation* fUserInfo; 200 208 G4UserLimits* fUserLimits; 209 G4FieldManager* fFieldManager; 201 210 202 211 G4FastSimulationManager* fFastSimulationManager; -
trunk/source/geometry/management/include/G4Region.icc
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4Region.icc,v 1.1 5 2007/04/28 01:48:29 asaimExp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4Region.icc,v 1.16 2009/11/27 16:34:37 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // … … 247 247 { 248 248 return fFastSimulationManager; 249 } 250 251 // ******************************************************************** 252 // GetFieldManager 253 // ******************************************************************** 254 // 255 inline 256 G4FieldManager* G4Region::GetFieldManager() const 257 { 258 return fFieldManager; 259 } 260 261 // ******************************************************************** 262 // SetFieldManager 263 // ******************************************************************** 264 // 265 inline 266 void G4Region::SetFieldManager(G4FieldManager* fm) 267 { 268 fFieldManager = fm; 249 269 } 250 270 -
trunk/source/geometry/management/include/G4RegionStore.hh
r1058 r1228 26 26 // 27 27 // $Id: G4RegionStore.hh,v 1.10 2006/11/30 10:39:28 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4RegionStore -
trunk/source/geometry/management/include/G4SmartVoxelHeader.hh
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelHeader.hh,v 1.10 2006/06/29 18:32:06 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // class G4SmartVoxelHeader -
trunk/source/geometry/management/include/G4SmartVoxelHeader.icc
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelHeader.icc,v 1.6 2006/06/29 18:32:09 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/include/G4SmartVoxelNode.hh
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelNode.hh,v 1.12 2008/01/24 15:47:23 gcosmo 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/include/G4SmartVoxelNode.icc
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelNode.icc,v 1.7 2008/01/24 15:47:23 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/include/G4SmartVoxelProxy.hh
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelProxy.hh,v 1.8 2006/06/29 18:32:17 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/include/G4SmartVoxelProxy.icc
r1058 r1228 26 26 // 27 27 // $Id: G4SmartVoxelProxy.icc,v 1.4 2006/06/29 18:32:19 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/include/G4SmartVoxelStat.hh
r1058 r1228 25 25 // 26 26 // $Id: G4SmartVoxelStat.hh,v 1.4 2006/06/29 18:32:21 gunter Exp $ 27 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // GEANT4 tag $Name: geant4-09-03 $ 28 28 // 29 29 // -------------------------------------------------------------------- -
trunk/source/geometry/management/include/G4SolidStore.hh
r1058 r1228 26 26 // 27 27 // $Id: G4SolidStore.hh,v 1.13 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 // class G4SolidStore -
trunk/source/geometry/management/include/G4TouchableHandle.hh
r1058 r1228 26 26 // 27 27 // $Id: G4TouchableHandle.hh,v 1.6 2006/06/29 18:32:25 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // Class G4TouchableHandle -
trunk/source/geometry/management/include/G4VCurvedTrajectoryFilter.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VCurvedTrajectoryFilter.hh,v 1.3 2006/06/29 18:32:27 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/include/G4VNestedParameterisation.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VNestedParameterisation.hh,v 1.6 2006/06/29 18:32:29 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 -
trunk/source/geometry/management/include/G4VPVDivisionFactory.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VPVDivisionFactory.hh,v 1.2 2006/06/29 18:32:31 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/include/G4VPVParameterisation.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VPVParameterisation.hh,v 1.13 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 // class G4VPVParamterisation -
trunk/source/geometry/management/include/G4VPhysicalVolume.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VPhysicalVolume.hh,v 1.17 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/include/G4VPhysicalVolume.icc
r1058 r1228 26 26 // 27 27 // $Id: G4VPhysicalVolume.icc,v 1.10 2006/06/29 18:32:37 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/include/G4VSolid.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VSolid.hh,v 1.29 2008/09/10 13:18:42 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/include/G4VSolid.icc
r1058 r1228 26 26 // 27 27 // $Id: G4VSolid.icc,v 1.9 2007/05/11 13:30: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/include/G4VStoreNotifier.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VStoreNotifier.hh,v 1.3 2006/06/29 18:33: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 G4VStoreNotifier -
trunk/source/geometry/management/include/G4VTouchable.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VTouchable.hh,v 1.9 2006/06/29 18:33:05 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/include/G4VTouchable.icc
r1058 r1228 25 25 // 26 26 // 27 // $Id: G4VTouchable.icc,v 1. 9 2006/06/29 18:33:07 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 2-ref-02$27 // $Id: G4VTouchable.icc,v 1.10 2009/11/06 10:36:00 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-03 $ 29 29 // 30 30 // … … 34 34 35 35 inline 36 G4VTouchable::G4VTouchable()37 {38 }39 40 inline41 G4VTouchable::~G4VTouchable()42 {43 }44 45 inline46 G4VPhysicalVolume* G4VTouchable::GetVolume(G4int) const47 {48 G4Exception("G4VTouchable::GetVolume()", "NotApplicable",49 FatalException, "Undefined call to base class.");50 return 0;51 }52 53 inline54 G4VSolid* G4VTouchable::GetSolid(G4int) const55 {56 G4Exception("G4VTouchable::GetSolid()", "NotApplicable",57 FatalException, "Undefined call to base class.");58 return 0;59 }60 61 inline62 G4int G4VTouchable::GetReplicaNumber(G4int) const63 {64 G4Exception("G4VTouchable::GetReplicaNumber()", "NotApplicable",65 FatalException, "Undefined call to base class.");66 return 0;67 }68 69 inline70 36 G4int G4VTouchable::GetCopyNumber(G4int depth) const 71 37 { 72 38 return GetReplicaNumber(depth); 73 39 } 74 75 inline76 G4int G4VTouchable::MoveUpHistory(G4int)77 {78 G4Exception("G4VTouchable::MoveUpHistory()", "NotApplicable",79 FatalException, "Undefined call to base class.");80 return 0;81 }82 83 inline84 void G4VTouchable::UpdateYourself(G4VPhysicalVolume*,85 const G4NavigationHistory* )86 {87 G4Exception("G4VTouchable::UpdateYourself()", "NotApplicable",88 FatalException, "Undefined call to base class.");89 }90 91 inline92 G4int G4VTouchable::GetHistoryDepth() const93 {94 G4Exception("G4VTouchable::GetHistoryDepth()", "NotApplicable",95 FatalException, "Undefined call to base class.");96 return 0;97 }98 99 inline100 const G4NavigationHistory* G4VTouchable::GetHistory() const101 {102 G4Exception("G4VTouchable::GetHistory()", "NotApplicable",103 FatalException, "Undefined call to base class.");104 return 0;105 } -
trunk/source/geometry/management/include/G4VUserRegionInformation.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VUserRegionInformation.hh,v 1.4 2006/06/29 18:33:09 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/include/G4VVolumeMaterialScanner.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VVolumeMaterialScanner.hh,v 1.4 2006/06/29 18:33: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 G4VVolumeMaterialScanner -
trunk/source/geometry/management/include/G4VoxelLimits.hh
r1058 r1228 26 26 // 27 27 // $Id: G4VoxelLimits.hh,v 1.9 2006/06/29 18:33:13 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 -
trunk/source/geometry/management/include/G4VoxelLimits.icc
r1058 r1228 26 26 // 27 27 // $Id: G4VoxelLimits.icc,v 1.4 2006/06/29 18:33:15 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/include/meshdefs.hh
r1058 r1228 26 26 // 27 27 // $Id: meshdefs.hh,v 1.7 2006/06/29 18:33:17 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/include/voxeldefs.hh
r1058 r1228 26 26 // 27 27 // $Id: voxeldefs.hh,v 1.7 2006/06/29 18:33:19 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/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.