Garfield++ 4.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
6
7namespace Heed {
8
9/// Energy transfer cross-section
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.
25 /// Sign that the primary particle is an electron
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
Mesh of values.
Definition: BGMesh.h:10
Energy transfer cross-section.
std::vector< EnTransfCS > etcs_bgm
int s_primary_electron
Sign that the primary particle is an electron.
void print(std::ostream &file, int l) const
EnTransfCS_BGM()=default
Default constructor.
HeedMatterDef * hmd
EnTransfCS_BGM * copy() const
Definition: BGMesh.cpp:6