Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <AvalancheGrid.hh>
Public Member Functions | |
AvalancheGrid () | |
Constructor. | |
~AvalancheGrid () | |
Destructor. | |
void | SetSensor (Sensor *sensor) |
Set the sensor. | |
void | SetAvalancheMicroscopic (AvalancheMicroscopic *avmc) |
Set the AvalancheMicroscopic. | |
void | StartGridAvalanche () |
void | SetElectronVelocity (const double vx, const double vy, const double vz) |
Set the electron drift velocity (in cm / ns). | |
void | SetElectronTownsend (const double town) |
Set the electron Townsend coefficient (in 1 / cm). | |
void | SetElectronAttachment (const double att) |
Set the electron attachment coefficient (in 1 / cm). | |
void | SetMaxAvalancheSize (const double size) |
Set the maximum avalanche size (1e7 by default). | |
void | EnableDiffusion (const double diffSigma) |
void | CreateAvalanche (const double x, const double y, const double z, const double t=0, const int n=1) |
void | GetElectronsFromAvalancheMicroscopic () |
Import electron data from AvalancheMicroscopic class. | |
void | SetGrid (const double xmin, const double xmax, const int xsteps, const double ymin, const double ymax, const int ysteps, const double zmin, const double zmax, const int zsteps) |
Import electron data from AvalancheMicroscopic class. | |
int | GetAmountOfStartingElectrons () |
void | EnableDebugging () |
void | Reset () |
Calculate avalanches in a uniform electric field using avalanche statistics.
Definition at line 17 of file AvalancheGrid.hh.
|
inline |
|
inline |
void Garfield::AvalancheGrid::CreateAvalanche | ( | const double | x, |
const double | y, | ||
const double | z, | ||
const double | t = 0 , |
||
const int | n = 1 |
||
) |
Setting the starting point of an electron that .
z | z-coordinate of initial electron. |
x | x-coordinate of initial electron. |
v | speed of initial electron. |
t | starting time of avalanche. |
Definition at line 483 of file AvalancheGrid.cc.
|
inline |
Definition at line 76 of file AvalancheGrid.hh.
|
inline |
Enable transverse diffusion of electrons with transverse diffusion coefficients (in √cm).
Definition at line 54 of file AvalancheGrid.hh.
|
inline |
Definition at line 74 of file AvalancheGrid.hh.
void Garfield::AvalancheGrid::GetElectronsFromAvalancheMicroscopic | ( | ) |
Import electron data from AvalancheMicroscopic class.
Definition at line 503 of file AvalancheGrid.cc.
Referenced by StartGridAvalanche().
void Garfield::AvalancheGrid::Reset | ( | ) |
Definition at line 588 of file AvalancheGrid.cc.
|
inline |
|
inline |
Set the electron attachment coefficient (in 1 / cm).
Definition at line 49 of file AvalancheGrid.hh.
|
inline |
Set the electron Townsend coefficient (in 1 / cm).
Definition at line 47 of file AvalancheGrid.hh.
|
inline |
Set the electron drift velocity (in cm / ns).
Definition at line 37 of file AvalancheGrid.hh.
void Garfield::AvalancheGrid::SetGrid | ( | const double | xmin, |
const double | xmax, | ||
const int | xsteps, | ||
const double | ymin, | ||
const double | ymax, | ||
const int | ysteps, | ||
const double | zmin, | ||
const double | zmax, | ||
const int | zsteps | ||
) |
Import electron data from AvalancheMicroscopic class.
Definition at line 58 of file AvalancheGrid.cc.
|
inline |
Set the maximum avalanche size (1e7 by default).
Definition at line 51 of file AvalancheGrid.hh.
|
inline |
void Garfield::AvalancheGrid::StartGridAvalanche | ( | ) |
Start grid based avalanche simulation.
zmin,zmax | z-coordinate range of grid [cm]. |
zsteps | amount of z-coordinate points in grid. |
xmin,xmax | x-coordinate range of grid [cm]. |
xsteps | amount of x-coordinate points in grid. |
Definition at line 381 of file AvalancheGrid.cc.