5 #include "G4ChordFinder.hh" 8 #include "CLHEP/Units/SystemOfUnits.h" 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();
G4FieldManager * fCurrentFM
G4FieldManager * fAlternativeFM
const G4FieldManager * CopyValuesAndChordFinder(G4FieldManager *fm)
Abs< T >::type abs(const T &t)
void print(const G4Track *trk)
G4FieldManager * fPrimaryFM
void ConfigureForTrack(const G4Track *trk) override