Garfield++ 3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
MediumPlastic.hh
Go to the documentation of this file.
1#ifndef G_MEDIUM_PLASTIC_H
2#define G_MEDIUM_PLASTIC_H
3
4#include "Medium.hh"
5
6namespace Garfield {
7
8/// Plastic medium.
9
10class MediumPlastic : public Medium {
11 public:
12 // Constructor
14 m_className = "MediumPlastic";
15 m_name = "Plastic";
16 }
17 // Destructor
18 virtual ~MediumPlastic() {}
19
20 void EnableDrift(const bool /*on*/) override {}
21 void EnablePrimaryIonisation(const bool /*on*/) override {}
22};
23}
24
25#endif
void EnablePrimaryIonisation(const bool) override
Make the medium ionisable or non-ionisable.
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