Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation 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 "Medium.hh"
5
6namespace Garfield {
7
8/// Conducting medium.
9
10class MediumConductor : public Medium {
11 public:
12 /// Constructor
14 m_className = "MediumConductor";
15 m_name = "Conductor";
16 }
17 /// Destructor
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}
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 on/off.
Abstract base class for media.
Definition: Medium.hh:13
std::string m_name
Definition: Medium.hh:513
std::string m_className
Definition: Medium.hh:506