RooParticle
Particle scattering simulator with ROOT
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
asymptote Class Reference

Analytic two-body 1/r asymptote calculator. More...

#include <asymptote.hpp>

Public Types

enum  status {
  kUnbound = 0 , kHeadOn , kFree , kRadialAttractive ,
  kParabolic , kBound , kInvalid
}
 Classification of the relative orbit. Only kUnbound, kHeadOn and kFree have asymptotes (see HasAsymptote()). More...
 

Public Member Functions

 asymptote ()
 Empty object; the status is kInvalid until Compute() is called.
 
 asymptote (particle *p1, particle *p2, Double_t kappa)
 From two particles of an event (IsInvincible() selects the fixed centre).
 
 asymptote (TVector3 x1, TVector3 v1, Double_t m1, Bool_t fixed1, TVector3 x2, TVector3 v2, Double_t m2, Bool_t fixed2, Double_t kappa)
 From raw states. fixed1 / fixed2: that particle is a fixed centre.
 
 asymptote (TVector3 r, TVector3 v, Double_t mu, Double_t kappa)
 From the relative state only.
 
Bool_t Compute (particle *p1, particle *p2, Double_t kappa)
 Recompute from two particles (arguments as the matching constructor); all previous results are discarded.
 
Bool_t Compute (TVector3 x1, TVector3 v1, Double_t m1, Bool_t fixed1, TVector3 x2, TVector3 v2, Double_t m2, Bool_t fixed2, Double_t kappa)
 Recompute from raw states (arguments as the matching constructor); all previous results are discarded.
 
Bool_t Compute (TVector3 r, TVector3 v, Double_t mu, Double_t kappa)
 Recompute from the relative state (arguments as the matching constructor); all previous results are discarded.
 
Double_t GetThetaLab1 () const
 Lab scattering angle of particle 1 (rad).
 
Double_t GetThetaLab2 () const
 Lab scattering angle of particle 2 (rad); same rules as GetThetaLab1().
 
TString Print (Bool_t mute=kFALSE) const
 Text summary (status, kappa, mu, E, |L|, e, rmin, b, vinf, theta, outgoing velocities).
 
Status
status GetStatus () const
 
TString GetStatusName () const
 Name of the status as text: "UNBOUND", "HEADON", "FREE", "RADIAL_ATTRACTIVE", "PARABOLIC", "BOUND" or "INVALID".
 
Bool_t HasAsymptote () const
 true for kUnbound, kHeadOn, kFree
 
Bool_t IsFixedCentre () const
 exactly one of the two bodies is fixed
 
Bool_t IsOutgoing () const
 the given state is past closest approach ( \(\vec r\cdot\vec v>0\)); no check of the status
 
Input, relative motion
Double_t GetKappa () const
 interaction constant of \(U=\kappa/r\)
 
Double_t GetMu () const
 reduced (or moving) mass (amu)
 
TVector3 GetR () const
 \(\vec x_1-\vec x_2\) (fm)
 
TVector3 GetV () const
 \(\vec v_1-\vec v_2\) (c)
 
TVector3 GetVcm () const
 centre-of-mass velocity (c; 0 for a fixed centre)
 
Conserved quantities and orbital elements
Double_t GetEnergy () const
 \(E=\mu v^2/2+\kappa/r\) (amu c^2)
 
TVector3 GetL () const
 \(\mu\,\vec r\times\vec v\)
 
Double_t GetLMag () const
 \(|\vec L|\)
 
TVector3 GetLRL () const
 Laplace-Runge-Lenz vector \((\mu\vec v)\times\vec L+\mu\kappa\,\hat r\).
 
TVector3 GetEccentricityVector () const
 toward periapsis, \(|\vec e|=e\)
 
Double_t GetEccentricity () const
 eccentricity; 0 for kFree / kInvalid
 
TVector3 GetPeriapsisDirection () const
 unit vector, centre to closest approach
 
Double_t GetClosestApproach () const
 distance of closest approach (fm)
 
Asymptotes (relative motion)
Double_t GetVinf () const
 relative speed at infinity (c)
 
TVector3 GetVInRel () const
 incoming relative velocity at \(t\to-\infty\)
 
TVector3 GetVOutRel () const
 outgoing relative velocity at \(t\to+\infty\)
 
Double_t GetThetaCM () const
 scattering angle in the relative (CM) frame (rad)
 
