#include <G4ITSafetyHelper.hh>
Definition at line 55 of file G4ITSafetyHelper.hh.
 
      
        
          | G4ITSafetyHelper::G4ITSafetyHelper  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 42 of file G4ITSafetyHelper.cc.
   44     fFirstCall(
true), fVerbose(0)
 
   53   fMassNavigatorId = -1;
 
 
 
 
      
        
          | G4ITSafetyHelper::~G4ITSafetyHelper  | 
          ( | 
           | ) | 
           | 
        
      
 
 
Definition at line 94 of file G4ITSafetyHelper.cc.
  101   G4double linstep = fpMassNavigator->CheckNextStep(position, direction,
 
  102                                                     currentMaxStep, newSafety);
 
StateTypeHandle fpTrackState
 
 
 
 
Definition at line 112 of file G4ITSafetyHelper.cc.
  121   if ((moveLengthSq > 0.0))
 
  123     if (!fUseParallelGeometries)
 
  126       newSafety = fpMassNavigator->ComputeSafety(
position, maxLength, 
true);
 
  135     if (newSafety < maxLength)
 
StateTypeHandle fpTrackState
 
G4double ComputeSafety(const G4ThreeVector &globalPoint)
 
 
 
 
  
  
      
        
          | void G4ITSafetyHelper::EnableParallelNavigation  | 
          ( | 
          G4bool  | 
          parallel | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
      
        
          | void G4ITSafetyHelper::InitialiseHelper  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 80 of file G4ITSafetyHelper.cc.
virtual void NewTrackState()
 
void InitialiseNavigator()
 
 
 
 
      
        
          | void G4ITSafetyHelper::InitialiseNavigator  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 56 of file G4ITSafetyHelper.cc.
   65   if(fpMassNavigator == 0) abort();
 
   72     G4Exception(
"G4ITSafetyHelper::InitialiseNavigator",
 
   74                 "Found that existing tracking Navigator has NULL world");
 
static G4PathFinder * GetInstance()
 
static G4ITTransportationManager * GetTransportationManager()
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
G4ITNavigator * GetNavigatorForTracking() const 
 
 
 
 
Definition at line 184 of file G4ITSafetyHelper.cc.
  187   if (!fUseParallelGeometries)
 
  189     fpMassNavigator->LocateGlobalPointAndSetup(newPosition, &newDirection, 
true,
 
  194     fpPathFinder->
Locate(newPosition, newDirection);
 
void Locate(const G4ThreeVector &position, const G4ThreeVector &direction, G4bool relativeSearch=true)
 
 
 
 
Definition at line 152 of file G4ITSafetyHelper.cc.
  163       ed << 
" Safety Sphere:  Radius = " << 
fpTrackState->fLastSafety;
 
  165       ed << 
" New Location :  Move   = " << moveVec.
mag2();
 
  166       ed << 
" Position = " << newPosition << 
G4endl;
 
  167       G4Exception(
"G4ITSafetyHelper::ReLocateWithinVolume", 
"GeomNav999",
 
  169                   "Unsafe Move> Asked to relocate beyond 'Safety sphere'.");
 
  174   if (!fUseParallelGeometries)
 
  176     fpMassNavigator->LocateGlobalPointWithinVolume(newPosition);
 
  180     fpPathFinder->
ReLocate(newPosition);
 
std::ostringstream G4ExceptionDescription
 
void ReLocate(const G4ThreeVector &position)
 
StateTypeHandle fpTrackState
 
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
 
 
 
 
  
  
      
        
          | G4int G4ITSafetyHelper::SetVerboseLevel  | 
          ( | 
          G4int  | 
          lev | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
The documentation for this class was generated from the following files:
- source/geant4.10.03.p02/source/processes/electromagnetic/dna/management/include/G4ITSafetyHelper.hh
 
- source/geant4.10.03.p02/source/processes/electromagnetic/dna/management/src/G4ITSafetyHelper.cc