Import Geant4 9.3.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4PropagatorInField.icc,v 1.13 2008/10/29 14:31:55 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
// $Id: G4PropagatorInField.icc,v 1.16 2009/11/13 17:34:26 japost Exp $
|
||||
// GEANT4 tag $Name: geant4-09-03 $
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------------------
|
||||
@@ -109,6 +109,7 @@ void G4PropagatorInField::SetMaxLoopCount( G4int new_max )
|
||||
fMax_loop_count = new_max;
|
||||
}
|
||||
|
||||
// #if 0
|
||||
inline
|
||||
G4double G4PropagatorInField::GetDeltaIntersection() const
|
||||
{
|
||||
@@ -120,25 +121,7 @@ G4double G4PropagatorInField::GetDeltaOneStep() const
|
||||
{
|
||||
return fCurrentFieldMgr->GetDeltaOneStep();
|
||||
}
|
||||
|
||||
inline
|
||||
void
|
||||
G4PropagatorInField::SetAccuraciesWithDeltaOneStep( G4double valDeltaOneStep )
|
||||
{
|
||||
fDetectorFieldMgr->SetAccuraciesWithDeltaOneStep(valDeltaOneStep);
|
||||
}
|
||||
|
||||
inline
|
||||
void G4PropagatorInField::SetDeltaOneStep( G4double valDeltaOneStep )
|
||||
{
|
||||
fDetectorFieldMgr->SetDeltaOneStep(valDeltaOneStep);
|
||||
}
|
||||
|
||||
inline
|
||||
void G4PropagatorInField::SetDeltaIntersection( G4double valDeltaIntersection )
|
||||
{
|
||||
fDetectorFieldMgr->SetDeltaIntersection(valDeltaIntersection);
|
||||
}
|
||||
// #endif
|
||||
|
||||
inline
|
||||
G4int G4PropagatorInField::GetVerboseLevel() const
|
||||
@@ -235,6 +218,12 @@ G4int G4PropagatorInField::GetThresholdNoZeroSteps( G4int i )
|
||||
return t;
|
||||
}
|
||||
|
||||
inline G4double G4PropagatorInField::GetZeroStepThreshold(){ return fZeroStepThreshold; }
|
||||
inline void G4PropagatorInField::SetZeroStepThreshold( G4double newLength )
|
||||
{
|
||||
fZeroStepThreshold= newLength;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4PropagatorInField::SetDetectorFieldManager(G4FieldManager* newDetectorFieldManager)
|
||||
{
|
||||
@@ -258,7 +247,12 @@ inline
|
||||
void G4PropagatorInField::
|
||||
SetNavigatorForPropagating( G4Navigator *SimpleOrMultiNavigator )
|
||||
{
|
||||
if(SimpleOrMultiNavigator) { fNavigator= SimpleOrMultiNavigator; }
|
||||
if(SimpleOrMultiNavigator) {
|
||||
fNavigator= SimpleOrMultiNavigator;
|
||||
if( fIntersectionLocator ) {
|
||||
fIntersectionLocator->SetNavigatorFor( SimpleOrMultiNavigator );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
inline
|
||||
@@ -294,3 +288,4 @@ G4bool G4PropagatorInField::IntersectChord( G4ThreeVector StartPointA,
|
||||
fPreviousSafety,fPreviousSftOrigin,
|
||||
LinearStepLength,IntersectionPoint);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user