Geant4-11
|
#include <G4TransportationLogger.hh>
Public Member Functions | |
G4TransportationLogger (const char *className, G4int verbosity) | |
G4TransportationLogger (const G4String &className, G4int verbosity) | |
G4double | GetThresholdImportantEnergy () const |
G4double | GetThresholdTrials () const |
G4double | GetThresholdWarningEnergy () const |
G4int | GetVerboseLevel () const |
void | ReportLooperThresholds (const char *className) |
void | ReportLoopingTrack (const G4Track &track, const G4Step &stepInfo, G4int numTrials, G4long noCalls, const char *methodName) const |
void | SetThresholdImportantEnergy (G4double val) |
void | SetThresholds (G4double newEnWarn, G4double importantEnergy, G4int newMaxTrials) |
void | SetThresholdTrials (G4int maxNoTrials) |
void | SetThresholdWarningEnergy (G4double val) |
void | SetVerboseLevel (G4int level) |
~G4TransportationLogger () | |
Private Attributes | |
G4String | fClassName |
G4double | fThldImportantEnergy |
G4int | fThldTrials |
G4double | fThldWarningEnergy |
G4int | fVerbose |
Definition at line 47 of file G4TransportationLogger.hh.
Definition at line 42 of file G4TransportationLogger.cc.
G4TransportationLogger::G4TransportationLogger | ( | const char * | className, |
G4int | verbosity | ||
) |
Definition at line 49 of file G4TransportationLogger.cc.
G4TransportationLogger::~G4TransportationLogger | ( | ) |
Definition at line 56 of file G4TransportationLogger.cc.
|
inline |
Definition at line 77 of file G4TransportationLogger.hh.
References fThldImportantEnergy.
Referenced by ReportLooperThresholds().
|
inline |
Definition at line 78 of file G4TransportationLogger.hh.
References fThldTrials.
Referenced by ReportLooperThresholds(), and ReportLoopingTrack().
|
inline |
Definition at line 76 of file G4TransportationLogger.hh.
References fThldWarningEnergy.
Referenced by ReportLooperThresholds(), and ReportLoopingTrack().
|
inline |
void G4TransportationLogger::ReportLooperThresholds | ( | const char * | className | ) |
Definition at line 75 of file G4TransportationLogger.cc.
References className, G4cout, G4endl, GetThresholdImportantEnergy(), GetThresholdTrials(), GetThresholdWarningEnergy(), and CLHEP::MeV.
Referenced by G4CoupledTransportation::ReportLooperThresholds(), and G4Transportation::ReportLooperThresholds().
void G4TransportationLogger::ReportLoopingTrack | ( | const G4Track & | track, |
const G4Step & | stepInfo, | ||
G4int | numTrials, | ||
G4long | noCalls, | ||
const char * | methodName | ||
) | const |
Definition at line 92 of file G4TransportationLogger.cc.
References centimeter, fClassName, G4endl, G4Exception(), G4Track::GetCurrentStepNumber(), G4StepPoint::GetKineticEnergy(), G4Track::GetKineticEnergy(), G4Track::GetMomentum(), G4Track::GetParticleDefinition(), G4ParticleDefinition::GetParticleName(), G4Track::GetPosition(), G4Step::GetPreStepPoint(), G4Step::GetStepLength(), GetThresholdTrials(), GetThresholdWarningEnergy(), G4Track::GetVolume(), gram, JustWarning, CLHEP::Hep3Vector::mag(), eplot::material, MeV, and mm.
Referenced by G4CoupledTransportation::AlongStepDoIt(), and G4Transportation::AlongStepDoIt().
|
inline |
Definition at line 81 of file G4TransportationLogger.hh.
References fThldImportantEnergy.
Referenced by SetThresholds().
void G4TransportationLogger::SetThresholds | ( | G4double | newEnWarn, |
G4double | importantEnergy, | ||
G4int | newMaxTrials | ||
) |
Definition at line 63 of file G4TransportationLogger.cc.
References SetThresholdImportantEnergy(), SetThresholdTrials(), and SetThresholdWarningEnergy().
|
inline |
Definition at line 82 of file G4TransportationLogger.hh.
References fThldTrials, and G4INCL::Math::max().
Referenced by SetThresholds().
|
inline |
Definition at line 80 of file G4TransportationLogger.hh.
References fThldWarningEnergy.
Referenced by SetThresholds().
|
inline |
Definition at line 72 of file G4TransportationLogger.hh.
References fVerbose.
|
private |
Definition at line 86 of file G4TransportationLogger.hh.
Referenced by ReportLoopingTrack().
|
private |
Definition at line 93 of file G4TransportationLogger.hh.
Referenced by GetThresholdImportantEnergy(), and SetThresholdImportantEnergy().
|
private |
Definition at line 94 of file G4TransportationLogger.hh.
Referenced by GetThresholdTrials(), and SetThresholdTrials().
|
private |
Definition at line 92 of file G4TransportationLogger.hh.
Referenced by GetThresholdWarningEnergy(), and SetThresholdWarningEnergy().
|
private |
Definition at line 87 of file G4TransportationLogger.hh.
Referenced by GetVerboseLevel(), and SetVerboseLevel().