Garfield++ v1r0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
HeedPhoton.h
Go to the documentation of this file.
1#ifndef HEEDPHOTON_H
2#define HEEDPHOTON_H
3
6/*
7Definition of the photon which can be emitted at atomic relaxation cascades
8and traced through the geometry.
9
102003, I. Smirnov
11*/
12
13//#define SFER_PHOTOEL // make direction of photoelectron absolutely random
14
15namespace Heed {
16
17class HeedPhoton : public gparticle {
18 public:
21 int s_print_listing; // convenient to print internal algorithms
22 // of a selected event
23
24 double energy; // MeV
25 int s_photon_absorbed; // used in physics_after_new_speed
26 long na_absorbing; // number of absorbing atom
27 long ns_absorbing; // number of absorbing shell
28#ifdef SFER_PHOTOEL
29 int s_sfer_photoel;
30#endif
31 // sign that delta-electrons are already generated (or cannot be created)
33
34 HeedPhoton(manip_absvol* primvol, const point& pt, const vec& vel,
35 vfloat time, long fparent_particle_number,
36 double fenergy, int fs_print_listing = 0);
37 void physics_after_new_speed(void);
38 virtual void physics(void);
39 HeedPhoton(void) : gparticle() { ; }
40 virtual void print(std::ostream& file, int l) const;
42 virtual ~HeedPhoton() { ; }
43
44};
45
46}
47
48#endif
macro_copy_total(HeedPhoton)
virtual ~HeedPhoton()
Definition: HeedPhoton.h:42
virtual void physics(void)
Definition: HeedPhoton.cpp:39
long particle_number
Definition: HeedPhoton.h:19
virtual void print(std::ostream &file, int l) const
Definition: HeedPhoton.cpp:223
void physics_after_new_speed(void)
Definition: HeedPhoton.cpp:137
long parent_particle_number
Definition: HeedPhoton.h:20
Definition: vec.h:477
Definition: vec.h:248
Definition: BGMesh.cpp:3
double vfloat
Definition: vfloat.h:15