ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 232 of file errprop.cc.

View newest version in sPHENIX GitHub at line 232 of file errprop.cc

References cm, FatalErrorInArgument, G4Exception(), and radius.

Referenced by Initialize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void Finalize ( )

Definition at line 256 of file errprop.cc.

View newest version in sPHENIX GitHub at line 256 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 100 of file errprop.cc.

View newest version in sPHENIX GitHub at line 100 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 PHG4GDMLUtility::Dump_G4_GDML(), PHG4GDMLUtility::Dump_GDML(), G4GDMLParser::G4GDMLParser(), main(), HepMCG4AsciiReaderMessenger::SetNewValue(), HadrontherapyDetectorConstruction::UpdateGeometry(), and visio().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( )

Definition at line 62 of file errprop.cc.

View newest version in sPHENIX GitHub at line 62 of file errprop.cc

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

+ Here is the call graph for this function:

void ProcessEvent ( G4int  iProp,
size_t  nEv 
)

Definition at line 171 of file errprop.cc.

View newest version in sPHENIX GitHub at line 171 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 59 of file errprop.cc.

View newest version in sPHENIX GitHub at line 59 of file errprop.cc

Referenced by Initialize(), and ProcessEvent().