|
| TrackSimple () |
| Default constructor.
|
| TrackSimple (Sensor *sensor) |
| Constructor.
|
virtual | ~TrackSimple () |
| Destructor.
|
void | SetEqualSpacing () |
| Constant distance between clusters.
|
void | SetExponentialSpacing () |
| Exponentially distributed distance between clusters.
|
void | SetClusterDensity (const double d) |
| Set the cluster density (inverse mean free path).
|
double | GetClusterDensity () override |
| Get the cluster density (number of ionizing collisions per cm or inverse mean free path for ionization).
|
void | SetStoppingPower (const double dedx) |
| Set the stopping power (dE/dx).
|
double | GetStoppingPower () override |
| Get the stopping power (mean energy loss [eV] per cm).
|
bool | NewTrack (const double x0, const double y0, const double z0, const double t0, const double dx0, const double dy0, const double dz0) override |
| Calculate a new track starting from (x0, y0, z0) at time t0 in direction (dx0, dy0, dz0).
|
const std::vector< Cluster > & | GetClusters () const |
| Track ()=delete |
| Default constructor.
|
| Track (const std::string &name) |
| Constructor.
|
virtual | ~Track () |
| Destructor.
|
virtual void | SetParticle (const std::string &part) |
| Set the type of charged particle.
|
void | SetEnergy (const double e) |
| Set the particle energy.
|
void | SetBetaGamma (const double bg) |
| Set the relative momentum of the particle.
|
void | SetBeta (const double beta) |
| Set the speed ( ) of the particle.
|
void | SetGamma (const double gamma) |
| Set the Lorentz factor of the particle.
|
void | SetMomentum (const double p) |
| Set the particle momentum.
|
void | SetKineticEnergy (const double ekin) |
| Set the kinetic energy of the particle.
|
double | GetEnergy () const |
| Return the particle energy.
|
double | GetBetaGamma () const |
| Return the of the projectile.
|
double | GetBeta () const |
| Return the speed ( ) of the projectile.
|
double | GetGamma () const |
| Return the Lorentz factor of the projectile.
|
double | GetMomentum () const |
| Return the particle momentum.
|
double | GetKineticEnergy () const |
| Return the kinetic energy of the projectile.
|
double | GetCharge () const |
| Get the charge of the projectile.
|
double | GetMass () const |
| Get the mass [eV / c2] of the projectile.
|
void | SetSensor (Sensor *s) |
| Set the sensor through which to transport the particle.
|
void | EnablePlotting (ViewDrift *viewer) |
| Switch on plotting.
|
void | DisablePlotting () |
| Switch off plotting.
|
void | EnableDebugging () |
| Switch on debugging messages.
|
void | DisableDebugging () |
| Switch off debugging messages.
|
|
void | PlotNewTrack (const double x0, const double y0, const double z0) |
void | PlotCluster (const double x0, const double y0, const double z0) |
static std::array< double, 3 > | StepBfield (const double dt, const double qoverm, const double vmag, double bx, double by, double bz, std::array< double, 3 > &dir) |
Generate tracks based on a cluster density given by the user.
Definition at line 12 of file TrackSimple.hh.