Geant4-11
|
#include <G4NavigationLogger.hh>
Public Member Functions | |
void | AlongComputeStepLog (const G4VSolid *sampleSolid, const G4ThreeVector &samplePoint, const G4ThreeVector &sampleDirection, const G4ThreeVector &localDirection, G4double sampleSafety, 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 | 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 | ComputeSafetyLog (const G4VSolid *solid, const G4ThreeVector &point, G4double safety, G4bool isMotherVolume, G4int banner=-1) const |
G4NavigationLogger (const G4String &id) | |
G4double | GetMinTriggerDistance () const |
G4bool | GetReportSoftWarnings () const |
G4int | GetVerboseLevel () const |
void | PostComputeStepLog (const G4VSolid *motherSolid, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, G4double motherStep, G4double motherSafety) const |
void | PreComputeStepLog (const G4VPhysicalVolume *motherPhysical, G4double motherSafety, const G4ThreeVector &localPoint) const |
void | PrintDaughterLog (const G4VSolid *sampleSolid, const G4ThreeVector &samplePoint, G4double sampleSafety, G4bool onlySafety, const G4ThreeVector &sampleDirection, G4double sampleStep) 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 |
void | SetMinTriggerDistance (G4double d) |
void | SetReportSoftWarnings (G4bool b) |
void | SetVerboseLevel (G4int level) |
~G4NavigationLogger () | |
Private Attributes | |
G4String | fId |
G4double | fMinTriggerDistance = DBL_MAX |
G4bool | fReportSoftWarnings = false |
G4int | fVerbose = 0 |
Definition at line 45 of file G4NavigationLogger.hh.
G4NavigationLogger::G4NavigationLogger | ( | const G4String & | id | ) |
Definition at line 39 of file G4NavigationLogger.cc.
G4NavigationLogger::~G4NavigationLogger | ( | ) |
Definition at line 44 of file G4NavigationLogger.cc.
void G4NavigationLogger::AlongComputeStepLog | ( | const G4VSolid * | sampleSolid, |
const G4ThreeVector & | samplePoint, | ||
const G4ThreeVector & | sampleDirection, | ||
const G4ThreeVector & | localDirection, | ||
G4double | sampleSafety, | ||
G4double | sampleStep | ||
) | const |
Definition at line 134 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), FatalException, fId, fVerbose, G4cout, G4endl, G4Exception(), G4GeometryTolerance::GetInstance(), G4VSolid::GetName(), G4VSolid::Inside(), JustWarning, kInfinity, kInside, kOutside, kSurface, and G4INCL::Math::max().
Referenced by G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
G4bool G4NavigationLogger::CheckAndReportBadNormal | ( | const G4ThreeVector & | unitNormal, |
const G4ThreeVector & | localPoint, | ||
const G4ThreeVector & | localDirection, | ||
G4double | step, | ||
const G4VSolid * | solid, | ||
const char * | msg | ||
) | const |
Definition at line 556 of file G4NavigationLogger.cc.
References fId, G4endl, G4Exception(), JustWarning, CLHEP::Hep3Vector::mag2(), and CLHEP::perMillion.
Referenced by G4ParameterisedNavigation::ComputeStep(), G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
G4bool G4NavigationLogger::CheckAndReportBadNormal | ( | const G4ThreeVector & | unitNormal, |
const G4ThreeVector & | originalNormal, | ||
const G4RotationMatrix & | rotationM, | ||
const char * | msg | ||
) | const |
Definition at line 608 of file G4NavigationLogger.cc.
References fId, G4endl, G4Exception(), CLHEP::HepRotation::inverse(), JustWarning, CLHEP::Hep3Vector::mag2(), CLHEP::perMillion, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
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 |
Definition at line 258 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), eps, fId, fVerbose, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::GetTolerance(), G4VSolid::Inside(), JustWarning, kCarTolerance, kInfinity, kOutside, kSurface, and millimeter.
Referenced by G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
void G4NavigationLogger::ComputeSafetyLog | ( | const G4VSolid * | solid, |
const G4ThreeVector & | point, | ||
G4double | safety, | ||
G4bool | isMotherVolume, | ||
G4int | banner = -1 |
||
) | const |
Definition at line 488 of file G4NavigationLogger.cc.
References fId, fVerbose, G4cout, G4endl, G4VSolid::GetEntityType(), and G4VSolid::GetName().
Referenced by G4NormalNavigation::ComputeSafety(), and G4VoxelNavigation::ComputeSafety().
|
inline |
|
inline |
|
inline |
Definition at line 126 of file G4NavigationLogger.hh.
References fVerbose.
Referenced by G4NormalNavigation::GetVerboseLevel().
void G4NavigationLogger::PostComputeStepLog | ( | const G4VSolid * | motherSolid, |
const G4ThreeVector & | localPoint, | ||
const G4ThreeVector & | localDirection, | ||
G4double | motherStep, | ||
G4double | motherSafety | ||
) | const |
Definition at line 437 of file G4NavigationLogger.cc.
References G4VSolid::DumpInfo(), FatalException, fId, fVerbose, G4cerr, G4cout, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VSolid::GetName(), and kInfinity.
Referenced by G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
void G4NavigationLogger::PreComputeStepLog | ( | const G4VPhysicalVolume * | motherPhysical, |
G4double | motherSafety, | ||
const G4ThreeVector & | localPoint | ||
) | const |
Definition at line 53 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), FatalException, fId, fVerbose, G4cout, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VSolid::GetName(), G4LogicalVolume::GetSolid(), G4VSolid::GetTolerance(), G4VSolid::Inside(), JustWarning, kOutside, and millimeter.
Referenced by G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
void G4NavigationLogger::PrintDaughterLog | ( | const G4VSolid * | sampleSolid, |
const G4ThreeVector & | samplePoint, | ||
G4double | sampleSafety, | ||
G4bool | onlySafety, | ||
const G4ThreeVector & | sampleDirection, | ||
G4double | sampleStep | ||
) | const |
Definition at line 521 of file G4NavigationLogger.cc.
References fVerbose, G4cout, G4endl, G4VSolid::GetEntityType(), and G4VSolid::GetName().
Referenced by G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
void G4NavigationLogger::ReportOutsideMother | ( | const G4ThreeVector & | localPoint, |
const G4ThreeVector & | localDirection, | ||
const G4VPhysicalVolume * | motherPV, | ||
G4double | tDist = 30.0*CLHEP::cm |
||
) | const |
Definition at line 661 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), FatalException, fId, fMinTriggerDistance, fReportSoftWarnings, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4VSolid::GetName(), G4LogicalVolume::GetSolid(), G4VSolid::GetTolerance(), G4VSolid::Inside(), JustWarning, kCarTolerance, kInfinity, kOutside, G4INCL::Math::max(), and ReportVolumeAndIntersection().
Referenced by G4ParameterisedNavigation::ComputeStep(), G4VoxelNavigation::ComputeStep(), and G4NormalNavigation::ComputeStep().
void G4NavigationLogger::ReportVolumeAndIntersection | ( | std::ostream & | ostrm, |
const G4ThreeVector & | localPoint, | ||
const G4ThreeVector & | localDirection, | ||
const G4VPhysicalVolume * | physical | ||
) | const |
Definition at line 780 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), CLHEP::Hep3Vector::dot(), G4NavigationLogger_Namespace::EInsideNames, fId, G4endl, G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetSolid(), G4VSolid::GetTolerance(), G4VSolid::Inside(), kCarTolerance, kOutside, kSurface, and G4VSolid::SurfaceNormal().
Referenced by ReportOutsideMother().
|
inline |
Definition at line 130 of file G4NavigationLogger.hh.
References fMinTriggerDistance.
|
inline |
Definition at line 132 of file G4NavigationLogger.hh.
References fReportSoftWarnings.
|
inline |
Definition at line 127 of file G4NavigationLogger.hh.
References fVerbose.
Referenced by G4NormalNavigation::SetVerboseLevel(), and G4VoxelNavigation::SetVerboseLevel().
|
private |
Definition at line 136 of file G4NavigationLogger.hh.
Referenced by AlongComputeStepLog(), CheckAndReportBadNormal(), CheckDaughterEntryPoint(), ComputeSafetyLog(), PostComputeStepLog(), PreComputeStepLog(), ReportOutsideMother(), and ReportVolumeAndIntersection().
Definition at line 138 of file G4NavigationLogger.hh.
Referenced by GetMinTriggerDistance(), ReportOutsideMother(), and SetMinTriggerDistance().
|
private |
Definition at line 139 of file G4NavigationLogger.hh.
Referenced by GetReportSoftWarnings(), ReportOutsideMother(), and SetReportSoftWarnings().
|
private |
Definition at line 137 of file G4NavigationLogger.hh.
Referenced by AlongComputeStepLog(), CheckDaughterEntryPoint(), ComputeSafetyLog(), GetVerboseLevel(), PostComputeStepLog(), PreComputeStepLog(), PrintDaughterLog(), and SetVerboseLevel().