Double_t GetImpactParameter () const
 effective \(b=|\vec L|/(\mu v_\infty)\) (fm)
 
Asymptotes (lab)

Lab velocities of each particle at \(t\to\mp\infty\) (c): the centre-of-mass velocity plus its share of the relative velocity. A fixed particle has the zero vector.

TVector3 GetV1In () const
 particle 1, incoming
 
TVector3 GetV1Out () const
 particle 1, outgoing
 
TVector3 GetV2In () const
 particle 2, incoming
 
TVector3 GetV2Out () const
 particle 2, outgoing
 

Static Public Member Functions

Closed-form relations (for validation; angles in rad)

Static helpers with the textbook Rutherford formulas, independent of any object.

static Double_t RutherfordAngle (Double_t b, Double_t vinf, Double_t mu, Double_t kappa)
 Rutherford scattering angle in the CM frame.
 
static Double_t RutherfordImpactParameter (Double_t theta, Double_t vinf, Double_t mu, Double_t kappa)
 Inverse of RutherfordAngle().
 
static Double_t RutherfordClosestApproach (Double_t b, Double_t vinf, Double_t mu, Double_t kappa)
 Closest approach for impact parameter b.
 
static Double_t HeadOnClosestApproach (Double_t vinf, Double_t mu, Double_t kappa)
 Head-on ( \(b=0\)) closest approach, repulsive.
 
static Double_t LabAngle (Double_t thetaCM, Double_t m1, Double_t m2)
 Lab angle of the projectile (mass m1) on a target (mass m2) at rest, from the CM angle.
 
static Double_t RecoilAngle (Double_t thetaCM)
 Lab angle of the recoiling target at rest, \((\pi-\theta)/2\).
 
static Double_t Angle (const TVector3 &a, const TVector3 &b)
 Angle between two vectors, \(\mathrm{atan2}(|\vec a\times\vec b|, \vec a\cdot\vec b)\), accurate at 0 and \(\pi\).
 

Private Member Functions

void Reset ()
 set every result and input to its empty value (status kInvalid)
 
void Solve ()
 from r, v, mu, kappa (set by Compute)
 
void SetLab ()
 lab velocities and angles from the relative asymptotes
 

Private Attributes

status st = kInvalid
 orbit classification
 
Bool_t fixedCentre = kFALSE
 exactly one body fixed
 
Bool_t fixed1 = kFALSE
 particle 1 is a fixed centre
 
Bool_t fixed2 = kFALSE
 particle 2 is a fixed centre
 
Double_t m1 = 0.
 mass of particle 1 (amu)
 
Double_t m2 = 0.
 mass of particle 2 (amu)
 
Double_t mu = 0.
 reduced (or moving) mass (amu)
 
Double_t kappa = 0.
 interaction constant
 
TVector3 r
 
TVector3 v
 
TVector3 vcm
 relative position, relative velocity, centre-of-mass velocity
 
Double_t energy = 0.
 orbital energy
 
TVector3 lvec
 
TVector3 avec
 
TVector3 evec
 
TVector3 phat
 angular momentum, Laplace-Runge-Lenz, eccentricity vector, periapsis direction
 
Double_t ecc = 0.
 eccentricity
 
Double_t rmin = 0.
 closest approach
 
Double_t vinf = 0.
 relative speed at infinity
 
TVector3 vinRel
 
TVector3 voutRel
 incoming / outgoing relative velocity
 
Double_t thetaCM = 0.
 CM scattering angle.
 
Double_t bimp = 0.
 effective impact parameter
 
TVector3 v1in
 
TVector3 v1out
 
TVector3 v2in
 
TVector3 v2out
 lab asymptotic velocities
 
Double_t thetaLab1 = 0.
 lab angle of particle 1
 
Double_t thetaLab2 = 0.
 lab angle of particle 2
 

Detailed Description

Analytic two-body 1/r asymptote calculator.

The simulation starts and stops at finite distance, where the potential energy is not negligible. For two bodies interacting through a pure 1/r potential the relative orbit is a conic section, and the state at infinity follows exactly from the state at ANY single instant through the conserved orbital energy, angular momentum and Laplace-Runge-Lenz vector. asymptote takes that one state and returns the incoming and outgoing asymptotes (speed at infinity, directions, scattering angle, effective impact parameter, closest approach, lab velocities).

Warning
TWO BODIES ONLY. RooParticle is built for three or more bodies, but this class is exact only for exactly two interacting bodies (plus nothing else): with a third body present the result is merely the two-body orbit through the given instant and can be badly wrong. Do not use it to predict the outcome of an N-body event. An N-body counterpart is being added separately; until then this class serves as the analytic reference for the two-body validation runs.

Potential and units

\[ U(r) = \frac{\kappa}{r} \]

\(\kappa > 0\) is repulsive, \(\kappa < 0\) attractive. For the Coulomb force \(\kappa = k\,q_1 q_2\) with \(k = 0.00154629\ \mathrm{amu\,fm\,c^2/e^2}\). Units are fm, amu, c, fm/c (any consistent set works: nothing is hard-coded). Angles are in radians.

Validity

The result is EXACT only when all of these hold:

Otherwise it is only an approximation that improves as the given state is taken farther from the other bodies.

Frames

Relative coordinates are those of particle 1 with respect to particle 2: \(\vec r = \vec x_1 - \vec x_2\), \(\vec v = \vec v_1 - \vec v_2\).

The masses taken from a particle are its rest masses (particle::GetM0), even if the event integrates relativistically.

Orbital elements (of the relative motion)

\[ E = \frac{\mu v^2}{2} + \frac{\kappa}{r} \]

\[ \vec L = \mu\,\vec r \times \vec v \]

\[ \vec A = (\mu \vec v) \times \vec L + \mu\kappa\,\hat r \]

\(E\) is the orbital energy, \(\vec L\) the angular momentum and \(\vec A\) the Laplace-Runge-Lenz vector. For either sign of \(\kappa\), \(\vec A\) points from the centre toward the point of closest approach (periapsis), and \(|\vec A| = \mu|\kappa|\,e\). The eccentricity vector is defined here as \(\vec e = \vec A/(\mu|\kappa|)\), so it also points toward periapsis (for \(\kappa > 0\) this is minus the textbook \(\vec e\) vector of a repulsive orbit).

Status

See asymptote::status. Only kUnbound, kHeadOn and kFree have asymptotes (HasAsymptote()). For every other state the asymptotic getters (speed at infinity, directions, angles, b, lab velocities) return 0 or zero vectors, never NaN. What remains set for each state:

Example

asymptote asy(alpha, target, 0.00154629*2*79); // any instant of the event
if(asy.HasAsymptote()){
Double_t theta = asy.GetThetaCM()*TMath::RadToDeg();
TVector3 vout = asy.GetV1Out(); // alpha at infinity (lab)
Double_t b = asy.GetImpactParameter(); // effective b
}
Analytic two-body 1/r asymptote calculator.

Definition at line 102 of file asymptote.hpp.

Member Enumeration Documentation

◆ status

Classification of the relative orbit. Only kUnbound, kHeadOn and kFree have asymptotes (see HasAsymptote()).

Enumerator
kUnbound 

\(E>0\), \(L\neq 0\): hyperbola, every asymptotic quantity is set

kHeadOn 

\(E>0\), \(L=0\), \(\kappa>0\): straight back-scattering, \(\theta=180^\circ\), \(r_{min}=\kappa/E\), \(b=0\)

kFree 

\(\kappa=0\): straight line, \(\theta=0\), \(r_{min}=b\) (with the relative velocity zero too it is reported as kParabolic with \(r_{min}=r\))

kRadialAttractive 

\(L=0\), \(\kappa<0\) (whatever the sign of E): falls into the singularity, no asymptote ( \(r_{min}=0\))

kParabolic 

\(E=0\) (within round-off): \(v_\infty=0\), no direction

kBound 

\(E<0\): ellipse, no asymptote (E, L, A, e, \(r_{min}\) are set)

kInvalid 

zero distance, non-positive mass (of a moving particle), both particles fixed, or null/identical particle pointers

Definition at line 106 of file asymptote.hpp.

Constructor & Destructor Documentation

◆ asymptote() [1/4]

asymptote::asymptote ( )
inline

Empty object; the status is kInvalid until Compute() is called.

Definition at line 117 of file asymptote.hpp.

◆ asymptote() [2/4]

asymptote::asymptote ( particle *  p1,
particle *  p2,
Double_t  kappa 
)

From two particles of an event (IsInvincible() selects the fixed centre).

Uses the current position, velocity and rest mass of each particle.

Parameters
p1particle 1 (the relative coordinate is \(\vec x_1-\vec x_2\)); not owned
p2particle 2; not owned
kappainteraction constant of \(U=\kappa/r\) (amu fm c^2 for the Coulomb force: k q1 q2)

Definition at line 14 of file asymptote.cpp.

◆ asymptote() [3/4]

asymptote::asymptote ( TVector3  x1,
TVector3  v1,
Double_t  m1,
Bool_t  fixed1,
TVector3  x2,
TVector3  v2,
Double_t  m2,
Bool_t  fixed2,
Double_t  kappa 
)

From raw states. fixed1 / fixed2: that particle is a fixed centre.

Parameters
x1position of particle 1 (fm)
v1velocity of particle 1 (c); ignored if fixed1
m1mass of particle 1 (amu); only needs to be positive if not fixed
fixed1particle 1 is a fixed centre
x2position of particle 2 (fm)
v2velocity of particle 2 (c); ignored if fixed2
m2mass of particle 2 (amu); only needs to be positive if not fixed
fixed2particle 2 is a fixed centre
kappainteraction constant

Definition at line 18 of file asymptote.cpp.

◆ asymptote() [4/4]

asymptote::asymptote ( TVector3  r,
TVector3  v,
Double_t  mu,
Double_t  kappa 
)

From the relative state only.

\(\vec r=\vec x_1-\vec x_2\), \(\vec v=\vec v_1-\vec v_2\), reduced mass \(\mu\). Same as a moving particle 1 of mass \(\mu\) around a fixed particle 2 at the origin (so IsFixedCentre() is true, the centre-of-mass velocity is zero and the lab velocities are the relative ones).

Parameters
rrelative position (fm)
vrelative velocity (c)
mureduced mass (amu)
kappainteraction constant

Definition at line 24 of file asymptote.cpp.

Member Function Documentation

◆ Angle()

Double_t asymptote::Angle ( const TVector3 &  a,
const TVector3 &  b 
)
static

Angle between two vectors, \(\mathrm{atan2}(|\vec a\times\vec b|, \vec a\cdot\vec b)\), accurate at 0 and \(\pi\).

Returns
the angle in rad, 0 if one of the vectors is zero

Definition at line 261 of file asymptote.cpp.

◆ Compute() [1/3]

Bool_t asymptote::Compute ( particle *  p1,
particle *  p2,
Double_t  kappa 
)

Recompute from two particles (arguments as the matching constructor); all previous results are discarded.

Returns
HasAsymptote()

Definition at line 43 of file asymptote.cpp.

◆ Compute() [2/3]

Bool_t asymptote::Compute ( TVector3  r,
TVector3  v,
Double_t  mu,
Double_t  kappa 
)

Recompute from the relative state (arguments as the matching constructor); all previous results are discarded.

Returns
HasAsymptote()

Definition at line 81 of file asymptote.cpp.

◆ Compute() [3/3]

Bool_t asymptote::Compute ( TVector3  x1,
TVector3  v1,
Double_t  m1,
Bool_t  fixed1,
TVector3  x2,
TVector3  v2,
Double_t  m2,
Bool_t  fixed2,
Double_t  kappa 
)

Recompute from raw states (arguments as the matching constructor); all previous results are discarded.

Returns
HasAsymptote()

Definition at line 53 of file asymptote.cpp.

◆ GetClosestApproach()

Double_t asymptote::GetClosestApproach ( ) const
inline

distance of closest approach (fm)

Definition at line 190 of file asymptote.hpp.

◆ GetEccentricity()

Double_t asymptote::GetEccentricity ( ) const
inline

eccentricity; 0 for kFree / kInvalid

Definition at line 188 of file asymptote.hpp.

◆ GetEccentricityVector()

TVector3 asymptote::GetEccentricityVector ( ) const
inline

toward periapsis, \(|\vec e|=e\)

Definition at line 187 of file asymptote.hpp.

◆ GetEnergy()

Double_t asymptote::GetEnergy ( ) const
inline

\(E=\mu v^2/2+\kappa/r\) (amu c^2)

Definition at line 183 of file asymptote.hpp.

◆ GetImpactParameter()

Double_t asymptote::GetImpactParameter ( ) const
inline

effective \(b=|\vec L|/(\mu v_\infty)\) (fm)

Definition at line 199 of file asymptote.hpp.

◆ GetKappa()

Double_t asymptote::GetKappa ( ) const
inline

interaction constant of \(U=\kappa/r\)

Definition at line 174 of file asymptote.hpp.

◆ GetL()

TVector3 asymptote::GetL ( ) const
inline

\(\mu\,\vec r\times\vec v\)

Definition at line 184 of file asymptote.hpp.

◆ GetLMag()

Double_t asymptote::GetLMag ( ) const
inline

\(|\vec L|\)

Definition at line 185 of file asymptote.hpp.

◆ GetLRL()

TVector3 asymptote::GetLRL ( ) const
inline

Laplace-Runge-Lenz vector \((\mu\vec v)\times\vec L+\mu\kappa\,\hat r\).

Definition at line 186 of file asymptote.hpp.

◆ GetMu()

Double_t asymptote::GetMu ( ) const
inline

reduced (or moving) mass (amu)

Definition at line 175 of file asymptote.hpp.

◆ GetPeriapsisDirection()

TVector3 asymptote::GetPeriapsisDirection ( ) const
inline

unit vector, centre to closest approach

Definition at line 189 of file asymptote.hpp.

◆ GetR()

TVector3 asymptote::GetR ( ) const
inline

\(\vec x_1-\vec x_2\) (fm)

Definition at line 176 of file asymptote.hpp.

◆ GetStatus()

status asymptote::GetStatus ( ) const
inline

classification of the orbit

Definition at line 164 of file asymptote.hpp.

◆ GetStatusName()

TString asymptote::GetStatusName ( ) const

Name of the status as text: "UNBOUND", "HEADON", "FREE", "RADIAL_ATTRACTIVE", "PARABOLIC", "BOUND" or "INVALID".

Definition at line 206 of file asymptote.cpp.

◆ GetThetaCM()

Double_t asymptote::GetThetaCM ( ) const
inline

scattering angle in the relative (CM) frame (rad)

Definition at line 198 of file asymptote.hpp.

◆ GetThetaLab1()

Double_t asymptote::GetThetaLab1 ( ) const
inline

Lab scattering angle of particle 1 (rad).

The angle between its own asymptotic incoming and outgoing lab velocity. If that particle is at rest before the collision (target at rest, fixed centre), it is measured from the incoming direction of the OTHER particle (recoil angle); 0 if both are 0. 0 for a fixed particle and when there is no asymptote.

Warning
Meaningless when that particle's outgoing speed is ~0 (equal masses head-on). "At rest" means \(|v_{in}|\le 10^{-9}|v_{in}^{other}|\): for a target that is at rest at a FINITE distance, its asymptotic incoming velocity is not zero.

Definition at line 224 of file asymptote.hpp.

◆ GetThetaLab2()

Double_t asymptote::GetThetaLab2 ( ) const
inline

Lab scattering angle of particle 2 (rad); same rules as GetThetaLab1().

Definition at line 226 of file asymptote.hpp.

◆ GetV()

TVector3 asymptote::GetV ( ) const
inline

\(\vec v_1-\vec v_2\) (c)

Definition at line 177 of file asymptote.hpp.

◆ GetV1In()

TVector3 asymptote::GetV1In ( ) const
inline

particle 1, incoming

Definition at line 207 of file asymptote.hpp.

◆ GetV1Out()

TVector3 asymptote::GetV1Out ( ) const
inline

particle 1, outgoing

Definition at line 208 of file asymptote.hpp.

◆ GetV2In()

TVector3 asymptote::GetV2In ( ) const
inline

particle 2, incoming

Definition at line 209 of file asymptote.hpp.

◆ GetV2Out()

TVector3 asymptote::GetV2Out ( ) const
inline

particle 2, outgoing

Definition at line 210 of file asymptote.hpp.

◆ GetVcm()

TVector3 asymptote::GetVcm ( ) const
inline

centre-of-mass velocity (c; 0 for a fixed centre)

Definition at line 178 of file asymptote.hpp.

◆ GetVinf()

Double_t asymptote::GetVinf ( ) const
inline

relative speed at infinity (c)

Definition at line 195 of file asymptote.hpp.

◆ GetVInRel()

TVector3 asymptote::GetVInRel ( ) const
inline

incoming relative velocity at \(t\to-\infty\)

Definition at line 196 of file asymptote.hpp.

◆ GetVOutRel()

TVector3 asymptote::GetVOutRel ( ) const
inline

outgoing relative velocity at \(t\to+\infty\)

Definition at line 197 of file asymptote.hpp.

