Changeset 1347 for trunk/source/geometry/navigation/include
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- Location:
- trunk/source/geometry/navigation/include
- Files:
-
- 40 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/geometry/navigation/include/G4AuxiliaryNavServices.hh
r1337 r1347 26 26 // 27 27 // $Id: G4AuxiliaryNavServices.hh,v 1.4 2007/05/22 07:48:08 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4AuxiliaryNavServices.icc
r1337 r1347 26 26 // 27 27 // $Id: G4AuxiliaryNavServices.icc,v 1.4 2007/05/22 07:48:08 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4BrentLocator.hh
r1337 r1347 26 26 // 27 27 // $Id: G4BrentLocator.hh,v 1.2 2008/10/29 14:31:55 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // Class G4BrentLocator -
trunk/source/geometry/navigation/include/G4DrawVoxels.hh
r1337 r1347 26 26 // 27 27 // $Id: G4DrawVoxels.hh,v 1.3 2006/06/29 18:35:36 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4ErrorPropagationNavigator.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ErrorPropagationNavigator.hh,v 1.2 2008/10/24 14:00:03 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4GeomTestErrorList.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestErrorList.hh,v 1.3 2006/06/29 18:35:38 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestLogger.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestLogger.hh,v 1.3 2006/06/29 18:35:40 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestOverlapList.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestOverlapList.hh,v 1.3 2006/06/29 18:35:43 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestOvershootList.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestOvershootList.hh,v 1.3 2006/06/29 18:35:45 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestPoint.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestPoint.hh,v 1.3 2006/06/29 18:35:48 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestSegment.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestSegment.hh,v 1.4 2007/05/11 13:43:59 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestStreamLogger.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestStreamLogger.hh,v 1.3 2006/06/29 18:35:52 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestVolPoint.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestVolPoint.hh,v 1.3 2006/06/29 18:35:55 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeomTestVolume.hh
r1337 r1347 26 26 // 27 27 // $Id: G4GeomTestVolume.hh,v 1.3 2006/06/29 18:35:57 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4GeometryMessenger.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4GeometryMessenger.hh,v 1. 4 2006/06/29 18:35:59 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4GeometryMessenger.hh,v 1.5 2010/11/10 14:06:40 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- … … 78 78 void SetVerbosity(G4String newValue); 79 79 void SetCheckMode(G4String newValue); 80 void SetPushFlag(G4String newValue); 80 81 void LineTest(); 81 82 void RecursiveLineTest(); … … 88 89 G4UIcmdWith3VectorAndUnit *posCmd, *dirCmd; 89 90 G4UIcmdWith3Vector *grzCmd, *cyzCmd; 90 G4UIcmdWithABool *chkCmd, *linCmd, *grdCmd, *cylCmd, *runCmd; 91 G4UIcmdWithABool *chkCmd, *pchkCmd, *linCmd, 92 *grdCmd, *cylCmd, *runCmd; 91 93 G4UIcmdWithoutParameter *recCmd, *resCmd; 92 94 G4UIcmdWithADoubleAndUnit *tolCmd; -
trunk/source/geometry/navigation/include/G4MultiLevelLocator.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4MultiLevelLocator.hh,v 1. 2 2008/10/29 14:31:55gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4MultiLevelLocator.hh,v 1.3 2010/07/13 15:59:42 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 78 78 G4FieldTrack* ptrInterMedFT[max_depth+1]; 79 79 // Used to store intermediate tracks values in case of too slow progress 80 81 G4int maxNumberOfStepsForIntersection;82 G4int maxNumberOfCallsToReIntegration;83 G4int maxNumberOfCallsToReIntegration_depth;84 // Counters for Statistics about Location and ReIntegrations85 80 }; 86 81 -
trunk/source/geometry/navigation/include/G4MultiNavigator.hh
r1337 r1347 26 26 // 27 27 // $Id: G4MultiNavigator.hh,v 1.5 2008/10/24 14:00:03 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4Navigator.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4Navigator.hh,v 1. 29 2009/11/30 11:59:52 japostExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4Navigator.hh,v 1.34 2010/12/15 13:46:39 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 200 200 inline G4GRSSolid* CreateGRSSolid() const; 201 201 inline G4TouchableHistory* CreateTouchableHistory() const; 202 inline G4TouchableHistory* CreateTouchableHistory(const G4NavigationHistory*) const; 202 203 // `Touchable' creation methods: caller has deletion responsibility. 203 204 … … 241 242 // verifications and more strict correctness conditions. 242 243 // Is effective only with G4VERBOSE set. 243 inline G4bool IsCheckModeActive() { return fCheck; } 244 inline G4bool IsCheckModeActive() const; 245 inline void SetPushVerbosity(G4bool mode); 246 // Set/unset verbosity for pushed tracks (default is true). 244 247 245 248 void PrintState() const; … … 263 266 // 9 (ready to abandon), 10 (abandoned) 264 267 265 // inline266 268 void SetSavedState(); 267 // ( fValidExitNormal, fExitNormal, fExiting, fEntering, 268 // fBlockedPhysicalVolume, fBlockedReplicaNo, fLastStepWasZero); 269 // inline 269 // ( fValidExitNormal, fExitNormal, fExiting, fEntering, 270 // fBlockedPhysicalVolume, fBlockedReplicaNo, fLastStepWasZero); 270 271 void RestoreSavedState(); 271 272 // Copy aspects of the state, to enable a non-state changing 272 273 // call to ComputeStep 273 274 public: // with description275 274 276 275 inline G4ThreeVector GetCurrentLocalCoordinate() const; … … 283 282 // Compute+return the local->global translation/rotation of current volume. 284 283 284 inline void EnableBestSafety( G4bool value= false ); 285 // Enable best-possible evaluation of isotropic safety 286 285 287 protected: // with description 288 286 289 inline G4ThreeVector ComputeLocalPoint(const G4ThreeVector& rGlobPoint) const; 287 290 // Return position vector in local coordinate system, given a position … … 310 313 // o Recompute transforms and/or solids of replicated/parameterised 311 314 // volumes. 315 316 private: 317 318 void ComputeStepLog(const G4ThreeVector& pGlobalpoint, 319 G4double moveLenSq) const; 320 // Log and checks for steps larger than the tolerance 312 321 313 322 protected: // without description … … 434 443 G4bool fCheck; 435 444 // Check-mode flag [if true, more strict checks are performed]. 436 G4bool fPushed ;437 // Push flag [if true, means a stuck particle has been pushed].445 G4bool fPushed, fWarnPush; 446 // Push flags [if true, means a stuck particle has been pushed]. 438 447 439 448 // Helpers/Utility classes -
trunk/source/geometry/navigation/include/G4Navigator.icc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4Navigator.icc,v 1.1 5 2007/10/18 14:18:36gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4Navigator.icc,v 1.18 2010/12/15 13:46:39 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 308 308 309 309 // ******************************************************************** 310 // CreateTouchableHistory(history) 311 // 312 // `Touchable' creation method: caller has deletion responsibility 313 // ******************************************************************** 314 // 315 inline 316 G4TouchableHistory* 317 G4Navigator::CreateTouchableHistory(const G4NavigationHistory* history) const 318 { 319 return new G4TouchableHistory(*history); 320 } 321 322 // ******************************************************************** 310 323 // LocateGlobalPointAndUpdateTouchableHandle 311 324 // ******************************************************************** … … 450 463 451 464 // ******************************************************************** 465 // IsCheckModeActive 466 // ******************************************************************** 467 // 468 inline 469 G4bool G4Navigator::IsCheckModeActive() const 470 { 471 return fCheck; 472 } 473 474 // ******************************************************************** 475 // SetPushVerbosity 476 // ******************************************************************** 477 // 478 inline 479 void G4Navigator::SetPushVerbosity(G4bool mode) 480 { 481 fWarnPush = mode; 482 } 483 484 // ******************************************************************** 452 485 // SeverityOfZeroStepping 453 486 // … … 485 518 return severity; 486 519 } 520 521 // ******************************************************************** 522 // EnableBestSafety 523 // ******************************************************************** 524 // 525 inline void G4Navigator::EnableBestSafety( G4bool value ) 526 { 527 fvoxelNav.EnableBestSafety( value ); 528 } -
trunk/source/geometry/navigation/include/G4NormalNavigation.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4NormalNavigation.hh,v 1. 4 2006/06/29 18:36:06 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4NormalNavigation.hh,v 1.6 2010/11/04 08:57:56 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 42 42 #define G4NORMALNAVIGATION_HH 43 43 44 #include <iomanip> 45 44 46 #include "G4NavigationHistory.hh" 47 #include "G4NavigationLogger.hh" 45 48 #include "G4VPhysicalVolume.hh" 46 49 #include "G4LogicalVolume.hh" … … 89 92 const G4double pMaxLength=DBL_MAX ); 90 93 91 inline G4int GetVerboseLevel() ;94 inline G4int GetVerboseLevel() const; 92 95 inline void SetVerboseLevel(G4int level); 93 96 // Get/Set Verbose(ness) level. … … 102 105 103 106 G4bool fCheck; 104 G4 int fVerbose;107 G4NavigationLogger* fLogger; 105 108 }; 106 109 -
trunk/source/geometry/navigation/include/G4NormalNavigation.icc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4NormalNavigation.icc,v 1. 4 2006/06/29 18:36:08 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4NormalNavigation.icc,v 1.5 2010/11/04 08:57:56 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 94 94 } 95 95 96 // ******************************************************************** 97 // GetVerboseLevel 98 // ******************************************************************** 99 // 96 100 inline 97 G4int G4NormalNavigation::GetVerboseLevel() 101 G4int G4NormalNavigation::GetVerboseLevel() const 98 102 { 99 return f Verbose;103 return fLogger->GetVerboseLevel(); 100 104 } 101 105 106 // ******************************************************************** 107 // SetVerboseLevel 108 // ******************************************************************** 109 // 102 110 inline 103 111 void G4NormalNavigation::SetVerboseLevel(G4int level) 104 112 { 105 f Verbose = level;113 fLogger->SetVerboseLevel(level); 106 114 } 107 115 116 // ******************************************************************** 117 // CheckMode 118 // ******************************************************************** 119 // 108 120 inline 109 121 void G4NormalNavigation::CheckMode(G4bool mode) -
trunk/source/geometry/navigation/include/G4ParameterisedNavigation.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ParameterisedNavigation.hh,v 1.6 2007/11/09 16:06:02 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4ParameterisedNavigation.icc
r1337 r1347 26 26 // 27 27 // $Id: G4ParameterisedNavigation.icc,v 1.7 2007/11/09 16:06:02 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4PathFinder.hh
r1337 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4PathFinder.hh,v 1.3 4 2007/11/02 12:28:31 japostExp $27 // GEANT4 tag $Name: geant4-09-04- beta-01$26 // $Id: G4PathFinder.hh,v 1.35 2010/07/13 15:59:42 gcosmo Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 28 28 // 29 29 // class G4PathFinder … … 259 259 // State for Step numbers 260 260 G4int fLastStepNo, fCurrentStepNo; 261 G4bool fParticleIsLooping;262 261 263 262 G4int fVerboseLevel; // For debuging purposes 264 265 G4int fMax_loop_count;266 // Limit for the number of sub-steps taken in one call to ComputeStep267 263 268 264 G4TransportationManager* fpTransportManager; // Cache for frequent use -
trunk/source/geometry/navigation/include/G4PhantomParameterisation.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4PhantomParameterisation.hh,v 1. 5 2009/05/19 18:27:03arce Exp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4PhantomParameterisation.hh,v 1.6 2010/11/09 15:43:15 arce Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 117 117 // voxels fill it completely. 118 118 119 G4int GetReplicaNo( const G4ThreeVector& localPoint,119 virtual G4int GetReplicaNo( const G4ThreeVector& localPoint, 120 120 const G4ThreeVector& localDir ); 121 121 // Get the voxel number corresponding to the point in the container … … 167 167 // Check that the copy number is within limits. 168 168 169 pr ivate:169 protected: 170 170 171 171 G4double fVoxelHalfX,fVoxelHalfY,fVoxelHalfZ; -
trunk/source/geometry/navigation/include/G4PhantomParameterisation.icc
r1337 r1347 26 26 // 27 27 // $Id: G4PhantomParameterisation.icc,v 1.1 2007/10/17 19:13:58 arce Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 //-------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4PropagatorInField.hh
r1337 r1347 26 26 // 27 27 // $Id: G4PropagatorInField.hh,v 1.19 2009/11/13 17:34:26 japost Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4PropagatorInField.icc
r1337 r1347 26 26 // 27 27 // $Id: G4PropagatorInField.icc,v 1.16 2009/11/13 17:34:26 japost Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4RegularNavigation.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4RegularNavigation.hh,v 1. 2 2007/10/18 14:18:36gcosmo Exp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4RegularNavigation.hh,v 1.4 2010/09/03 16:29:43 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 87 87 88 88 G4double ComputeStepSkippingEqualMaterials( 89 const G4ThreeVectorlocalPoint,89 G4ThreeVector& localPoint, 90 90 const G4ThreeVector& globalDirection, 91 91 const G4double currentProposedStepLength, … … 116 116 // Set and Get methods 117 117 118 void SetVerboseLevel(G4int level) { f Verbose = level; }119 void CheckMode(G4bool mode) { f Check = mode; }118 void SetVerboseLevel(G4int level) { fverbose = level; } 119 void CheckMode(G4bool mode) { fcheck = mode; } 120 120 void SetNormalNavigation( G4NormalNavigation* fnormnav ) 121 121 { fnormalNav = fnormnav; } … … 123 123 private: 124 124 125 G4int f Verbose;126 G4bool f Check;125 G4int fverbose; 126 G4bool fcheck; 127 127 128 128 G4NormalNavigation* fnormalNav; -
trunk/source/geometry/navigation/include/G4RegularNavigationHelper.hh
r1337 r1347 26 26 // 27 27 // $Id: G4RegularNavigationHelper.hh,v 1.1 2009/01/27 09:31:29 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -------------------------------------------------------------------- -
trunk/source/geometry/navigation/include/G4ReplicaNavigation.hh
r1337 r1347 26 26 // 27 27 // $Id: G4ReplicaNavigation.hh,v 1.6 2007/05/18 07:31:09 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4ReplicaNavigation.icc
r1337 r1347 26 26 // 27 27 // $Id: G4ReplicaNavigation.icc,v 1.5 2006/06/29 18:36:22 gunter Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4SafetyHelper.hh
r1337 r1347 26 26 // 27 27 // $Id: G4SafetyHelper.hh,v 1.7 2007/05/02 15:32:13 japost Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4SimpleLocator.hh
r1337 r1347 26 26 // 27 27 // $Id: G4SimpleLocator.hh,v 1.2 2008/10/29 14:31:55 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4TransportationManager.hh
r1337 r1347 26 26 // 27 27 // $Id: G4TransportationManager.hh,v 1.12 2007/04/20 15:28:37 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // class G4TransportationManager -
trunk/source/geometry/navigation/include/G4TransportationManager.icc
r1337 r1347 26 26 // 27 27 // $Id: G4TransportationManager.icc,v 1.10 2007/04/20 15:28:37 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 inlined function members implementation -
trunk/source/geometry/navigation/include/G4VIntersectionLocator.hh
r1337 r1347 26 26 // 27 27 // $Id: G4VIntersectionLocator.hh,v 1.6 2009/11/30 11:39:15 japost Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4VIntersectionLocator.icc
r1337 r1347 26 26 // 27 27 // $Id: G4VIntersectionLocator.icc,v 1.3 2008/11/14 18:26:35 gcosmo Exp $ 28 // GEANT4 tag $Name: geant4-09-04- beta-01$28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // -
trunk/source/geometry/navigation/include/G4VoxelNavigation.hh
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VoxelNavigation.hh,v 1. 5 2007/05/11 13:43:59 gcosmoExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VoxelNavigation.hh,v 1.8 2010/11/04 12:13:30 japost Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 44 44 #include "geomdefs.hh" 45 45 #include "G4NavigationHistory.hh" 46 #include "G4NavigationLogger.hh" 46 47 #include "G4AffineTransform.hh" 47 48 #include "G4VPhysicalVolume.hh" … … 51 52 52 53 #include "G4BlockingList.hh" 54 55 class G4VoxelSafety; 53 56 54 57 // Required for inline implementation … … 98 101 99 102 inline G4int GetVerboseLevel() const; 100 inlinevoid SetVerboseLevel(G4int level);103 void SetVerboseLevel(G4int level); 101 104 // Get/Set Verbose(ness) level. 102 105 // [if level>0 && G4VERBOSE, printout can occur] … … 107 110 // Is effective only with G4VERBOSE set. 108 111 112 inline void EnableBestSafety( G4bool flag= false ); 113 // Enable best-possible evaluation of isotropic safety 114 109 115 protected: 110 116 … … 113 119 const G4ThreeVector& localDirection, 114 120 const G4double currentStep ); 121 122 G4SmartVoxelNode* VoxelLocateLight( G4SmartVoxelHeader* pHead, 123 const G4ThreeVector& localPoint ) const; 124 125 private: // Logging functions 126 127 void PreComputeStepLog (const G4VPhysicalVolume* motherPhysical, 128 G4double motherSafety, 129 const G4ThreeVector& localPoint); 130 void AlongComputeStepLog(const G4VSolid* sampleSolid, 131 const G4ThreeVector& samplePoint, 132 const G4ThreeVector& sampleDirection, 133 const G4ThreeVector& localDirection, 134 G4double sampleSafety, 135 G4double sampleStep); 136 void PostComputeStepLog (const G4VSolid* motherSolid, 137 const G4ThreeVector& localPoint, 138 const G4ThreeVector& localDirection, 139 G4double motherStep, 140 G4double motherSafety); 141 void ComputeSafetyLog (const G4VSolid* solid, 142 const G4ThreeVector& point, 143 G4double safety, 144 G4bool banner); 145 inline void PrintDaughterLog (const G4VSolid* sampleSolid, 146 const G4ThreeVector& samplePoint, 147 G4double sampleSafety, 148 G4double sampleStep); 149 protected: 115 150 116 151 G4BlockingList fBList; … … 147 182 // 148 183 184 G4VoxelSafety *fpVoxelSafety; 185 // Helper object for Voxel Safety 186 149 187 G4bool fCheck; 150 G4int fVerbose; 151 G4double kCarTolerance; 188 G4bool fBestSafety; 189 190 G4NavigationLogger* fLogger; 191 // Verbosity logger 152 192 }; 153 193 -
trunk/source/geometry/navigation/include/G4VoxelNavigation.icc
r1337 r1347 25 25 // 26 26 // 27 // $Id: G4VoxelNavigation.icc,v 1. 4 2006/06/29 18:36:30 gunterExp $28 // GEANT4 tag $Name: geant4-09-04- beta-01$27 // $Id: G4VoxelNavigation.icc,v 1.7 2010/11/04 17:38:17 japost Exp $ 28 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 29 29 // 30 30 // … … 67 67 } 68 68 else if ( targetNodeNo>=targetHeaderNoSlices ) 69 70 71 69 { 70 targetNodeNo = targetHeaderNoSlices-1; 71 } 72 72 // Stack info for stepping 73 73 // … … 169 169 G4int G4VoxelNavigation::GetVerboseLevel() const 170 170 { 171 return fVerbose; 172 } 173 174 // ******************************************************************** 175 // SetVerboseLevel 176 // ******************************************************************** 177 // 178 inline 179 void G4VoxelNavigation::SetVerboseLevel(G4int level) 180 { 181 fVerbose = level; 171 return fLogger->GetVerboseLevel(); 182 172 } 183 173 … … 191 181 fCheck = mode; 192 182 } 183 184 // ******************************************************************** 185 // EnableBestSafety 186 // ******************************************************************** 187 // 188 inline 189 void G4VoxelNavigation::EnableBestSafety(G4bool flag) 190 { 191 fBestSafety = flag; 192 }
Note: See TracChangeset
for help on using the changeset viewer.