Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <ComponentConstant.hh>
Public Member Functions | |
ComponentConstant () | |
~ComponentConstant () | |
void | ElectricField (const double x, const double y, const double z, double &ex, double &ey, double &ez, Medium *&m, int &status) |
void | ElectricField (const double x, const double y, const double z, double &ex, double &ey, double &ez, double &v, Medium *&m, int &status) |
bool | GetVoltageRange (double &vmin, double &vmax) |
void | WeightingField (const double x, const double y, const double z, double &wx, double &wy, double &wz, const std::string label) |
double | WeightingPotential (const double x, const double y, const double z, const std::string label) |
void | SetElectricField (const double ex, const double ey, const double ez) |
void | SetPotential (const double x, const double y, const double z, const double v=0.) |
void | SetWeightingField (const double wx, const double wy, const double wz, const std::string label) |
void | SetWeightingPotential (const double x, const double y, const double z, const double v=0.) |
Public Member Functions inherited from Garfield::ComponentBase | |
ComponentBase () | |
virtual | ~ComponentBase () |
virtual void | SetGeometry (GeometryBase *geo) |
virtual void | Clear () |
virtual Medium * | GetMedium (const double &x, const double &y, const double &z) |
virtual void | ElectricField (const double x, const double y, const double z, double &ex, double &ey, double &ez, Medium *&m, int &status)=0 |
virtual void | ElectricField (const double x, const double y, const double z, double &ex, double &ey, double &ez, double &v, Medium *&m, int &status)=0 |
virtual bool | GetVoltageRange (double &vmin, double &vmax)=0 |
virtual void | WeightingField (const double x, const double y, const double z, double &wx, double &wy, double &wz, const std::string label) |
virtual double | WeightingPotential (const double x, const double y, const double z, const std::string label) |
virtual void | MagneticField (const double x, const double y, const double z, double &bx, double &by, double &bz, int &status) |
void | SetMagneticField (const double bx, const double by, const double bz) |
virtual bool | IsReady () |
virtual bool | GetBoundingBox (double &xmin, double &ymin, double &zmin, double &xmax, double &ymax, double &zmax) |
virtual bool | IsWireCrossed (const double x0, const double y0, const double z0, const double x1, const double y1, const double z1, double &xc, double &yc, double &zc) |
virtual bool | IsInTrapRadius (double x0, double y0, double z0, double &xw, double &yw, double &rw) |
void | EnablePeriodicityX () |
void | DisablePeriodicityX () |
void | EnablePeriodicityY () |
void | DisablePeriodicityY () |
void | EnablePeriodicityZ () |
void | DisablePeriodicityZ () |
void | EnableMirrorPeriodicityX () |
void | DisableMirrorPeriodicityX () |
void | EnableMirrorPeriodicityY () |
void | DisableMirrorPeriodicityY () |
void | EnableMirrorPeriodicityZ () |
void | DisableMirrorPeriodicityZ () |
void | EnableAxialPeriodicityX () |
void | DisableAxialPeriodicityX () |
void | EnableAxialPeriodicityY () |
void | DisableAxialPeriodicityY () |
void | EnableAxialPeriodicityZ () |
void | DisableAxialPeriodicityZ () |
void | EnableRotationSymmetryX () |
void | DisableRotationSymmetryX () |
void | EnableRotationSymmetryY () |
void | DisableRotationSymmetryY () |
void | EnableRotationSymmetryZ () |
void | DisableRotationSymmetryZ () |
void | EnableDebugging () |
void | DisableDebugging () |
Additional Inherited Members | |
virtual void | Reset ()=0 |
virtual void | UpdatePeriodicity ()=0 |
Protected Attributes inherited from Garfield::ComponentBase | |
std::string | m_className |
GeometryBase * | theGeometry |
bool | ready |
bool | xPeriodic |
bool | yPeriodic |
bool | zPeriodic |
bool | xMirrorPeriodic |
bool | yMirrorPeriodic |
bool | zMirrorPeriodic |
bool | xAxiallyPeriodic |
bool | yAxiallyPeriodic |
bool | zAxiallyPeriodic |
bool | xRotationSymmetry |
bool | yRotationSymmetry |
bool | zRotationSymmetry |
double | bx0 |
double | by0 |
double | bz0 |
bool | debug |
Definition at line 10 of file ComponentConstant.hh.
Garfield::ComponentConstant::ComponentConstant | ( | ) |
Definition at line 8 of file ComponentConstant.cc.
|
inline |
Definition at line 16 of file ComponentConstant.hh.
|
virtual |
Implements Garfield::ComponentBase.
Definition at line 57 of file ComponentConstant.cc.
|
virtual |
Implements Garfield::ComponentBase.
Definition at line 32 of file ComponentConstant.cc.
|
virtual |
Implements Garfield::ComponentBase.
Definition at line 93 of file ComponentConstant.cc.
void Garfield::ComponentConstant::SetElectricField | ( | const double | ex, |
const double | ey, | ||
const double | ez | ||
) |
Definition at line 166 of file ComponentConstant.cc.
void Garfield::ComponentConstant::SetPotential | ( | const double | x, |
const double | y, | ||
const double | z, | ||
const double | v = 0. |
||
) |
Definition at line 179 of file ComponentConstant.cc.
void Garfield::ComponentConstant::SetWeightingField | ( | const double | wx, |
const double | wy, | ||
const double | wz, | ||
const std::string | label | ||
) |
Definition at line 189 of file ComponentConstant.cc.
void Garfield::ComponentConstant::SetWeightingPotential | ( | const double | x, |
const double | y, | ||
const double | z, | ||
const double | v = 0. |
||
) |
Definition at line 200 of file ComponentConstant.cc.
|
virtual |
Reimplemented from Garfield::ComponentBase.
Definition at line 134 of file ComponentConstant.cc.
|
virtual |
Reimplemented from Garfield::ComponentBase.
Definition at line 154 of file ComponentConstant.cc.