Import Geant4 3.0.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: G4FieldManager.icc,v 1.1 2000/04/27 16:27:50 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-02-00 $
|
||||
// $Id: G4FieldManager.icc,v 1.3 2000/11/01 15:15:48 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
//
|
||||
//
|
||||
// G4FieldManager inline implementation
|
||||
@@ -20,14 +20,14 @@ G4bool G4FieldManager::SetDetectorField(G4Field *detectorField)
|
||||
}
|
||||
|
||||
inline
|
||||
G4Field* G4FieldManager::GetDetectorField()
|
||||
const G4Field* G4FieldManager::GetDetectorField() const
|
||||
{
|
||||
// If pointer is null, should this raise an exception ??
|
||||
return fDetectorField;
|
||||
}
|
||||
|
||||
inline
|
||||
G4bool G4FieldManager::DoesFieldExist()
|
||||
G4bool G4FieldManager::DoesFieldExist() const
|
||||
{
|
||||
return (fDetectorField != 0);
|
||||
}
|
||||
@@ -43,3 +43,34 @@ G4ChordFinder* G4FieldManager::GetChordFinder()
|
||||
{
|
||||
return fChordFinder;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4FieldManager::GetDeltaIntersection() const
|
||||
{
|
||||
return fDelta_Intersection_Val;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4FieldManager::GetDeltaOneStep() const
|
||||
{
|
||||
return fDelta_One_Step_Value;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4FieldManager::SetDeltaOneStep(G4double valDeltaOneStep)
|
||||
{
|
||||
fDelta_One_Step_Value= valDeltaOneStep;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4FieldManager::SetDeltaIntersection(G4double valDeltaIntersection)
|
||||
{
|
||||
fDelta_Intersection_Val = valDeltaIntersection;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4FieldManager::SetAccuraciesWithDeltaOneStep(G4double valDeltaOneStep)
|
||||
{
|
||||
fDelta_One_Step_Value= valDeltaOneStep;
|
||||
fDelta_Intersection_Val = 0.4 * fDelta_One_Step_Value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user