Garfield++ v1r0
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
10class EnTransfCS_BGM : public RegPassivePtr {
11 public:
12 // All data from EnTransfCS that do not depend on speed.
13 double particle_mass; // MeV
14 // Particle charge in terms of electron charges.
15 // It is squared, therefore the sign does not matter.
17 // Sign that the primary particle is an electron
19
23
25 EnTransfCS_BGM(double fparticle_mass, PassivePtr<BGMesh> fmesh,
26 int fs_primary_electron, HeedMatterDef* fhmd,
27 long fparticle_charge = 1);
29
30 virtual void print(std::ostream& file, int l) const;
31};
32
34 public:
38};
39std::ostream& operator<<(std::ostream& file, const EnTransfCS_BGM_Type& f);
40
41}
42
43#endif
PassivePtr< EnTransfCS_BGM > etcs_bgm
EnTransfCS_BGM_Type(EnTransfCS_BGM *md)
PassivePtr< HeedMatterDef > hmd
DynLinArr< EnTransfCS > etcs_bgm
PassivePtr< BGMesh > mesh
virtual void print(std::ostream &file, int l) const
macro_copy_total(EnTransfCS_BGM)
Definition: BGMesh.cpp:3
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
Definition: BGMesh.cpp:22