Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
HeedCondElectron.h
Go to the documentation of this file.
1#ifndef HEEDCONDELECTRON
2#define HEEDCONDELECTRON
3
4#include <vector>
6
7namespace Heed {
8
9/// Conduction electrons deposited in the sensitive medium.
10/// Usually these are electron-ion pairs created by the delta-electron.
11/// In addition, the delta-electron is itself converted to a conduction electron
12/// at the end of its path. In this case the ion may be located somewhere else.
13/// To reduce the computer expenses, the position of a conduction electron
14/// is determined only in the local coordinate system ("deepest" volume).
15///
16/// 2003, I. Smirnov
17
19 public:
20 /// X coordinate (in the local system).
21 double x = 0.;
22 /// Y coordinate (in the local system).
23 double y = 0.;
24 /// Z coordinate (in the local system).
25 double z = 0.;
26 /// Time.
27 double time = 0.;
28
29 /// Default constructor
30 HeedCondElectron() = default;
31 /// Constructor
32 HeedCondElectron(const point& fpt, const double ftime)
33 : x(fpt.v.x), y(fpt.v.y), z(fpt.v.z), time(ftime) {}
34 /// Constructor
35 HeedCondElectron(const double fx, const double fy, const double fz,
36 const double ftime)
37 : x(fx), y(fy), z(fz), time(ftime) {}
38 void print(std::ostream& file, int l) const;
39};
40}
41
42#endif
double y
Y coordinate (in the local system).
HeedCondElectron(const double fx, const double fy, const double fz, const double ftime)
Constructor.
void print(std::ostream &file, int l) const
double x
X coordinate (in the local system).
double z
Z coordinate (in the local system).
HeedCondElectron()=default
Default constructor.
HeedCondElectron(const point &fpt, const double ftime)
Constructor.
Point.
Definition: vec.h:368
Definition: BGMesh.cpp:6