CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
corsika::Helix Class Reference

#include <Helix.hpp>

Public Member Functions

 Helix (Point const &pR0, FrequencyType pOmegaC, VelocityVector const &pvPar, VelocityVector const &pvPerp)
 
LengthType getRadius () const
 
Point getPosition (TimeType const t) const
 
VelocityVector getVelocity (TimeType const t) const
 
Point getPositionFromArclength (LengthType const l) const
 
LengthType getArcLength (TimeType const t1, TimeType const t2) const
 
TimeType getTimeFromArclength (LengthType const l) const
 

Detailed Description

Defines a helical path

A Helix is defined by the cyclotron frequency \( \omega_c \), the initial Point r0 and the velocity vectors \( \vec{v}_{\parallel} \) and \( \vec{v}_{\perp} \) denoting the projections of the initial velocity \( \vec{v}_0 \) parallel and perpendicular to the axis \( \vec{B} \), respectively, i.e.

\begin{align*} \vec{v}_{\parallel} &= \frac{\vec{v}_0 \cdot \vec{B}}{\vec{B}^2} \vec{B} \\ \vec{v}_{\perp} &= \vec{v}_0 - \vec{v}_{\parallel} \end{align*}

Definition at line 34 of file Helix.hpp.


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