#include <HyperbolaStepper.h>
Definition at line 19 of file HyperbolaStepper.h.
◆ HyperbolaStepper()
Definition at line 12 of file HyperbolaStepper.cxx.
21 m_field(
dynamic_cast<const G4ElectroMagneticField*
>(
field)),
32 G4Exception(
"HyperbolaStepper::HyperbolaStepper",
"QuirkNonEM", FatalErrorInArgument,
"Non-EM fields not supported");
41 next.PrepareNextStep();
42 if (
next.IsBoostLimited())
break;
◆ ~HyperbolaStepper()
HyperbolaStepper::~HyperbolaStepper |
( |
| ) |
|
|
virtual |
◆ ComputeRightHandSide()
virtual void HyperbolaStepper::ComputeRightHandSide |
( |
const |
G4double[], |
|
|
G4double |
[] |
|
) |
| |
|
inlinevirtual |
◆ DistChord()
G4double HyperbolaStepper::DistChord |
( |
| ) |
const |
|
virtual |
◆ GetCharge()
G4double HyperbolaStepper::GetCharge |
( |
| ) |
const |
|
inline |
◆ GetField()
const G4ElectroMagneticField * HyperbolaStepper::GetField |
( |
| ) |
const |
|
inline |
◆ GetForce()
G4double HyperbolaStepper::GetForce |
( |
| ) |
const |
|
inline |
◆ GetMass()
G4double HyperbolaStepper::GetMass |
( |
| ) |
const |
|
inline |
◆ GetMaxExpRapidity()
G4double HyperbolaStepper::GetMaxExpRapidity |
( |
| ) |
const |
|
inline |
◆ GetMaxLength()
G4double HyperbolaStepper::GetMaxLength |
( |
| ) |
const |
|
inline |
◆ GetStartMomentum()
const G4LorentzVector & HyperbolaStepper::GetStartMomentum |
( |
| ) |
const |
|
inline |
◆ IntegratorOrder()
virtual G4int HyperbolaStepper::IntegratorOrder |
( |
| ) |
const |
|
inlinevirtual |
◆ SetCurrStep()
void HyperbolaStepper::SetCurrStep |
( |
G4double |
length | ) |
|
|
private |
◆ SetDebug()
void HyperbolaStepper::SetDebug |
( |
G4bool |
debug | ) |
|
|
inline |
◆ Stepper()
void HyperbolaStepper::Stepper |
( |
const G4double |
y[], |
|
|
const |
G4double[], |
|
|
G4double |
h, |
|
|
G4double |
yout[], |
|
|
G4double |
yerr[] |
|
) |
| |
|
virtual |
Definition at line 63 of file HyperbolaStepper.cxx.
70 G4int maxvar = GetNumberOfStateVariables();
71 for (G4int
i = 0;
i < maxvar;
i++) yout[
i] =
y[
i];
73 if (
m_debug) G4cout <<
"HyperbolaStepper: asked to move " <<
h << G4endl;
74 if (
m_debug) G4cout <<
"HyperbolaStepper: start = " <<
y[0] <<
", " <<
y[1] <<
", " <<
y[2] <<
" [" <<
y[8] <<
"]" << G4endl;
79 if (
m_debug) G4cout <<
"HyperbolaStepper: end = " << yout[0] <<
", " << yout[1] <<
", " << yout[2] <<
" [" << yout[8] <<
"]" << G4endl;
◆ Update()
void HyperbolaStepper::Update |
( |
G4FieldTrack & |
fieldTrack, |
|
|
G4bool |
forceStep |
|
) |
| |
Definition at line 90 of file HyperbolaStepper.cxx.
98 fieldTrack.UpdateFourMomentum(
p.t() -
m_mass,
p.vect().unit());
105 for (std::vector<HyperbolaStep>::size_type
i = 0;
i <
m_nPrevSteps;
i++) {
106 if (
m_debug) G4cout <<
"HyperbolaStepper: pushing vector " <<
m_steps[
i].GetStringOut().lv() << G4endl;
◆ m_charge
const G4double HyperbolaStepper::m_charge |
|
private |
◆ m_currStep
◆ m_debug
G4bool HyperbolaStepper::m_debug |
|
private |
◆ m_field
const G4ElectroMagneticField* const HyperbolaStepper::m_field |
|
private |
◆ m_mass
const G4double HyperbolaStepper::m_mass |
|
private |
◆ m_maxExpRapidity
const G4double HyperbolaStepper::m_maxExpRapidity |
|
private |
◆ m_nPrevSteps
std::vector<HyperbolaStep>::size_type HyperbolaStepper::m_nPrevSteps |
|
private |
◆ m_NUM_VARS
const G4int HyperbolaStepper::m_NUM_VARS = 9 |
|
staticprivate |
◆ m_startMomentum
const G4LorentzVector HyperbolaStepper::m_startMomentum |
|
private |
◆ m_steps
◆ m_string
The documentation for this class was generated from the following files: