1#ifndef G_HEED_FIELDMAP_H
2#define G_HEED_FIELDMAP_H
20 void SetCentre(
const double x,
const double y,
const double z) {
25 void UseEfield(
const bool flag) { m_useEfield = flag; }
26 void UseBfield(
const bool flag) { m_useBfield = flag; }
34 static constexpr double conv = 1. / CLHEP::cm;
42 bool m_useEfield =
false;
43 bool m_useBfield =
false;
Retrieve electric and magnetic field from Sensor.
void SetSensor(Garfield::Sensor *sensor)
void SetCentre(const double x, const double y, const double z)
bool inside(const point &pt)
void UseEfield(const bool flag)
void field_map(const point &pt, vec &efield, vec &bfield, vfloat &mrange) const
void UseBfield(const bool flag)