Garfield
0.3
Toolkit for the detailed simulation of particle detectors based on ionization 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 "
Garfield/Medium.hh
"
5
6
namespace
Garfield
{
7
9
10
class
MediumPlastic
:
public
Medium {
11
public
:
13
MediumPlastic
() :
MediumPlastic
(1.) {}
15
MediumPlastic
(
const
double
eps) : Medium() {
16
m_className =
"MediumPlastic"
;
17
m_name =
"Plastic"
;
18
if
(eps > 1.) m_epsilon = eps;
19
}
20
21
virtual
~MediumPlastic
() {}
22
23
void
EnableDrift
(
const
bool
/*on*/
)
override
{}
24
void
EnablePrimaryIonisation
(
const
bool
/*on*/
)
override
{}
25
};
26
}
// namespace Garfield
27
28
#endif
Medium.hh
Garfield::MediumPlastic::EnablePrimaryIonisation
void EnablePrimaryIonisation(const bool) override
Definition
MediumPlastic.hh:24
Garfield::MediumPlastic::MediumPlastic
MediumPlastic(const double eps)
Constructor from dielectric constant.
Definition
MediumPlastic.hh:15
Garfield::MediumPlastic::~MediumPlastic
virtual ~MediumPlastic()
Destructor.
Definition
MediumPlastic.hh:21
Garfield::MediumPlastic::MediumPlastic
MediumPlastic()
Default constructor.
Definition
MediumPlastic.hh:13
Garfield::MediumPlastic::EnableDrift
void EnableDrift(const bool) override
Definition
MediumPlastic.hh:23
Garfield
Definition
AvalancheGrid.hh:9
Include
Garfield
MediumPlastic.hh
Generated by
1.14.0