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
6
namespace
Garfield
{
7
8
/// Plastic medium.
9
10
class
MediumPlastic
:
public
Medium
{
11
public
:
12
// Constructor
13
MediumPlastic
() :
Medium
() {
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
Medium.hh
Garfield::MediumPlastic
Plastic medium.
Definition:
MediumPlastic.hh:10
Garfield::MediumPlastic::EnablePrimaryIonisation
void EnablePrimaryIonisation(const bool) override
Make the medium ionisable or non-ionisable.
Definition:
MediumPlastic.hh:21
Garfield::MediumPlastic::~MediumPlastic
virtual ~MediumPlastic()
Definition:
MediumPlastic.hh:18
Garfield::MediumPlastic::MediumPlastic
MediumPlastic()
Definition:
MediumPlastic.hh:13
Garfield::MediumPlastic::EnableDrift
void EnableDrift(const bool) override
Switch electron/ion/hole on/off.
Definition:
MediumPlastic.hh:20
Garfield::Medium
Abstract base class for media.
Definition:
Medium.hh:13
Garfield::Medium::m_name
std::string m_name
Definition:
Medium.hh:513
Garfield::Medium::m_className
std::string m_className
Definition:
Medium.hh:506
Garfield
Definition:
HeedChamber.hh:11
garfieldpp-3.0
Include
Garfield
MediumPlastic.hh
Generated by
1.9.6