G4ErrorPropagatorData Class Reference

#include <G4ErrorPropagatorData.hh>


Public Member Functions

G4ErrorMode GetMode () const
void SetMode (G4ErrorMode mode)
G4ErrorState GetState () const
void SetState (G4ErrorState sta)
G4ErrorStage GetStage () const
void SetStage (G4ErrorStage sta)
const G4ErrorTarget * GetTarget (G4bool mustExist=0) const
void SetTarget (const G4ErrorTarget *target)

Static Public Member Functions

static G4ErrorPropagatorData * GetErrorPropagatorData ()
static G4int verbose ()
static void SetVerbose (G4int ver)


Detailed Description

Definition at line 62 of file G4ErrorPropagatorData.hh.


Member Function Documentation

G4ErrorPropagatorData * G4ErrorPropagatorData::GetErrorPropagatorData (  )  [static]

Definition at line 53 of file G4ErrorPropagatorData.cc.

Referenced by G4ErrorEnergyLoss::AlongStepDoIt(), G4ErrorSurfaceTrajState::BuildErrorMatrix(), G4ErrorPropagator::CheckIfLastStep(), G4ErrorPropagationNavigator::ComputeSafety(), G4ErrorPropagationNavigator::ComputeStep(), G4ErrorMag_UsualEqRhs::EvaluateRhsGivenB(), G4ErrorPropagatorManager::EventTermination(), G4ErrorPropagatorManager::G4ErrorPropagatorManager(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4ErrorPropagator::GetFinalTrajState(), G4ErrorPropagatorManager::InitGeant4e(), G4ErrorPropagatorManager::InitTrackPropagation(), G4ErrorPropagator::MakeOneStep(), G4ErrorPropagatorManager::PrintG4ErrorState(), G4ErrorPropagatorManager::Propagate(), G4ErrorPropagator::Propagate(), G4ErrorFreeTrajState::PropagateError(), G4ErrorPropagatorManager::PropagateOneStep(), G4ErrorPropagator::PropagateOneStep(), and G4ErrorPropagatorManager::RunTermination().

00054 {
00055   static G4ErrorPropagatorData errorPropagatorData;
00056   if( !theErrorPropagatorData )
00057   {
00058     theErrorPropagatorData = &errorPropagatorData;
00059   }
00060   return theErrorPropagatorData;
00061 }

G4ErrorMode G4ErrorPropagatorData::GetMode (  )  const [inline]

Definition at line 35 of file G4ErrorPropagatorData.icc.

Referenced by G4ErrorEnergyLoss::AlongStepDoIt(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4ErrorPropagator::Propagate(), and G4ErrorPropagator::PropagateOneStep().

00036 {
00037   return theMode;
00038 }

G4ErrorStage G4ErrorPropagatorData::GetStage (  )  const [inline]

Definition at line 66 of file G4ErrorPropagatorData.icc.

00067 {
00068   return theStage;
00069 }

G4ErrorState G4ErrorPropagatorData::GetState (  )  const [inline]

Definition at line 54 of file G4ErrorPropagatorData.icc.

Referenced by G4ErrorPropagator::CheckIfLastStep(), G4ErrorPropagator::GetFinalTrajState(), G4ErrorPropagator::MakeOneStep(), G4ErrorPropagator::Propagate(), and G4ErrorPropagator::PropagateOneStep().

00055 {
00056   return theState;
00057 }

const G4ErrorTarget * G4ErrorPropagatorData::GetTarget ( G4bool  mustExist = 0  )  const [inline]

Definition at line 72 of file G4ErrorPropagatorData.icc.

References FatalException, and G4Exception().

Referenced by G4ErrorPropagationNavigator::ComputeSafety(), G4ErrorPropagationNavigator::ComputeStep(), G4ErrorPropagator::MakeOneStep(), and G4ErrorPropagator::PropagateOneStep().

00073 {
00074   if( theTarget == 0 && mustExist )
00075   {
00076     G4Exception("G4ErrorPropagatorData::GetTarget()",
00077                 "InvalidSetup", FatalException,
00078                 "G4ErrorPropagator defined but without final target!"); 
00079   }
00080   return theTarget;
00081 }

void G4ErrorPropagatorData::SetMode ( G4ErrorMode  mode  )  [inline]

Definition at line 41 of file G4ErrorPropagatorData.icc.

Referenced by G4ErrorPropagatorManager::Propagate(), G4ErrorPropagator::Propagate(), and G4ErrorPropagatorManager::PropagateOneStep().

00042 {
00043   theMode = mode;
00044 }

void G4ErrorPropagatorData::SetStage ( G4ErrorStage  sta  )  [inline]

Definition at line 60 of file G4ErrorPropagatorData.icc.

00061 {
00062   theStage = sta;
00063 }

void G4ErrorPropagatorData::SetState ( G4ErrorState  sta  )  [inline]

Definition at line 48 of file G4ErrorPropagatorData.icc.

Referenced by G4ErrorPropagationNavigator::ComputeStep(), G4ErrorPropagatorManager::EventTermination(), G4ErrorPropagatorManager::G4ErrorPropagatorManager(), G4ErrorPropagatorManager::InitGeant4e(), G4ErrorPropagatorManager::InitTrackPropagation(), G4ErrorPropagator::MakeOneStep(), and G4ErrorPropagatorManager::RunTermination().

00049 {
00050   theState = sta;
00051 }

void G4ErrorPropagatorData::SetTarget ( const G4ErrorTarget *  target  )  [inline]

Definition at line 84 of file G4ErrorPropagatorData.icc.

Referenced by G4ErrorPropagator::Propagate().

00085 {
00086   theTarget = const_cast<G4ErrorTarget*>(target);
00087 }

void G4ErrorPropagatorData::SetVerbose ( G4int  ver  )  [static]

Definition at line 68 of file G4ErrorPropagatorData.cc.

Referenced by G4ErrorPropagatorManager::G4ErrorPropagatorManager().

00069 {
00070   theVerbosity = ver;
00071 }

G4int G4ErrorPropagatorData::verbose (  )  [static]

Definition at line 63 of file G4ErrorPropagatorData.cc.

Referenced by G4ErrorEnergyLoss::AlongStepDoIt(), G4ErrorPropagationNavigator::ComputeStep(), G4ErrorCylSurfaceTarget::G4ErrorCylSurfaceTarget(), G4ErrorPlaneSurfaceTarget::G4ErrorPlaneSurfaceTarget(), G4ErrorPropagator::G4ErrorPropagator(), G4ErrorTrajState::G4ErrorTrajState(), G4ErrorEnergyLoss::GetContinuousStepLimit(), G4ErrorPlaneSurfaceTarget::GetDistanceFromPoint(), G4ErrorCylSurfaceTarget::GetDistanceFromPoint(), G4ErrorTrackLengthTarget::GetMeanFreePath(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4ErrorPropagatorManager::InitGeant4e(), G4ErrorPlaneSurfaceTarget::Intersect(), G4ErrorCylSurfaceTarget::IntersectLocal(), G4ErrorStepLengthLimitProcess::PostStepGetPhysicalInteractionLength(), G4ErrorMagFieldLimitProcess::PostStepGetPhysicalInteractionLength(), G4ErrorMessenger::SetNewValue(), and G4ErrorGeomVolumeTarget::TargetReached().

00064 {
00065   return theVerbosity;
00066 }


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:51:55 2013 for Geant4 by  doxygen 1.4.7