72 char* prop = getenv(
"G4ERROR_PROP");
82 G4Exception(
"exG4eReco",
"Fatal error in Argument",
JustWarning,
"Variable G4ERROR_PROP not defined, taking it = UNTIL_TARGET");
86 for(
size_t ii = 0; ii < nEvents; ii++ ){
120 char* target = getenv(
"G4ERROR_TARGET");
134 G4Exception(
"exG4eReco",
"Fatal error in Argument",
JustWarning,
"Variable G4ERROR_TARGET not defined, taking it = PLANE_SURFACE");
141 char* mode = getenv(
"G4ERROR_MODE");
151 G4Exception(
"exG4eReco",
"Fatal error in Argument",
JustWarning,
"Variable G4ERROR_MODE not defined, taking it = BACKWARDS");
178 }
else if( iProp == 1){
195 G4cout <<
"STEP_BY_STEP propagation: Last Step " <<
G4endl;
206 G4cout <<
" Position: " << posEnd << G4endl
207 <<
" Momentum: " << momEnd << G4endl
208 <<
" Error: " << errorEnd <<
G4endl;
221 }
else if( iTarget == 2 ) {
224 }
else if( iTarget == 3 ) {
226 }
else if( iTarget == 4 ) {
G4int PropagateOneStep(G4ErrorTrajState *currentTS, G4ErrorMode mode=G4ErrorMode_PropForwards)
void InvokePostUserTrackingAction(G4Track *fpTrack)
CLHEP::Hep3Vector G4ThreeVector
void InitTrackPropagation()
G4Point3D GetPosition() const
HepGeom::Point3D< G4double > G4Point3D
void ProcessEvent(G4int iProp, size_t nEv)
static G4ErrorPropagatorManager * GetErrorPropagatorManager()
Definition of the ExErrorDetectorConstruction class.
static G4UImanager * GetUIpointer()
G4ErrorMode theG4ErrorMode
G4GLOB_DLL std::ostream G4cout
G4ErrorPropagator * GetPropagator() const
void SetUserInitialization(G4VUserDetectorConstruction *userInit)
Detector construction class.
G4Vector3D GetMomentum() const
G4ErrorTarget * theTarget
G4Track * GetG4Track() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetTarget(const G4ErrorTarget *target)
static void SetInstance(G4VSteppingVerbose *Instance)
G4bool CheckIfLastStep(G4Track *aTrack)
G4ErrorTarget * BuildTarget(G4int iTarget)
G4int Propagate(G4ErrorTrajState *currentTS, const G4ErrorTarget *target, G4ErrorMode mode=G4ErrorMode_PropForwards)
static PROLOG_HANDLER error
static G4ErrorPropagatorData * GetErrorPropagatorData()
G4int ApplyCommand(const char *aCommand)
G4ErrorTrajErr GetError() const
HepGeom::Normal3D< G4double > G4Normal3D