ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/source/geometry/magneticfield/include/G4ChordFinder.hh>
Public Member Functions | |
G4ChordFinder (G4VIntegrationDriver *pIntegrationDriver) | |
G4ChordFinder (G4MagneticField *itsMagField, G4double stepMinimum=1.0e-2, G4MagIntegratorStepper *pItsStepper=nullptr, G4bool useFSALstepper=false) | |
virtual | ~G4ChordFinder () |
G4ChordFinder (const G4ChordFinder &)=delete | |
G4ChordFinder & | operator= (const G4ChordFinder &)=delete |
G4double | AdvanceChordLimited (G4FieldTrack &yCurrent, G4double stepInitial, G4double epsStep_Relative, const G4ThreeVector &latestSafetyOrigin, G4double lasestSafetyRadius) |
G4FieldTrack | ApproxCurvePointS (const G4FieldTrack &curveAPointVelocity, const G4FieldTrack &curveBPointVelocity, const G4FieldTrack &ApproxCurveV, const G4ThreeVector ¤tEPoint, const G4ThreeVector ¤tFPoint, const G4ThreeVector &PointG, G4bool first, G4double epsStep) |
G4FieldTrack | ApproxCurvePointV (const G4FieldTrack &curveAPointVelocity, const G4FieldTrack &curveBPointVelocity, const G4ThreeVector ¤tEPoint, G4double epsStep) |
G4double | InvParabolic (const G4double xa, const G4double ya, const G4double xb, const G4double yb, const G4double xc, const G4double yc) |
G4double | GetDeltaChord () const |
void | SetDeltaChord (G4double newval) |
void | SetIntegrationDriver (G4VIntegrationDriver *IntegrationDriver) |
G4VIntegrationDriver * | GetIntegrationDriver () |
void | ResetStepEstimate () |
G4int | SetVerbose (G4int newvalue=1) |
void | OnComputeStep () |
Protected Member Functions | |
void | PrintDchordTrial (G4int noTrials, G4double stepTrial, G4double oldStepTrial, G4double dChordStep) |
Private Attributes | |
const G4double | fDefaultDeltaChord |
G4double | fDeltaChord |
G4int | fStatsVerbose = 0 |
G4VIntegrationDriver * | fIntgrDriver = nullptr |
G4MagIntegratorStepper * | fRegularStepperOwned = nullptr |
G4MagIntegratorStepper * | fNewFSALStepperOwned = nullptr |
std::unique_ptr< G4HelixHeum > | fLongStepper |
G4CachedMagneticField * | fCachedField = nullptr |
G4EquationOfMotion * | fEquation = nullptr |
Definition at line 50 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 50 of file G4ChordFinder.hh
|
explicit |
Definition at line 64 of file G4ChordFinder.cc.
View newest version in sPHENIX GitHub at line 64 of file G4ChordFinder.cc
References fDefaultDeltaChord, and fDeltaChord.
G4ChordFinder::G4ChordFinder | ( | G4MagneticField * | itsMagField, |
G4double | stepMinimum = 1.0e-2 , |
||
G4MagIntegratorStepper * | pItsStepper = nullptr , |
||
G4bool | useFSALstepper = false |
||
) |
Definition at line 75 of file G4ChordFinder.cc.
View newest version in sPHENIX GitHub at line 75 of file G4ChordFinder.cc
References FatalException, fDefaultDeltaChord, fDeltaChord, fEquation, fIntgrDriver, fLongStepper, fNewFSALStepperOwned, fRegularStepperOwned, G4cout, G4endl, G4Exception(), JustWarning, and message().
|
virtual |
Definition at line 257 of file G4ChordFinder.cc.
View newest version in sPHENIX GitHub at line 257 of file G4ChordFinder.cc
References fCachedField, fEquation, fIntgrDriver, fNewFSALStepperOwned, and fRegularStepperOwned.
|
delete |
|
inline |
G4FieldTrack G4ChordFinder::ApproxCurvePointS | ( | const G4FieldTrack & | curveAPointVelocity, |
const G4FieldTrack & | curveBPointVelocity, | ||
const G4FieldTrack & | ApproxCurveV, | ||
const G4ThreeVector & | currentEPoint, | ||
const G4ThreeVector & | currentFPoint, | ||
const G4ThreeVector & | PointG, | ||
G4bool | first, | ||
G4double | epsStep | ||
) |
Definition at line 269 of file G4ChordFinder.cc.
View newest version in sPHENIX GitHub at line 269 of file G4ChordFinder.cc
References kdfinder::abs(), G4VIntegrationDriver::AccurateAdvance(), ApproxCurvePointV(), fIntgrDriver, G4cout, G4endl, G4FieldTrack::GetCurveLength(), G4FieldTrack::GetPosition(), and InvParabolic().
Referenced by G4BrentLocator::EstimateIntersectionPoint().
G4FieldTrack G4ChordFinder::ApproxCurvePointV | ( | const G4FieldTrack & | curveAPointVelocity, |
const G4FieldTrack & | curveBPointVelocity, | ||
const G4ThreeVector & | currentEPoint, | ||
G4double | epsStep | ||
) |
Definition at line 380 of file G4ChordFinder.cc.
View newest version in sPHENIX GitHub at line 380 of file G4ChordFinder.cc
References G4VIntegrationDriver::AccurateAdvance(), FatalException, fIntgrDriver, G4cerr, G4cout, G4endl, G4Exception(), G4FieldTrack::GetCurveLength(), G4FieldTrack::GetPosition(), CLHEP::Hep3Vector::mag(), max, message(), and perMillion.
Referenced by ApproxCurvePointS(), G4SimpleLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), and G4BrentLocator::EstimateIntersectionPoint().
|
inline |
Referenced by G4PropagatorInField::ComputeStep(), and export_G4ChordFinder().
|
inline |
Referenced by G4BrentLocator::EstimateIntersectionPoint(), G4MultiLevelLocator::EstimateIntersectionPoint(), G4ErrorPropagatorManager::InitFieldForBackwards(), G4VIntersectionLocator::ReEstimateEndpoint(), G4FieldManager::SetDetectorField(), and G4PropagatorInField::SetVerboseLevel().
void G4ChordFinder::OnComputeStep | ( | ) |
|
delete |
|
protected |
|
inline |
Referenced by G4FieldManagerStore::ClearAllChordFindersState(), and G4CoupledTransportation::StartTracking().
Referenced by G4PropagatorInField::ComputeStep(), CCalDetectorConstruction::Construct(), F04GlobalField::ConstructField(), ExUCNDetectorConstruction::ConstructSDandField(), F05DetectorConstruction::ConstructSDandField(), F06DetectorConstruction::ConstructSDandField(), and export_G4ChordFinder().
|
inline |
|
private |
Definition at line 143 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 143 of file G4ChordFinder.hh
Referenced by ~G4ChordFinder().
|
private |
Definition at line 129 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 129 of file G4ChordFinder.hh
Referenced by G4ChordFinder().
|
private |
Definition at line 133 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 133 of file G4ChordFinder.hh
Referenced by G4ChordFinder().
|
private |
Definition at line 145 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 145 of file G4ChordFinder.hh
Referenced by G4ChordFinder(), and ~G4ChordFinder().
|
private |
Definition at line 139 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 139 of file G4ChordFinder.hh
Referenced by ApproxCurvePointS(), ApproxCurvePointV(), G4ChordFinder(), and ~G4ChordFinder().
|
private |
Definition at line 142 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 142 of file G4ChordFinder.hh
Referenced by G4ChordFinder().
|
private |
Definition at line 141 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 141 of file G4ChordFinder.hh
Referenced by G4ChordFinder(), and ~G4ChordFinder().
|
private |
Definition at line 140 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 140 of file G4ChordFinder.hh
Referenced by G4ChordFinder(), and ~G4ChordFinder().
|
private |
Definition at line 135 of file G4ChordFinder.hh.
View newest version in sPHENIX GitHub at line 135 of file G4ChordFinder.hh