Geant4
10.01.p03
|
#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) |
Private Attributes | |
G4String | fId |
G4int | fVerbose |
G4double | fMinTriggerDistance |
G4bool | fReportSoftWarnings |
Definition at line 49 of file G4NavigationLogger.hh.
G4NavigationLogger::G4NavigationLogger | ( | const G4String & | id | ) |
Definition at line 45 of file G4NavigationLogger.cc.
G4NavigationLogger::~G4NavigationLogger | ( | ) |
Definition at line 50 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 141 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 G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::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 563 of file G4NavigationLogger.cc.
References fId, G4endl, G4Exception(), JustWarning, and perMillion.
Referenced by G4ParameterisedNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::ComputeStep().
G4bool G4NavigationLogger::CheckAndReportBadNormal | ( | const G4ThreeVector & | unitNormal, |
const G4ThreeVector & | originalNormal, | ||
const G4RotationMatrix & | rotationM, | ||
const char * | msg | ||
) | const |
Definition at line 615 of file G4NavigationLogger.cc.
References fId, G4endl, G4Exception(), JustWarning, and perMillion.
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 265 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), fId, fVerbose, G4cout, G4endl, G4Exception(), G4VSolid::GetName(), G4VSolid::GetTolerance(), G4VSolid::Inside(), JustWarning, kInfinity, kOutside, kSurface, and millimeter.
Referenced by G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::ComputeStep().
void G4NavigationLogger::ComputeSafetyLog | ( | const G4VSolid * | solid, |
const G4ThreeVector & | point, | ||
G4double | safety, | ||
G4bool | isMotherVolume, | ||
G4int | banner = -1 |
||
) | const |
Definition at line 494 of file G4NavigationLogger.cc.
References fId, fVerbose, G4cout, G4endl, G4VSolid::GetEntityType(), and G4VSolid::GetName().
Referenced by G4NormalNavigation::ComputeSafety(), and G4VoxelNavigation::ComputeSafety().
|
inline |
Definition at line 132 of file G4NavigationLogger.hh.
References fMinTriggerDistance.
|
inline |
Definition at line 134 of file G4NavigationLogger.hh.
References fReportSoftWarnings.
|
inline |
Definition at line 129 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 443 of file G4NavigationLogger.cc.
References G4VSolid::DumpInfo(), FatalException, fId, fVerbose, G4cerr, G4cout, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VSolid::GetName(), and kInfinity.
Referenced by G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::ComputeStep().
void G4NavigationLogger::PreComputeStepLog | ( | const G4VPhysicalVolume * | motherPhysical, |
G4double | motherSafety, | ||
const G4ThreeVector & | localPoint | ||
) | const |
Definition at line 59 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), FatalException, fId, fVerbose, G4cout, G4endl, G4Exception(), G4VSolid::GetEntityType(), G4VPhysicalVolume::GetLogicalVolume(), G4VSolid::GetName(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetSolid(), G4VSolid::GetTolerance(), G4VSolid::Inside(), JustWarning, kOutside, and millimeter.
Referenced by G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::ComputeStep().
void G4NavigationLogger::PrintDaughterLog | ( | const G4VSolid * | sampleSolid, |
const G4ThreeVector & | samplePoint, | ||
G4double | sampleSafety, | ||
G4bool | onlySafety, | ||
const G4ThreeVector & | sampleDirection, | ||
G4double | sampleStep | ||
) | const |
Definition at line 527 of file G4NavigationLogger.cc.
References fVerbose, G4cout, G4endl, G4VSolid::GetEntityType(), and G4VSolid::GetName().
Referenced by G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::ComputeStep().
void G4NavigationLogger::ReportOutsideMother | ( | const G4ThreeVector & | localPoint, |
const G4ThreeVector & | localDirection, | ||
const G4VPhysicalVolume * | motherPV, | ||
G4double | tDist = 30.0*CLHEP::cm |
||
) | const |
Definition at line 667 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, kInfinity, kOutside, G4INCL::Math::max(), and ReportVolumeAndIntersection().
Referenced by G4ParameterisedNavigation::ComputeStep(), G4NormalNavigation::ComputeStep(), and G4VoxelNavigation::ComputeStep().
void G4NavigationLogger::ReportVolumeAndIntersection | ( | std::ostream & | ostrm, |
const G4ThreeVector & | localPoint, | ||
const G4ThreeVector & | localDirection, | ||
const G4VPhysicalVolume * | physical | ||
) | const |
Definition at line 787 of file G4NavigationLogger.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), G4NavigationLogger_Namespace::EInsideNames, fId, G4endl, G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4LogicalVolume::GetSolid(), G4VSolid::GetTolerance(), G4VSolid::Inside(), kOutside, kSurface, and G4VSolid::SurfaceNormal().
Referenced by ReportOutsideMother().
|
inline |
Definition at line 133 of file G4NavigationLogger.hh.
References fMinTriggerDistance.
|
inline |
Definition at line 135 of file G4NavigationLogger.hh.
References fReportSoftWarnings.
|
inline |
Definition at line 130 of file G4NavigationLogger.hh.
References fVerbose.
Referenced by G4NormalNavigation::SetVerboseLevel(), and G4VoxelNavigation::SetVerboseLevel().
|
private |
Definition at line 138 of file G4NavigationLogger.hh.
Referenced by AlongComputeStepLog(), CheckAndReportBadNormal(), CheckDaughterEntryPoint(), ComputeSafetyLog(), PostComputeStepLog(), PreComputeStepLog(), ReportOutsideMother(), and ReportVolumeAndIntersection().
|
private |
Definition at line 140 of file G4NavigationLogger.hh.
Referenced by GetMinTriggerDistance(), ReportOutsideMother(), and SetMinTriggerDistance().
|
private |
Definition at line 141 of file G4NavigationLogger.hh.
Referenced by GetReportSoftWarnings(), ReportOutsideMother(), and SetReportSoftWarnings().
|
private |
Definition at line 139 of file G4NavigationLogger.hh.
Referenced by AlongComputeStepLog(), CheckDaughterEntryPoint(), ComputeSafetyLog(), GetVerboseLevel(), PostComputeStepLog(), PreComputeStepLog(), PrintDaughterLog(), and SetVerboseLevel().