#include <G4VIntersectionLocator.hh>
|
| G4VIntersectionLocator (G4Navigator *theNavigator) |
|
virtual | ~G4VIntersectionLocator () |
|
virtual G4bool | EstimateIntersectionPoint (const G4FieldTrack &curveStartPointTangent, const G4FieldTrack &curveEndPointTangent, const G4ThreeVector &trialPoint, G4FieldTrack &intersectPointTangent, G4bool &recalculatedEndPoint, G4double &fPreviousSafety, G4ThreeVector &fPreviousSftOrigin)=0 |
|
void | printStatus (const G4FieldTrack &startFT, const G4FieldTrack ¤tFT, G4double requestStep, G4double safety, G4int step) |
|
G4bool | IntersectChord (const G4ThreeVector &StartPointA, const G4ThreeVector &EndPointB, G4double &NewSafety, G4double &PreviousSafety, G4ThreeVector &PreviousSftOrigin, G4double &LinearStepLength, G4ThreeVector &IntersectionPoint, G4bool *calledNavigator=0) |
|
void | SetEpsilonStepFor (G4double EpsilonStep) |
|
void | SetDeltaIntersectionFor (G4double deltaIntersection) |
|
void | SetNavigatorFor (G4Navigator *fNavigator) |
|
void | SetChordFinderFor (G4ChordFinder *fCFinder) |
|
void | SetVerboseFor (G4int fVerbose) |
|
G4int | GetVerboseFor () |
|
G4double | GetDeltaIntersectionFor () |
|
G4double | GetEpsilonStepFor () |
|
G4Navigator * | GetNavigatorFor () |
|
G4ChordFinder * | GetChordFinderFor () |
|
void | SetSafetyParametersFor (G4bool UseSafety) |
|
void | AddAdjustementOfFoundIntersection (G4bool UseCorrection) |
|
G4bool | GetAdjustementOfFoundIntersection () |
|
void | AdjustIntersections (G4bool UseCorrection) |
|
G4bool | AreIntersectionsAdjusted () |
|
void | printStatus (const G4FieldTrack &startFT, const G4FieldTrack ¤tFT, G4double requestStep, G4double safety, G4int step, std::ostringstream &oss) |
|
|
G4FieldTrack | ReEstimateEndpoint (const G4FieldTrack &CurrentStateA, const G4FieldTrack &EstimtdEndStateB, G4double linearDistSq, G4double curveDist) |
|
G4ThreeVector | GetSurfaceNormal (const G4ThreeVector &CurrentInt_Point, G4bool &validNormal) |
|
G4ThreeVector | GetGlobalSurfaceNormal (const G4ThreeVector &CurrentE_Point, G4bool &validNormal) |
|
G4bool | AdjustmentOfFoundIntersection (const G4ThreeVector &A, const G4ThreeVector &CurrentE_Point, const G4ThreeVector &CurrentF_Point, const G4ThreeVector &MomentumDir, const G4bool IntersectAF, G4ThreeVector &IntersectionPoint, G4double &NewSafety, G4double &fPrevSafety, G4ThreeVector &fPrevSftOrigin) |
|
void | ReportTrialStep (G4int step_no, const G4ThreeVector &ChordAB_v, const G4ThreeVector &ChordEF_v, const G4ThreeVector &NewMomentumDir, const G4ThreeVector &NormalAtEntry, G4bool validNormal) |
|
G4bool | LocateGlobalPointWithinVolumeAndCheck (const G4ThreeVector &pos) |
|
void | LocateGlobalPointWithinVolumeCheckAndReport (const G4ThreeVector &pos, const G4String &CodeLocationInfo, G4int CheckMode) |
|
void | SetCheckMode (G4bool value) |
|
G4bool | GetCheckMode () |
|
Definition at line 56 of file G4VIntersectionLocator.hh.
G4VIntersectionLocator::G4VIntersectionLocator |
( |
G4Navigator * |
theNavigator | ) |
|
G4VIntersectionLocator::~G4VIntersectionLocator |
( |
| ) |
|
|
virtual |
void G4VIntersectionLocator::AddAdjustementOfFoundIntersection |
( |
G4bool |
UseCorrection | ) |
|
|
inline |
void G4VIntersectionLocator::AdjustIntersections |
( |
G4bool |
UseCorrection | ) |
|
|
inline |
Definition at line 372 of file G4VIntersectionLocator.cc.
References fVerboseLevel, G4cerr, G4endl, GetGlobalSurfaceNormal(), GetNavigatorFor(), IntersectChord(), kCarTolerance, G4InuclParticleNames::lambda, and G4Navigator::LocateGlobalPointWithinVolume().
Referenced by G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), and G4SimpleLocator::EstimateIntersectionPoint().
G4bool G4VIntersectionLocator::AreIntersectionsAdjusted |
( |
| ) |
|
|
inline |
G4bool G4VIntersectionLocator::GetAdjustementOfFoundIntersection |
( |
| ) |
|
|
inline |
G4bool G4VIntersectionLocator::GetCheckMode |
( |
| ) |
|
|
inlineprotected |
G4double G4VIntersectionLocator::GetDeltaIntersectionFor |
( |
| ) |
|
|
inline |
G4double G4VIntersectionLocator::GetEpsilonStepFor |
( |
| ) |
|
|
inline |
Definition at line 313 of file G4VIntersectionLocator.cc.
References G4Navigator::CreateTouchableHistory(), G4VSolid::DistanceToOut(), fHelpingNavigator, fpTouchable, G4cerr, G4endl, G4TouchableHistory::GetHistory(), G4VPhysicalVolume::GetLogicalVolume(), GetNavigatorFor(), G4LogicalVolume::GetSolid(), G4NavigationHistory::GetTopTransform(), G4VSolid::Inside(), kCarTolerance, kSurface, G4Navigator::LocateGlobalPointAndSetup(), perThousand, G4Navigator::SetWorldVolume(), G4VSolid::SurfaceNormal(), and G4AffineTransform::TransformPoint().
Referenced by GetGlobalSurfaceNormal().
G4Navigator* G4VIntersectionLocator::GetNavigatorFor |
( |
| ) |
|
|
inline |
G4int G4VIntersectionLocator::GetVerboseFor |
( |
| ) |
|
|
inline |
G4bool G4VIntersectionLocator::LocateGlobalPointWithinVolumeAndCheck |
( |
const G4ThreeVector & |
pos | ) |
|
|
protected |
Definition at line 594 of file G4VIntersectionLocator.cc.
References G4Navigator::CheckMode(), G4Navigator::CreateTouchableHistoryHandle(), G4VSolid::DistanceToIn(), fCheckMode, G4cerr, G4endl, G4VPhysicalVolume::GetCopyNo(), G4Navigator::GetGlobalToLocalTransform(), GetNavigatorFor(), G4VSolid::Inside(), G4Navigator::IsCheckModeActive(), kInside, kSurface, G4Navigator::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointWithinVolume(), and G4AffineTransform::TransformPoint().
Referenced by LocateGlobalPointWithinVolumeCheckAndReport().
void G4VIntersectionLocator::LocateGlobalPointWithinVolumeCheckAndReport |
( |
const G4ThreeVector & |
pos, |
|
|
const G4String & |
CodeLocationInfo, |
|
|
G4int |
CheckMode |
|
) |
| |
|
protected |
Definition at line 188 of file G4VIntersectionLocator.cc.
References G4MagInt_Driver::AccurateAdvance(), fVerboseLevel, G4cout, G4endl, G4Exception(), G4ThreadLocal, GetChordFinderFor(), G4FieldTrack::GetCurveLength(), GetEpsilonStepFor(), G4ChordFinder::GetIntegrationDriver(), G4FieldTrack::GetPosition(), JustWarning, and kCarTolerance.
Referenced by G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), and G4SimpleLocator::EstimateIntersectionPoint().
void G4VIntersectionLocator::SetCheckMode |
( |
G4bool |
value | ) |
|
|
inlineprotected |
void G4VIntersectionLocator::SetChordFinderFor |
( |
G4ChordFinder * |
fCFinder | ) |
|
|
inline |
void G4VIntersectionLocator::SetDeltaIntersectionFor |
( |
G4double |
deltaIntersection | ) |
|
|
inline |
void G4VIntersectionLocator::SetEpsilonStepFor |
( |
G4double |
EpsilonStep | ) |
|
|
inline |
void G4VIntersectionLocator::SetNavigatorFor |
( |
G4Navigator * |
fNavigator | ) |
|
|
inline |
void G4VIntersectionLocator::SetSafetyParametersFor |
( |
G4bool |
UseSafety | ) |
|
|
inline |
void G4VIntersectionLocator::SetVerboseFor |
( |
G4int |
fVerbose | ) |
|
|
inline |
G4bool G4VIntersectionLocator::fCheckMode |
|
protected |
G4double G4VIntersectionLocator::fiDeltaIntersection |
|
protected |
G4double G4VIntersectionLocator::fiEpsilonStep |
|
protected |
G4bool G4VIntersectionLocator::fiUseSafety |
|
protected |
G4bool G4VIntersectionLocator::fUseNormalCorrection |
|
protected |
G4int G4VIntersectionLocator::fVerboseLevel |
|
protected |
G4double G4VIntersectionLocator::kCarTolerance |
|
protected |
The documentation for this class was generated from the following files: