#include <ReferenceParticle.H>
|
| amrex::ParticleReal | s = 0.0 |
| | integrated orbit path length, in meters
|
| |
| amrex::ParticleReal | x = 0.0 |
| | horizontal position x, in meters
|
| |
| amrex::ParticleReal | y = 0.0 |
| | vertical position y, in meters
|
| |
| amrex::ParticleReal | z = 0.0 |
| | longitudinal position z, in meters
|
| |
| amrex::ParticleReal | t = 0.0 |
| | clock time * c in meters
|
| |
| amrex::ParticleReal | px = 0.0 |
| | momentum in x divided by m*c = beta_x*gamma [unitless]
|
| |
| amrex::ParticleReal | py = 0.0 |
| | momentum in y divided by m*c = beta_y*gamma [unitless]
|
| |
| amrex::ParticleReal | pz = 0.0 |
| | momentum in z divided by m*c = beta_z*gamma [unitless]
|
| |
| amrex::ParticleReal | pt = 0.0 |
| | energy, normalized by rest energy
|
| |
| amrex::ParticleReal | mass = 0.0 |
| | reference rest mass, in kg
|
| |
| amrex::ParticleReal | charge = 0.0 |
| | reference charge, in C
|
| |
| amrex::ParticleReal | gyromagnetic_anomaly = 0.0 |
| | anomalous magnetic moment [unitless]
|
| |
| amrex::ParticleReal | sedge = 0.0 |
| | value of s at entrance of the current beamline element
|
| |
| amrex::SmallMatrix< amrex::ParticleReal, 6, 6, amrex::Order::F, 1 > | map {} |
| | linearized map
|
| |
| amrex::SmallMatrix< amrex::ParticleReal, 3, 6, amrex::Order::F, 1 > | spin_coupling {} |
| | linearized spin-orbit coupling matrix
|
| |
| amrex::SmallMatrix< amrex::ParticleReal, 3, 1, amrex::Order::F, 1 > | spin_rotation_vector {} |
| | reference spin rotation vector
|
| |
This struct stores the reference particle attributes stored in ImpactXParticleContainer
◆ beta()
Get reference particle relativistic beta
- Returns
- relativistic beta
◆ beta_gamma()
Get reference particle beta*gamma
- Returns
- relativistic beta*gamma
◆ charge_qe()
Get reference particle charge
- Returns
- charge in multiples of the (positive) elementary charge
◆ copy()
| RefPart impactx::RefPart::copy |
( |
| ) |
const |
|
inline |
Copy the reference particle
Use this if you want to do an operation that modifies the reference particle, but you want to avoid modifying the particle container that it is assigned to.
◆ gamma()
Get reference particle relativistic gamma
- Returns
- relativistic gamma
◆ kin_energy_MeV()
Get reference particle kinetic energy
- Returns
- kinetic energy in MeV
◆ mass_MeV()
Get reference particle rest mass expressed in MeV
- Returns
- reference particle rest mass * c^2, expressed as an energy (MeV)
◆ qm_ratio_SI()
Get reference particle charge to mass ratio
- Returns
- charge to mass ratio (in SI units of C/kg)
◆ reset()
| void impactx::RefPart::reset |
( |
bool | keep_mass = false, |
|
|
bool | keep_charge = false ) |
|
inline |
Reset the reference particle
- Parameters
-
| keep_mass | do not reset the reference particle mass |
| keep_charge | do not reset the reference particle charge |
◆ rigidity_Tm()
Get reference particle magnetic rigidity
- Returns
- magnetic rigidity Brho in T*m
◆ set_charge_qe()
Set reference particle charge
- Parameters
-
| charge_qe | in multiples of the (positive) elementary charge |
◆ set_gyromagnetic_anomaly()
Set reference particle anomalous magnetic dipole moment (aka gyromagnetic anomaly).
- Parameters
-
| gyromagnetic_anomaly_ref | unitless |
◆ set_kin_energy_MeV()
Set reference particle kinetic energy
- Parameters
-
| kin_energy | initial kinetic energy (MeV) |
◆ set_mass_MeV()
Set reference particle rest mass
- Parameters
-
| massE | reference particle rest mass * c^2, expressed as an energy (MeV) |
◆ set_species()
| RefPart & impactx::RefPart::set_species |
( |
std::string const & | species_name | ) |
|
|
inline |
Set reference particle species by name
Sets charge, mass, and gyromagnetic anomaly for a known particle species.
- Parameters
-
| species_name | particle species name |
- Returns
- reference to this RefPart for chaining
◆ charge
◆ gyromagnetic_anomaly
anomalous magnetic moment [unitless]
◆ map
◆ mass
reference rest mass, in kg
◆ pt
energy, normalized by rest energy
◆ px
momentum in x divided by m*c = beta_x*gamma [unitless]
◆ py
momentum in y divided by m*c = beta_y*gamma [unitless]
◆ pz
momentum in z divided by m*c = beta_z*gamma [unitless]
integrated orbit path length, in meters
◆ sedge
value of s at entrance of the current beamline element
◆ spin_coupling
linearized spin-orbit coupling matrix
◆ spin_rotation_vector
reference spin rotation vector
horizontal position x, in meters
vertical position y, in meters
longitudinal position z, in meters
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/impactx/checkouts/1402/src/particles/ReferenceParticle.H