Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
|
#include <ComponentUser.hh>
Public Member Functions | |
ComponentUser () | |
~ComponentUser () | |
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 (void(*f)(const double, const double, const double, double &, double &, double &)) |
void | SetPotential (void(*f)(const double, const double, const double, double &)) |
void | SetWeightingField (void(*f)(const double, const double, const double, double &, double &, double &, const std::string)) |
void | SetWeightingPotential (void(*f)(const double, const double, const double, double &, const std::string)) |
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 ComponentUser.hh.
Garfield::ComponentUser::ComponentUser | ( | ) |
Definition at line 7 of file ComponentUser.cc.
|
inline |
Definition at line 16 of file ComponentUser.hh.
|
virtual |
Implements Garfield::ComponentBase.
Definition at line 51 of file ComponentUser.cc.
|
virtual |
Implements Garfield::ComponentBase.
Definition at line 21 of file ComponentUser.cc.
|
virtual |
Implements Garfield::ComponentBase.
Definition at line 88 of file ComponentUser.cc.
void Garfield::ComponentUser::SetElectricField | ( | void(*)(const double, const double, const double, double &, double &, double &) | f | ) |
Definition at line 114 of file ComponentUser.cc.
void Garfield::ComponentUser::SetPotential | ( | void(*)(const double, const double, const double, double &) | f | ) |
Definition at line 128 of file ComponentUser.cc.
void Garfield::ComponentUser::SetWeightingField | ( | void(*)(const double, const double, const double, double &, double &, double &, const std::string) | f | ) |
Definition at line 140 of file ComponentUser.cc.
void Garfield::ComponentUser::SetWeightingPotential | ( | void(*)(const double, const double, const double, double &, const std::string) | f | ) |
Definition at line 153 of file ComponentUser.cc.
|
virtual |
Reimplemented from Garfield::ComponentBase.
Definition at line 94 of file ComponentUser.cc.
|
virtual |
Reimplemented from Garfield::ComponentBase.
Definition at line 103 of file ComponentUser.cc.