Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <TrackHeed.hh>
Public Member Functions | |
TrackHeed () | |
~TrackHeed () | |
bool | NewTrack (const double x0, const double y0, const double z0, const double t0, const double dx0, const double dy0, const double dz0) |
bool | GetCluster (double &xcls, double &ycls, double &zcls, double &tcls, int &n, double &e, double &extra) |
bool | GetElectron (const int i, double &x, double &y, double &z, double &t, double &e, double &dx, double &dy, double &dz) |
double | GetClusterDensity () |
double | GetStoppingPower () |
double | GetW () const |
double | GetFanoFactor () const |
void | TransportDeltaElectron (const double x0, const double y0, const double z0, const double t0, const double e0, const double dx0, const double dy0, const double dz0, int &nel) |
void | TransportPhoton (const double x0, const double y0, const double z0, const double t0, const double e0, const double dx0, const double dy0, const double dz0, int &nel) |
void | EnableElectricField () |
void | DisableElectricField () |
void | EnableMagneticField () |
void | DisableMagneticField () |
void | EnableDeltaElectronTransport () |
void | DisableDeltaElectronTransport () |
void | EnablePhotonReabsorption () |
void | DisablePhotonReabsorption () |
void | EnablePhotoAbsorptionCrossSectionOutput () |
void | DisablePhotoAbsorptionCrossSectionOutput () |
void | SetEnergyMesh (const double e0, const double e1, const int nsteps) |
void | SetParticleUser (const double m, const double z) |
Public Member Functions inherited from Garfield::Track | |
Track () | |
virtual | ~Track () |
virtual void | SetParticle (std::string part) |
void | SetEnergy (const double e) |
void | SetBetaGamma (const double bg) |
void | SetBeta (const double beta) |
void | SetGamma (const double gamma) |
void | SetMomentum (const double p) |
void | SetKineticEnergy (const double ekin) |
double | GetEnergy () const |
double | GetBetaGamma () const |
double | GetBeta () const |
double | GetGamma () const |
double | GetMomentum () const |
double | GetKineticEnergy () const |
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 () |
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 | className |
double | q |
int | spin |
double | mass |
double | energy |
double | beta2 |
bool | isElectron |
std::string | particleName |
Sensor * | sensor |
bool | isChanged |
bool | usePlotting |
ViewDrift * | viewer |
bool | debug |
int | plotId |
Definition at line 30 of file TrackHeed.hh.
Garfield::TrackHeed::TrackHeed | ( | ) |
Definition at line 98 of file TrackHeed.cc.
Garfield::TrackHeed::~TrackHeed | ( | ) |
Definition at line 139 of file TrackHeed.cc.
|
inline |
Definition at line 68 of file TrackHeed.hh.
void Garfield::TrackHeed::DisableElectricField | ( | ) |
Definition at line 944 of file TrackHeed.cc.
void Garfield::TrackHeed::DisableMagneticField | ( | ) |
Definition at line 948 of file TrackHeed.cc.
|
inline |
Definition at line 74 of file TrackHeed.hh.
|
inline |
Definition at line 71 of file TrackHeed.hh.
|
inline |
Definition at line 67 of file TrackHeed.hh.
Referenced by GarfieldPhysics::InitializePhysics().
void Garfield::TrackHeed::EnableElectricField | ( | ) |
Definition at line 942 of file TrackHeed.cc.
void Garfield::TrackHeed::EnableMagneticField | ( | ) |
Definition at line 946 of file TrackHeed.cc.
|
inline |
Definition at line 73 of file TrackHeed.hh.
|
inline |
Definition at line 70 of file TrackHeed.hh.
|
virtual |
Implements Garfield::Track.
Definition at line 383 of file TrackHeed.cc.
Referenced by GarfieldPhysics::DoIt().
|
virtual |
Reimplemented from Garfield::Track.
Definition at line 349 of file TrackHeed.cc.
bool Garfield::TrackHeed::GetElectron | ( | const int | i, |
double & | x, | ||
double & | y, | ||
double & | z, | ||
double & | t, | ||
double & | e, | ||
double & | dx, | ||
double & | dy, | ||
double & | dz | ||
) |
Definition at line 566 of file TrackHeed.cc.
Referenced by GarfieldPhysics::DoIt().
double Garfield::TrackHeed::GetFanoFactor | ( | ) | const |
Definition at line 1371 of file TrackHeed.cc.
|
virtual |
Reimplemented from Garfield::Track.
Definition at line 366 of file TrackHeed.cc.
double Garfield::TrackHeed::GetW | ( | ) | const |
|
virtual |
Implements Garfield::Track.
Definition at line 158 of file TrackHeed.cc.
Referenced by GarfieldPhysics::DoIt().
void Garfield::TrackHeed::SetEnergyMesh | ( | const double | e0, |
const double | e1, | ||
const int | nsteps | ||
) |
Definition at line 950 of file TrackHeed.cc.
void Garfield::TrackHeed::SetParticleUser | ( | const double | m, |
const double | z | ||
) |
Definition at line 973 of file TrackHeed.cc.
void Garfield::TrackHeed::TransportDeltaElectron | ( | const double | x0, |
const double | y0, | ||
const double | z0, | ||
const double | t0, | ||
const double | e0, | ||
const double | dx0, | ||
const double | dy0, | ||
const double | dz0, | ||
int & | nel | ||
) |
Definition at line 615 of file TrackHeed.cc.
Referenced by GarfieldPhysics::DoIt().
void Garfield::TrackHeed::TransportPhoton | ( | const double | x0, |
const double | y0, | ||
const double | z0, | ||
const double | t0, | ||
const double | e0, | ||
const double | dx0, | ||
const double | dy0, | ||
const double | dz0, | ||
int & | nel | ||
) |
Definition at line 743 of file TrackHeed.cc.
Referenced by GarfieldPhysics::DoIt().