Geant4  10.02
errprop.cc File Reference

Main program of the errorpropagation example. More...

+ Include dependency graph for errprop.cc:

Go to the source code of this file.

Functions

void Initialize ()
 
G4ErrorTargetBuildTarget (G4int iTarget)
 
void ProcessEvent (G4int iProp, size_t nEv)
 
void Finalize ()
 
int main ()
 

Variables

G4ErrorTargettheTarget
 
G4ErrorMode theG4ErrorMode
 

Detailed Description

Main program of the errorpropagation example.

Definition in file errprop.cc.

Function Documentation

G4ErrorTarget * BuildTarget ( G4int  iTarget)

Definition at line 233 of file errprop.cc.

References cm, FatalErrorInArgument, and G4Exception().

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Finalize ( )

Definition at line 257 of file errprop.cc.

References G4ErrorPropagatorManager::CloseGeometry(), and G4ErrorPropagatorManager::GetErrorPropagatorManager().

Referenced by main(), G4MPImanager::ParseArguments(), and G4MPImanager::~G4MPImanager().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Initialize ( )

Definition at line 101 of file errprop.cc.

References G4UImanager::ApplyCommand(), BuildTarget(), FatalErrorInArgument, G4ErrorMode_PropBackwards, G4ErrorMode_PropForwards, G4Exception(), G4ErrorPropagatorData::GetErrorPropagatorData(), G4ErrorPropagatorManager::GetErrorPropagatorManager(), G4UImanager::GetUIpointer(), G4ErrorPropagatorManager::InitGeant4e(), JustWarning, G4VSteppingVerbose::SetInstance(), G4ErrorPropagatorData::SetTarget(), G4ErrorPropagatorManager::SetUserInitialization(), and theG4ErrorMode.

Referenced by G4GDMLParser::G4GDMLParser(), main(), HepMCG4AsciiReaderMessenger::SetNewValue(), and HadrontherapyDetectorConstruction::UpdateGeometry().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( )

Definition at line 63 of file errprop.cc.

References FatalErrorInArgument, Finalize(), G4Exception(), Initialize(), JustWarning, and ProcessEvent().

+ Here is the call graph for this function:

void ProcessEvent ( G4int  iProp,
size_t  nEv 
)

Definition at line 172 of file errprop.cc.

References G4ErrorPropagator::CheckIfLastStep(), cm, error, G4cout, G4endl, G4ErrorTrajState::GetError(), G4ErrorPropagatorManager::GetErrorPropagatorManager(), G4ErrorTrajState::GetG4Track(), G4ErrorTrajState::GetMomentum(), G4ErrorTrajState::GetPosition(), G4ErrorPropagatorManager::GetPropagator(), GeV, G4ErrorPropagatorManager::InitTrackPropagation(), G4ErrorPropagator::InvokePostUserTrackingAction(), G4ErrorPropagatorManager::Propagate(), G4ErrorPropagatorManager::PropagateOneStep(), theG4ErrorMode, and TRUE.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

G4ErrorMode theG4ErrorMode

Definition at line 60 of file errprop.cc.

Referenced by Initialize(), and ProcessEvent().