◆ HasAsymptote()

Bool_t asymptote::HasAsymptote ( ) const
inline

true for kUnbound, kHeadOn, kFree

Definition at line 167 of file asymptote.hpp.

◆ HeadOnClosestApproach()

Double_t asymptote::HeadOnClosestApproach ( Double_t  vinf,
Double_t  mu,
Double_t  kappa 
)
static

Head-on ( \(b=0\)) closest approach, repulsive.

\[ d = \frac{\kappa}{E} = \frac{2\kappa}{\mu v_\infty^2} \]

Negative (meaningless) for an attractive kappa.

Parameters
vinfrelative speed at infinity (c)
mureduced mass (amu)
kappainteraction constant

Definition at line 249 of file asymptote.cpp.

◆ IsFixedCentre()

Bool_t asymptote::IsFixedCentre ( ) const
inline

exactly one of the two bodies is fixed

Definition at line 168 of file asymptote.hpp.

◆ IsOutgoing()

Bool_t asymptote::IsOutgoing ( ) const
inline

the given state is past closest approach ( \(\vec r\cdot\vec v>0\)); no check of the status

Definition at line 169 of file asymptote.hpp.

◆ LabAngle()

Double_t asymptote::LabAngle ( Double_t  thetaCM,
Double_t  m1,
Double_t  m2 
)
static

Lab angle of the projectile (mass m1) on a target (mass m2) at rest, from the CM angle.

\[ \tan\theta_{lab} = \frac{\sin\theta}{\cos\theta + m_1/m_2} \]

Parameters
thetaCMscattering angle in the CM frame (rad)
m1projectile mass (amu)
m2target mass (amu)

Definition at line 253 of file asymptote.cpp.

◆ Print()

TString asymptote::Print ( Bool_t  mute = kFALSE) const

Text summary (status, kappa, mu, E, |L|, e, rmin, b, vinf, theta, outgoing velocities).

Parameters
muteif true, only build the string; otherwise also print it on std::cout
Returns
the text

Definition at line 219 of file asymptote.cpp.

◆ RecoilAngle()

Double_t asymptote::RecoilAngle ( Double_t  thetaCM)
static

Lab angle of the recoiling target at rest, \((\pi-\theta)/2\).

Parameters
thetaCMscattering angle in the CM frame (rad)

Definition at line 257 of file asymptote.cpp.

◆ Reset()

void asymptote::Reset ( )
private

set every result and input to its empty value (status kInvalid)

Definition at line 28 of file asymptote.cpp.

◆ RutherfordAngle()

Double_t asymptote::RutherfordAngle ( Double_t  b,
Double_t  vinf,
Double_t  mu,
Double_t  kappa 
)
static

Rutherford scattering angle in the CM frame.

\[ \theta = 2\arctan\frac{\kappa}{\mu v_\infty^2 b} \]

Signed: negative for an attractive kappa (deflection toward the centre); \(|\theta|\) is the angle between incoming and outgoing directions. \(b=0\) gives \(\pm\pi\). The sign of b is ignored ( \(|b|\) is used).

Parameters
bimpact parameter (fm)
vinfrelative speed at infinity (c)
mureduced mass (amu)
kappainteraction constant

Definition at line 234 of file asymptote.cpp.

◆ RutherfordClosestApproach()

Double_t asymptote::RutherfordClosestApproach ( Double_t  b,
Double_t  vinf,
Double_t  mu,
Double_t  kappa 
)
static

Closest approach for impact parameter b.

\[ r_{min} = a + \sqrt{a^2 + b^2},\qquad a = \frac{\kappa}{\mu v_\infty^2} \]

(evaluated as \(b^2/(\sqrt{a^2+b^2}-a)\) for \(a<0\) to avoid cancellation).

Parameters
bimpact parameter (fm)
vinfrelative speed at infinity (c)
mureduced mass (amu)
kappainteraction constant

Definition at line 242 of file asymptote.cpp.

◆ RutherfordImpactParameter()

Double_t asymptote::RutherfordImpactParameter ( Double_t  theta,
Double_t  vinf,
Double_t  mu,
Double_t  kappa 
)
static

Inverse of RutherfordAngle().

\[ b = \frac{|\kappa|}{\mu v_\infty^2\tan(|\theta|/2)} \]

Gives infinity for \(\theta=0\).

