Garfield 0.3
Toolkit for the detailed simulation of particle detectors based on ionization measurement in gases and semiconductors
Loading...
Searching...
No Matches
MediumConductor.hh
Go to the documentation of this file.
1#ifndef G_MEDIUM_CONDUCTOR_H
2#define G_MEDIUM_CONDUCTOR_H
3
4#include "Garfield/Medium.hh"
5
6namespace Garfield {
7
9
10class MediumConductor : public Medium {
11 public:
14 m_className = "MediumConductor";
15 m_name = "Conductor";
16 }
17
18 virtual ~MediumConductor() {}
19
20 bool IsConductor() const override { return true; }
21 void EnableDrift(const bool /*on*/) override {}
22 void EnablePrimaryIonisation(const bool /*on*/) override {}
23};
24} // namespace Garfield
25
26#endif
bool IsConductor() const override
Is this medium a conductor?
void EnablePrimaryIonisation(const bool) override
Make the medium ionisable or non-ionisable.
virtual ~MediumConductor()
Destructor.
void EnableDrift(const bool) override
Switch electron/ion/hole transport on/off.
std::string m_name
Definition Medium.hh:615
Medium()
Constructor.
std::string m_className
Definition Medium.hh:608