|
Geant4 11.4.0
Toolkit for the simulation of the passage of particles through matter
|
G4NavigationLogger is a simple utility class for use by the navigation systems for verbosity and check-mode. More...
#include <G4NavigationLogger.hh>
Public Member Functions | |
| G4NavigationLogger (const G4String &id) | |
| ~G4NavigationLogger () | |
| void | PreComputeStepLog (const G4VPhysicalVolume *motherPhysical, G4double motherSafety, const G4ThreeVector &localPoint) const |
| void | AlongComputeStepLog (const G4VSolid *sampleSolid, const G4ThreeVector &samplePoint, const G4ThreeVector &sampleDirection, const G4ThreeVector &localDirection, G4double sampleSafety, G4double sampleStep) const |
| void | CheckDaughterEntryPoint (const G4VSolid *sampleSolid, const G4ThreeVector &samplePoint, const G4ThreeVector &sampleDirection, const G4VSolid *motherSolid, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, G4double motherStep, G4double sampleStep) const |
| void | PostComputeStepLog (const G4VSolid *motherSolid, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, G4double motherStep, G4double motherSafety) const |
| void | ComputeSafetyLog (const G4VSolid *solid, const G4ThreeVector &point, G4double safety, G4bool isMotherVolume, G4int banner=-1) const |
| void | PrintDaughterLog (const G4VSolid *sampleSolid, const G4ThreeVector &samplePoint, G4double sampleSafety, G4bool onlySafety, const G4ThreeVector &sampleDirection, G4double sampleStep) const |
| G4bool | CheckAndReportBadNormal (const G4ThreeVector &unitNormal, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, G4double step, const G4VSolid *solid, const char *msg) const |
| G4bool | CheckAndReportBadNormal (const G4ThreeVector &unitNormal, const G4ThreeVector &originalNormal, const G4RotationMatrix &rotationM, const char *msg) const |
| void | ReportOutsideMother (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4VPhysicalVolume *motherPV, G4double tDist=30.0 *CLHEP::cm) const |
| void | ReportVolumeAndIntersection (std::ostream &ostrm, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4VPhysicalVolume *physical) const |
| G4int | GetVerboseLevel () const |
| void | SetVerboseLevel (G4int level) |
| G4double | GetMinTriggerDistance () const |
| void | SetMinTriggerDistance (G4double d) |
| G4bool | GetReportSoftWarnings () const |
| void | SetReportSoftWarnings (G4bool b) |
G4NavigationLogger is a simple utility class for use by the navigation systems for verbosity and check-mode.
Definition at line 49 of file G4NavigationLogger.hh.
| G4NavigationLogger::G4NavigationLogger | ( | const G4String & | id | ) |
Constructor and Destructor.
Definition at line 44 of file G4NavigationLogger.cc.
|
default |
| void G4NavigationLogger::AlongComputeStepLog | ( | const G4VSolid * | sampleSolid, |
| const G4ThreeVector & | samplePoint, | ||
| const G4ThreeVector & | sampleDirection, | ||
| const G4ThreeVector & | localDirection, | ||
| G4double | sampleSafety, | ||
| G4double | sampleStep ) const |
Reports about a candidate daughter.
Definition at line 137 of file G4NavigationLogger.cc.
| G4bool G4NavigationLogger::CheckAndReportBadNormal | ( | const G4ThreeVector & | unitNormal, |
| const G4ThreeVector & | localPoint, | ||
| const G4ThreeVector & | localDirection, | ||
| G4double | step, | ||
| const G4VSolid * | solid, | ||
| const char * | msg ) const |
Reports issue with normal from Solid - for ComputeStep().
Definition at line 559 of file G4NavigationLogger.cc.
| G4bool G4NavigationLogger::CheckAndReportBadNormal | ( | const G4ThreeVector & | unitNormal, |
| const G4ThreeVector & | originalNormal, | ||
| const G4RotationMatrix & | rotationM, | ||
| const char * | msg ) const |
Reports issue with normal from Rotation - for ComputeStep().
Definition at line 611 of file G4NavigationLogger.cc.
| void G4NavigationLogger::CheckDaughterEntryPoint | ( | const G4VSolid * | sampleSolid, |
| const G4ThreeVector & | samplePoint, | ||
| const G4ThreeVector & | sampleDirection, | ||
| const G4VSolid * | motherSolid, | ||
| const G4ThreeVector & | localPoint, | ||
| const G4ThreeVector & | localDirection, | ||
| G4double | motherStep, | ||
| G4double | sampleStep ) const |
Checks suspicious distance to a candidate daughter.
Definition at line 261 of file G4NavigationLogger.cc.
| void G4NavigationLogger::ComputeSafetyLog | ( | const G4VSolid * | solid, |
| const G4ThreeVector & | point, | ||
| G4double | safety, | ||
| G4bool | isMotherVolume, | ||
| G4int | banner = -1 ) const |
Reports about safety computation.
Definition at line 491 of file G4NavigationLogger.cc.
|
inline |
Accessors/modifiers.
Definition at line 160 of file G4NavigationLogger.hh.
|
inline |
Definition at line 162 of file G4NavigationLogger.hh.
|
inline |
| void G4NavigationLogger::PostComputeStepLog | ( | const G4VSolid * | motherSolid, |
| const G4ThreeVector & | localPoint, | ||
| const G4ThreeVector & | localDirection, | ||
| G4double | motherStep, | ||
| G4double | motherSafety ) const |
Reports exit distance from mother.
Definition at line 440 of file G4NavigationLogger.cc.
| void G4NavigationLogger::PreComputeStepLog | ( | const G4VPhysicalVolume * | motherPhysical, |
| G4double | motherSafety, | ||
| const G4ThreeVector & | localPoint ) const |
Reports about first check - mother safety.
Definition at line 56 of file G4NavigationLogger.cc.
| void G4NavigationLogger::PrintDaughterLog | ( | const G4VSolid * | sampleSolid, |
| const G4ThreeVector & | samplePoint, | ||
| G4double | sampleSafety, | ||
| G4bool | onlySafety, | ||
| const G4ThreeVector & | sampleDirection, | ||
| G4double | sampleStep ) const |
Reports about a new minimum distance to candidate daughter.
Definition at line 524 of file G4NavigationLogger.cc.
| void G4NavigationLogger::ReportOutsideMother | ( | const G4ThreeVector & | localPoint, |
| const G4ThreeVector & | localDirection, | ||
| const G4VPhysicalVolume * | motherPV, | ||
| G4double | tDist = 30.0*CLHEP::cm ) const |
Reports if point wrongly located outside mother volume.
Definition at line 664 of file G4NavigationLogger.cc.
| void G4NavigationLogger::ReportVolumeAndIntersection | ( | std::ostream & | ostrm, |
| const G4ThreeVector & | localPoint, | ||
| const G4ThreeVector & | localDirection, | ||
| const G4VPhysicalVolume * | physical ) const |
Auxiliary method to report information about volume and position/direction
Definition at line 775 of file G4NavigationLogger.cc.
Referenced by ReportOutsideMother().
|
inline |
Definition at line 161 of file G4NavigationLogger.hh.
|
inline |
Definition at line 163 of file G4NavigationLogger.hh.
|
inline |
Definition at line 155 of file G4NavigationLogger.hh.