Geant4-11
|
#include <G4ReplicaNavigation.hh>
Public Member Functions | |
EInside | BackLocate (G4NavigationHistory &history, const G4ThreeVector &globalPoint, G4ThreeVector &localPoint, const G4bool &exiting, G4bool ¬KnownInside) const |
void | CheckMode (G4bool mode) |
G4double | ComputeSafety (const G4ThreeVector &globalPoint, const G4ThreeVector &localPoint, G4NavigationHistory &history, const G4double pProposedMaxLength=DBL_MAX) |
G4double | ComputeStep (const G4ThreeVector &globalPoint, const G4ThreeVector &globalDirection, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double currentProposedStepLength, G4double &newSafety, G4NavigationHistory &history, G4bool &validExitNormal, G4bool &calculatedExitNormal, G4ThreeVector &exitNormal, G4bool &exiting, G4bool &entering, G4VPhysicalVolume *(*pBlockedPhysical), G4int &blockedReplicaNo) |
void | ComputeTransformation (const G4int replicaNo, G4VPhysicalVolume *pVol) const |
void | ComputeTransformation (const G4int replicaNo, G4VPhysicalVolume *pVol, G4ThreeVector &point) const |
G4double | DistanceToOut (const G4VPhysicalVolume *pVol, const G4int replicaNo, const G4ThreeVector &localPoint) const |
G4double | DistanceToOut (const G4VPhysicalVolume *pVol, const G4int replicaNo, const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, G4ExitNormal &candidateNormal) const |
G4ReplicaNavigation () | |
G4int | GetVerboseLevel () const |
EInside | Inside (const G4VPhysicalVolume *pVol, const G4int replicaNo, const G4ThreeVector &localPoint) const |
G4bool | LevelLocate (G4NavigationHistory &history, const G4VPhysicalVolume *blockedVol, const G4int blockedNum, const G4ThreeVector &globalPoint, const G4ThreeVector *globalDirection, const G4bool pLocatedOnEdge, G4ThreeVector &localPoint) |
void | SetVerboseLevel (G4int level) |
~G4ReplicaNavigation () | |
Private Member Functions | |
G4double | DistanceToOutPhi (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double width, G4ExitNormal &foundNormal) const |
G4double | DistanceToOutRad (const G4ThreeVector &localPoint, const G4ThreeVector &localDirection, const G4double width, const G4double offset, const G4int replicaNo, G4ExitNormal &foundNormal) const |
void | SetPhiTransformation (const G4double ang, G4VPhysicalVolume *pVol=0) const |
G4int | VoxelLocate (const G4SmartVoxelHeader *pHead, const G4ThreeVector &localPoint, const G4int blocked=-1) const |
Private Attributes | |
G4bool | fCheck = false |
G4double | fMinStep |
G4int | fVerbose = 0 |
G4double | halfkAngTolerance |
G4double | halfkCarTolerance |
G4double | halfkRadTolerance |
G4double | kAngTolerance |
G4double | kCarTolerance |
G4double | kRadTolerance |
Definition at line 78 of file G4ReplicaNavigation.hh.
G4ReplicaNavigation::G4ReplicaNavigation | ( | ) |
Definition at line 53 of file G4ReplicaNavigation.cc.
References fMinStep, G4GeometryTolerance::GetAngularTolerance(), G4GeometryTolerance::GetInstance(), G4GeometryTolerance::GetRadialTolerance(), G4GeometryTolerance::GetSurfaceTolerance(), halfkAngTolerance, halfkCarTolerance, halfkRadTolerance, kAngTolerance, kCarTolerance, and kRadTolerance.
G4ReplicaNavigation::~G4ReplicaNavigation | ( | ) |
Definition at line 68 of file G4ReplicaNavigation.cc.
EInside G4ReplicaNavigation::BackLocate | ( | G4NavigationHistory & | history, |
const G4ThreeVector & | globalPoint, | ||
G4ThreeVector & | localPoint, | ||
const G4bool & | exiting, | ||
G4bool & | notKnownInside | ||
) | const |
Definition at line 1241 of file G4ReplicaNavigation.cc.
References FatalException, G4Exception(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetSolid(), g4zmq::history(), G4VSolid::Inside(), Inside(), kInside, kOutside, kReplica, and kSurface.
Referenced by G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), and G4Navigator::LocateGlobalPointAndSetup().
|
inline |
G4double G4ReplicaNavigation::ComputeSafety | ( | const G4ThreeVector & | globalPoint, |
const G4ThreeVector & | localPoint, | ||
G4NavigationHistory & | history, | ||
const G4double | pProposedMaxLength = DBL_MAX |
||
) |
Definition at line 1152 of file G4ReplicaNavigation.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), DistanceToOut(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetNoDaughters(), G4VPhysicalVolume::GetRotation(), G4LogicalVolume::GetSolid(), G4VPhysicalVolume::GetTranslation(), g4zmq::history(), G4AffineTransform::Invert(), kInfinity, kReplica, and G4AffineTransform::TransformPoint().
Referenced by G4Navigator::ComputeSafety(), G4ITNavigator1::ComputeSafety(), and G4ITNavigator2::ComputeSafety().
G4double G4ReplicaNavigation::ComputeStep | ( | const G4ThreeVector & | globalPoint, |
const G4ThreeVector & | globalDirection, | ||
const G4ThreeVector & | localPoint, | ||
const G4ThreeVector & | localDirection, | ||
const G4double | currentProposedStepLength, | ||
G4double & | newSafety, | ||
G4NavigationHistory & | history, | ||
G4bool & | validExitNormal, | ||
G4bool & | calculatedExitNormal, | ||
G4ThreeVector & | exitNormal, | ||
G4bool & | exiting, | ||
G4bool & | entering, | ||
G4VPhysicalVolume ** | pBlockedPhysical, | ||
G4int & | blockedReplicaNo | ||
) |
Definition at line 749 of file G4ReplicaNavigation.cc.
References G4VSolid::DistanceToIn(), G4VSolid::DistanceToOut(), DistanceToOut(), CLHEP::Hep3Vector::dot(), G4VSolid::DumpInfo(), G4ExitNormal::exitNormal, FatalException, fCheck, fMinStep, G4cout, G4endl, G4Exception(), G4LogicalVolume::GetDaughter(), G4VPhysicalVolume::GetLogicalVolume(), G4VPhysicalVolume::GetName(), G4VSolid::GetName(), G4LogicalVolume::GetNoDaughters(), G4VPhysicalVolume::GetRotation(), G4LogicalVolume::GetSolid(), G4VPhysicalVolume::GetTranslation(), g4zmq::history(), G4VSolid::Inside(), CLHEP::HepRotation::inverse(), G4AffineTransform::InverseTransformAxis(), G4AffineTransform::Invert(), JustWarning, kCarTolerance, kInfinity, kInside, kMinExitingNormalCosine, G4ExitNormal::kMother, kOutside, kReplica, kSurface, G4INCL::Math::min(), G4VSolid::SurfaceNormal(), G4AffineTransform::TransformAxis(), G4AffineTransform::TransformPoint(), and G4ExitNormal::validConvex.
Referenced by G4Navigator::ComputeStep(), G4ITNavigator1::ComputeStep(), and G4ITNavigator2::ComputeStep().
void G4ReplicaNavigation::ComputeTransformation | ( | const G4int | replicaNo, |
G4VPhysicalVolume * | pVol | ||
) | const |
Definition at line 705 of file G4ReplicaNavigation.cc.
References G4VPhysicalVolume::GetReplicationData(), kPhi, kRho, kXAxis, kYAxis, kZAxis, SetPhiTransformation(), and G4VPhysicalVolume::SetTranslation().
void G4ReplicaNavigation::ComputeTransformation | ( | const G4int | replicaNo, |
G4VPhysicalVolume * | pVol, | ||
G4ThreeVector & | point | ||
) | const |
Definition at line 649 of file G4ReplicaNavigation.cc.
References G4VPhysicalVolume::GetReplicationData(), kPhi, kRho, kXAxis, kYAxis, kZAxis, SetPhiTransformation(), G4VPhysicalVolume::SetTranslation(), CLHEP::Hep3Vector::setX(), CLHEP::Hep3Vector::setY(), CLHEP::Hep3Vector::setZ(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4ITNavigator1::LocateGlobalPointAndSetup(), G4ITNavigator2::LocateGlobalPointAndSetup(), G4Navigator::LocateGlobalPointAndSetup(), G4Navigator::SetupHierarchy(), G4ITNavigator1::SetupHierarchy(), and G4ITNavigator2::SetupHierarchy().
G4double G4ReplicaNavigation::DistanceToOut | ( | const G4VPhysicalVolume * | pVol, |
const G4int | replicaNo, | ||
const G4ThreeVector & | localPoint | ||
) | const |
Definition at line 183 of file G4ReplicaNavigation.cc.
References FatalException, G4Exception(), G4VPhysicalVolume::GetReplicationData(), halfkCarTolerance, kPhi, kRho, kXAxis, kYAxis, kZAxis, CLHEP::Hep3Vector::perp(), CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by ComputeSafety(), and ComputeStep().
G4double G4ReplicaNavigation::DistanceToOut | ( | const G4VPhysicalVolume * | pVol, |
const G4int | replicaNo, | ||
const G4ThreeVector & | localPoint, | ||
const G4ThreeVector & | localDirection, | ||
G4ExitNormal & | candidateNormal | ||
) | const |
Definition at line 249 of file G4ReplicaNavigation.cc.
References G4ExitNormal::calculated, DistanceToOutPhi(), DistanceToOutRad(), G4ExitNormal::exitNormal, G4ExitNormal::exitSide, FatalException, G4Exception(), G4VPhysicalVolume::GetReplicationData(), kInfinity, kPhi, kRho, kXAxis, kYAxis, kZAxis, anonymous_namespace{G4ReplicaNavigation.cc}::SideCartAxesMinus, anonymous_namespace{G4ReplicaNavigation.cc}::SideCartAxesPlus, G4ExitNormal::validConvex, and anonymous_namespace{G4ReplicaNavigation.cc}::VecCartAxes.
|
private |
Definition at line 323 of file G4ReplicaNavigation.cc.
References G4ExitNormal::calculated, G4ExitNormal::exitNormal, halfkCarTolerance, G4ExitNormal::kEPhi, kInfinity, G4ExitNormal::kMY, G4ExitNormal::kNull, G4ExitNormal::kSPhi, CLHEP::Hep3Vector::phi(), CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by DistanceToOut().
|
private |
Definition at line 497 of file G4ReplicaNavigation.cc.
References G4ExitNormal::calculated, d2, G4ExitNormal::exitNormal, G4ExitNormal::exitSide, halfkRadTolerance, kInfinity, G4ExitNormal::kNull, G4ExitNormal::kRMax, G4ExitNormal::kRMin, G4ExitNormal::validConvex, CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by DistanceToOut().
|
inline |
EInside G4ReplicaNavigation::Inside | ( | const G4VPhysicalVolume * | pVol, |
const G4int | replicaNo, | ||
const G4ThreeVector & | localPoint | ||
) | const |
Definition at line 77 of file G4ReplicaNavigation.cc.
References FatalException, G4Exception(), G4VPhysicalVolume::GetReplicationData(), halfkAngTolerance, halfkCarTolerance, halfkRadTolerance, kInside, kOutside, kPhi, kRho, kSurface, kXAxis, kYAxis, kZAxis, CLHEP::Hep3Vector::perp2(), CLHEP::Hep3Vector::x(), and CLHEP::Hep3Vector::y().
Referenced by BackLocate().
|
inline |
|
inlineprivate |
Referenced by ComputeTransformation().
|
inline |
|
inlineprivate |
|
private |
Definition at line 171 of file G4ReplicaNavigation.hh.
Referenced by ComputeStep().
|
private |
Definition at line 177 of file G4ReplicaNavigation.hh.
Referenced by ComputeStep(), and G4ReplicaNavigation().
|
private |
Definition at line 172 of file G4ReplicaNavigation.hh.
|
private |
Definition at line 176 of file G4ReplicaNavigation.hh.
Referenced by G4ReplicaNavigation(), and Inside().
|
private |
Definition at line 176 of file G4ReplicaNavigation.hh.
Referenced by DistanceToOut(), DistanceToOutPhi(), G4ReplicaNavigation(), and Inside().
|
private |
Definition at line 176 of file G4ReplicaNavigation.hh.
Referenced by DistanceToOutRad(), G4ReplicaNavigation(), and Inside().
|
private |
Definition at line 175 of file G4ReplicaNavigation.hh.
Referenced by G4ReplicaNavigation().
|
private |
Definition at line 175 of file G4ReplicaNavigation.hh.
Referenced by ComputeStep(), and G4ReplicaNavigation().
|
private |
Definition at line 175 of file G4ReplicaNavigation.hh.
Referenced by G4ReplicaNavigation().