Parameters
thetascattering angle (rad); the sign is ignored
vinfrelative speed at infinity (c)
mureduced mass (amu)
kappainteraction constant

Definition at line 238 of file asymptote.cpp.

◆ SetLab()

void asymptote::SetLab ( )
private

lab velocities and angles from the relative asymptotes

Definition at line 187 of file asymptote.cpp.

◆ Solve()

void asymptote::Solve ( )
private

from r, v, mu, kappa (set by Compute)

Definition at line 86 of file asymptote.cpp.

Member Data Documentation

◆ avec

TVector3 asymptote::avec
private

Definition at line 306 of file asymptote.hpp.

◆ bimp

Double_t asymptote::bimp = 0.
private

effective impact parameter

Definition at line 313 of file asymptote.hpp.

◆ ecc

Double_t asymptote::ecc = 0.
private

eccentricity

Definition at line 307 of file asymptote.hpp.

◆ energy

Double_t asymptote::energy = 0.
private

orbital energy

Definition at line 305 of file asymptote.hpp.

◆ evec

TVector3 asymptote::evec
private

Definition at line 306 of file asymptote.hpp.

◆ fixed1

Bool_t asymptote::fixed1 = kFALSE
private

particle 1 is a fixed centre

Definition at line 297 of file asymptote.hpp.

◆ fixed2

Bool_t asymptote::fixed2 = kFALSE
private

particle 2 is a fixed centre

Definition at line 298 of file asymptote.hpp.

◆ fixedCentre

Bool_t asymptote::fixedCentre = kFALSE
private

exactly one body fixed

Definition at line 296 of file asymptote.hpp.

◆ kappa

Double_t asymptote::kappa = 0.
private

interaction constant

Definition at line 302 of file asymptote.hpp.

◆ lvec

TVector3 asymptote::lvec
private

Definition at line 306 of file asymptote.hpp.

◆ m1

Double_t asymptote::m1 = 0.
private

mass of particle 1 (amu)

Definition at line 299 of file asymptote.hpp.

◆ m2

Double_t asymptote::m2 = 0.
private

mass of particle 2 (amu)

Definition at line 300 of file asymptote.hpp.

◆ mu

Double_t asymptote::mu = 0.
private

reduced (or moving) mass (amu)

Definition at line 301 of file asymptote.hpp.

◆ phat

TVector3 asymptote::phat
private

angular momentum, Laplace-Runge-Lenz, eccentricity vector, periapsis direction

Definition at line 306 of file asymptote.hpp.

◆ r

TVector3 asymptote::r
private

Definition at line 303 of file asymptote.hpp.

◆ rmin

Double_t asymptote::rmin = 0.
private

closest approach

Definition at line 308 of file asymptote.hpp.

◆ st

status asymptote::st = kInvalid
private

orbit classification

Definition at line 295 of file asymptote.hpp.

◆ thetaCM

Double_t asymptote::thetaCM = 0.
private

CM scattering angle.

Definition at line 312 of file asymptote.hpp.

◆ thetaLab1

Double_t asymptote::thetaLab1 = 0.
private

lab angle of particle 1

Definition at line 316 of file asymptote.hpp.

◆ thetaLab2

Double_t asymptote::thetaLab2 = 0.
private

lab angle of particle 2

Definition at line 317 of file asymptote.hpp.

◆ v

TVector3 asymptote::v
private

Definition at line 303 of file asymptote.hpp.

◆ v1in

TVector3 asymptote::v1in
private

Definition at line 315 of file asymptote.hpp.

◆ v1out

TVector3 asymptote::v1out
private

Definition at line 315 of file asymptote.hpp.

◆ v2in

TVector3 asymptote::v2in
private

Definition at line 315 of file asymptote.hpp.

◆ v2out

TVector3 asymptote::v2out
private

lab asymptotic velocities

Definition at line 315 of file asymptote.hpp.

◆ vcm

TVector3 asymptote::vcm
private

relative position, relative velocity, centre-of-mass velocity

Definition at line 303 of file asymptote.hpp.

◆ vinf

Double_t asymptote::vinf = 0.
private

relative speed at infinity

Definition at line 310 of file asymptote.hpp.

◆ vinRel

TVector3 asymptote::vinRel
private

Definition at line 311 of file asymptote.hpp.

◆ voutRel

TVector3 asymptote::voutRel
private

incoming / outgoing relative velocity

Definition at line 311 of file asymptote.hpp.


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