Garfield++
3.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
EnTransfCS_BGM.h
Go to the documentation of this file.
1
#ifndef ENTRANFCS_BGM_H
2
#define ENTRANFCS_BGM_H
3
4
#include "
heed++/code/BGMesh.h
"
5
#include "
heed++/code/EnTransfCS.h
"
6
7
namespace
Heed
{
8
9
/// Energy transfer cross-section
10
class
EnTransfCS_BGM
{
11
public
:
12
/// Default constructor
13
EnTransfCS_BGM
() =
default
;
14
/// Constructor
15
EnTransfCS_BGM
(
double
fparticle_mass,
BGMesh
* fmesh,
16
int
fs_primary_electron,
HeedMatterDef
* fhmd,
17
long
fparticle_charge = 1);
18
19
// All data from EnTransfCS that do not depend on speed.
20
// Particle mass [MeV]
21
double
particle_mass
= 0.;
22
/// Particle charge in units of electron charges.
23
/// It is squared, therefore the sign does not matter.
24
long
particle_charge
= 0;
25
/// Sign that the primary particle is an electron
26
int
s_primary_electron
= 0;
27
28
HeedMatterDef
*
hmd
=
nullptr
;
29
BGMesh
*
mesh
=
nullptr
;
30
std::vector<EnTransfCS>
etcs_bgm
;
31
32
EnTransfCS_BGM
*
copy
()
const
{
return
new
EnTransfCS_BGM
(*
this
); }
33
void
print
(std::ostream& file,
int
l)
const
;
34
};
35
}
36
37
#endif
BGMesh.h
EnTransfCS.h
Heed::BGMesh
Mesh of values.
Definition:
BGMesh.h:10
Heed::EnTransfCS_BGM
Energy transfer cross-section.
Definition:
EnTransfCS_BGM.h:10
Heed::EnTransfCS_BGM::particle_mass
double particle_mass
Definition:
EnTransfCS_BGM.h:21
Heed::EnTransfCS_BGM::etcs_bgm
std::vector< EnTransfCS > etcs_bgm
Definition:
EnTransfCS_BGM.h:30
Heed::EnTransfCS_BGM::s_primary_electron
int s_primary_electron
Sign that the primary particle is an electron.
Definition:
EnTransfCS_BGM.h:26
Heed::EnTransfCS_BGM::print
void print(std::ostream &file, int l) const
Definition:
EnTransfCS_BGM.cpp:29
Heed::EnTransfCS_BGM::particle_charge
long particle_charge
Definition:
EnTransfCS_BGM.h:24
Heed::EnTransfCS_BGM::EnTransfCS_BGM
EnTransfCS_BGM()=default
Default constructor.
Heed::EnTransfCS_BGM::hmd
HeedMatterDef * hmd
Definition:
EnTransfCS_BGM.h:28
Heed::EnTransfCS_BGM::mesh
BGMesh * mesh
Definition:
EnTransfCS_BGM.h:29
Heed::EnTransfCS_BGM::copy
EnTransfCS_BGM * copy() const
Definition:
EnTransfCS_BGM.h:32
Heed::HeedMatterDef
Definition:
HeedMatterDef.h:26
Heed
Definition:
BGMesh.cpp:6
garfieldpp-3.0
Heed
heed++
code
EnTransfCS_BGM.h
Generated by
1.9.6