5 #ifndef G4FieldManagerHelper_H
6 #define G4FieldManagerHelper_H
16 #include "G4FieldManager.hh"
25 if( fieldMgr ==
nullptr ) {
return false; }
27 if( eps_min > fieldMgr->GetMaximumEpsilonStep() )
29 fieldMgr->SetMaximumEpsilonStep( eps_max );
30 fieldMgr->SetMinimumEpsilonStep( eps_min );
34 fieldMgr->SetMinimumEpsilonStep( eps_min );
35 fieldMgr->SetMaximumEpsilonStep( eps_max );
37 return eps_min <= eps_max;