5 #include "G4ChordFinder.hh"
8 #include "CLHEP/Units/SystemOfUnits.h"
15 : G4FieldManager(commonField, nullptr,
false),
17 fAlternativeFM(altFM),
25 int PID = trk->GetDynamicParticle()->GetDefinition()->GetPDGEncoding();
46 SetDeltaIntersection(fm->GetDeltaIntersection());
47 SetDeltaOneStep(fm->GetDeltaOneStep());
48 G4ChordFinder *cf = fm->GetChordFinder();
49 cf->SetDeltaChord(cf->GetDeltaChord());
59 <<
ss <<
" DeltaIntersection= " << G4FieldManager::GetDeltaIntersection()
60 <<
", DeltaOneStep= " << G4FieldManager::GetDeltaOneStep()
61 <<
", DeltaChord= " << G4FieldManager::GetChordFinder()->GetDeltaChord() <<
" for "
62 << trk->GetDynamicParticle()->GetDefinition()->GetPDGEncoding() <<
" with "
63 << trk->GetKineticEnergy() /
CLHEP::GeV <<
" GeV in " << trk->GetVolume()->GetName();