49 ATH_MSG_WARNING(
"Track finished on its own. Congrats. Moving on with the event.");
51 G4TransportationManager *tm = G4TransportationManager::GetTransportationManager();
52 tm->GetNavigatorForTracking()->SetVerboseLevel(0);
53 tm->GetPropagatorInField()->SetVerboseLevel(0);
54 G4RunManagerKernel *rmk = G4RunManagerKernel::GetRunManagerKernel();
55 rmk->GetTrackingManager()->SetVerboseLevel(0);
56 rmk->GetTrackingManager()->GetSteppingManager()->SetVerboseLevel(0);
57 rmk->GetStackManager()->SetVerboseLevel(0);
60 ATH_MSG_WARNING(
"LooperKiller triggered!! Hold on to your hats!!!!!!!!" );
63 G4TransportationManager *tm = G4TransportationManager::GetTransportationManager();
67 G4RunManagerKernel *rmk = G4RunManagerKernel::GetRunManagerKernel();
77 aStep->GetTrack()->SetTrackStatus(fStopAndKill);
78 tm->GetNavigatorForTracking()->SetVerboseLevel(0);
79 tm->GetPropagatorInField()->SetVerboseLevel(0);
80 rmk->GetTrackingManager()->SetVerboseLevel(0);
81 rmk->GetTrackingManager()->GetSteppingManager()->SetVerboseLevel(0);
82 rmk->GetStackManager()->SetVerboseLevel(0);
85 if (
m_config.
BSM_Only && (trackHelper.IsPrimary() || trackHelper.IsRegisteredSecondary()) ) {
87 if (
part) { pdg_id =
part->pdg_id(); }
92 rmk->GetEventManager()->AbortCurrentEvent();
93 rmk->GetEventManager()->GetNonconstCurrentEvent()->SetEventAborted();
107 const std::string
name = aStep->GetTrack()->GetDefinition()->GetParticleName();
110 <<
" (trackID " << aStep->GetTrack()->GetTrackID()
111 <<
", track pos: "<<aStep->GetTrack()->GetPosition()
112 <<
", mom: "<<aStep->GetTrack()->GetMomentum()
113 <<
", parentID " << aStep->GetTrack()->GetParentID() <<
")");
117 <<
" (trackID " << aStep->GetTrack()->GetTrackID()
118 <<
", track pos: "<<aStep->GetTrack()->GetPosition()
119 <<
", mom: "<<aStep->GetTrack()->GetMomentum()
120 <<
", parentID " << aStep->GetTrack()->GetParentID() <<
"). The event will abort now.");