Garfield++ v2r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
Ionization calculation based on MIP program (S. Biagi). More...
#include <TrackElectron.hh>
Public Member Functions | |
TrackElectron () | |
virtual | ~TrackElectron () |
virtual void | SetParticle (const std::string &particle) |
Set the type of particle. | |
virtual bool | NewTrack (const double x0, const double y0, const double z0, const double t0, const double dx0, const double dy0, const double dz0) |
virtual bool | GetCluster (double &xcls, double &ycls, double &zcls, double &tcls, int &ncls, double &ecls, double &extra) |
virtual double | GetClusterDensity () |
virtual double | GetStoppingPower () |
Get the stopping power (mean energy loss [eV] per cm). | |
Public Member Functions inherited from Garfield::Track | |
Track () | |
Constructor. | |
virtual | ~Track () |
Destructor. | |
virtual void | SetParticle (const std::string &part) |
Set the type of 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 |
double | GetBetaGamma () const |
double | GetBeta () const |
double | GetGamma () const |
double | GetMomentum () const |
double | GetKineticEnergy () const |
double | GetCharge () const |
Get the charge of the projectile. | |
double | GetMass () const |
Get the mass [eV / c2] of the projectile. | |
void | SetSensor (Sensor *s) |
virtual bool | NewTrack (const double x0, const double y0, const double z0, const double t0, const double dx0, const double dy0, const double dz0)=0 |
virtual bool | GetCluster (double &xcls, double &ycls, double &zcls, double &tcls, int &n, double &e, double &extra)=0 |
virtual double | GetClusterDensity () |
virtual double | GetStoppingPower () |
Get the stopping power (mean energy loss [eV] per cm). | |
void | EnablePlotting (ViewDrift *viewer) |
void | DisablePlotting () |
void | EnableDebugging () |
void | DisableDebugging () |
Additional Inherited Members | |
Protected Member Functions inherited from Garfield::Track | |
void | PlotNewTrack (const double x0, const double y0, const double z0) |
void | PlotCluster (const double x0, const double y0, const double z0) |
Protected Attributes inherited from Garfield::Track | |
std::string | m_className |
double | m_q |
int | m_spin |
double | m_mass |
double | m_energy |
double | m_beta2 |
bool | m_isElectron |
std::string | m_particleName |
Sensor * | m_sensor |
bool | m_isChanged |
bool | m_usePlotting |
ViewDrift * | m_viewer |
bool | m_debug |
int | m_plotId |
Ionization calculation based on MIP program (S. Biagi).
Definition at line 13 of file TrackElectron.hh.
Garfield::TrackElectron::TrackElectron | ( | ) |
Definition at line 12 of file TrackElectron.cc.
|
inlinevirtual |
Definition at line 19 of file TrackElectron.hh.
|
virtual |
Get the next "cluster" (ionising collision of the charged particle).
xcls,ycls,zcls | coordinates of the collision |
tcls | time of the collision |
n | number of electrons produced |
e | deposited energy |
extra | additional information (not always implemented) |
Implements Garfield::Track.
Definition at line 121 of file TrackElectron.cc.
|
virtual |
Get the cluster density (number of ionizing collisions per cm or inverse mean free path for ionization).
Reimplemented from Garfield::Track.
Definition at line 194 of file TrackElectron.cc.
|
virtual |
Get the stopping power (mean energy loss [eV] per cm).
Reimplemented from Garfield::Track.
Definition at line 211 of file TrackElectron.cc.
|
virtual |
Calculate a new track starting from (x0, y0, z0) at time t0 in direction (dx0, dy0, dz0).
Implements Garfield::Track.
Definition at line 45 of file TrackElectron.cc.
|
virtual |
Set the type of particle.
Reimplemented from Garfield::Track.
Definition at line 37 of file TrackElectron.cc.