Geant4  10.02.p02
G4NavigationLogger Class Reference

#include <G4NavigationLogger.hh>

+ Collaboration diagram for G4NavigationLogger:

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
 

Detailed Description

Definition at line 49 of file G4NavigationLogger.hh.

Constructor & Destructor Documentation

G4NavigationLogger::G4NavigationLogger ( const G4String id)

Definition at line 45 of file G4NavigationLogger.cc.

G4NavigationLogger::~G4NavigationLogger ( )

Definition at line 50 of file G4NavigationLogger.cc.

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4NavigationLogger::GetMinTriggerDistance ( ) const
inline

Definition at line 132 of file G4NavigationLogger.hh.

References fMinTriggerDistance.

G4bool G4NavigationLogger::GetReportSoftWarnings ( ) const
inline

Definition at line 134 of file G4NavigationLogger.hh.

References fReportSoftWarnings.

G4int G4NavigationLogger::GetVerboseLevel ( ) const
inline

Definition at line 129 of file G4NavigationLogger.hh.

References fVerbose.

Referenced by G4NormalNavigation::GetVerboseLevel().

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4NavigationLogger::SetMinTriggerDistance ( G4double  d)
inline

Definition at line 133 of file G4NavigationLogger.hh.

References fMinTriggerDistance.

void G4NavigationLogger::SetReportSoftWarnings ( G4bool  b)
inline

Definition at line 135 of file G4NavigationLogger.hh.

References fReportSoftWarnings.

void G4NavigationLogger::SetVerboseLevel ( G4int  level)
inline

Definition at line 130 of file G4NavigationLogger.hh.

References fVerbose.

Referenced by G4NormalNavigation::SetVerboseLevel(), and G4VoxelNavigation::SetVerboseLevel().

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4NavigationLogger::fMinTriggerDistance
private
G4bool G4NavigationLogger::fReportSoftWarnings
private

The documentation for this class was generated from the following files: