Garfield++
4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
HeedCluster.cpp
Go to the documentation of this file.
1
#include <iomanip>
2
#include "
heed++/code/HeedCluster.h
"
3
4
// 2003, I. Smirnov
5
6
namespace
Heed
{
7
8
void
HeedCluster::print
(std::ostream& file,
int
l)
const
{
9
if
(l <= 0)
return
;
10
Ifile
<<
"HeedCluster (l="
<< l
11
<<
"): transferred_energy="
<<
transferred_energy
<<
" MeV\n"
;
12
Ifile
<<
"pt="
<<
pt
<<
'\n'
;
13
if
(l > 1) {
14
indn
.
n
+= 2;
15
Ifile
<<
"natom="
<<
natom
<<
" nshell="
<<
nshell
<<
'\n'
;
16
indn
.
n
-= 2;
17
}
18
}
19
}
HeedCluster.h
Heed::HeedCluster::nshell
long nshell
Definition:
HeedCluster.h:24
Heed::HeedCluster::transferred_energy
double transferred_energy
Energy transfer in internal units.
Definition:
HeedCluster.h:20
Heed::HeedCluster::print
void print(std::ostream &file, int l) const
Definition:
HeedCluster.cpp:8
Heed::HeedCluster::pt
point pt
Coordinates in the global frame.
Definition:
HeedCluster.h:22
Heed::HeedCluster::natom
long natom
Definition:
HeedCluster.h:23
Heed::indentation::n
int n
Definition:
prstream.h:178
Heed
Definition:
BGMesh.cpp:6
Heed::indn
indentation indn
Definition:
prstream.cpp:15
Ifile
#define Ifile
Definition:
prstream.h:195
garfieldpp-4.0
Heed
heed++
code
HeedCluster.cpp
Generated by
1.9.6