Garfield++
v1r0
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
7
namespace
Heed
{
8
9
void
HeedCluster::print
(std::ostream& file,
int
l)
const
{
10
if
(l <= 0)
return
;
11
Ifile
<<
"HeedCluster (l="
<< l
12
<<
"): transferred_energy="
<<
transferred_energy
13
<<
" MeV, estimated_qel="
<<
estimated_qel
<<
'\n'
;
14
Ifile
<<
"pt="
<<
pt
<<
"ptloc="
<<
ptloc
<<
'\n'
;
15
if
(l > 1) {
16
indn
.
n
+= 2;
17
absvol
* av =
tid
.
G_lavol
();
18
if
(av != NULL) {
19
Ifile
<<
"av="
;
20
av->
print
(
mcout
, 1);
21
}
else
{
22
Ifile
<<
"volume is not registered\n"
;
23
}
24
Ifile
<<
"natom="
<<
natom
<<
" nshell="
<<
nshell
<<
'\n'
;
25
indn
.
n
-= 2;
26
}
27
}
28
29
}
HeedCluster.h
Heed::HeedCluster::nshell
long nshell
Definition:
HeedCluster.h:18
Heed::HeedCluster::estimated_qel
long estimated_qel
Definition:
HeedCluster.h:13
Heed::HeedCluster::transferred_energy
double transferred_energy
Definition:
HeedCluster.h:12
Heed::HeedCluster::print
virtual void print(std::ostream &file, int l) const
Definition:
HeedCluster.cpp:9
Heed::HeedCluster::pt
point pt
Definition:
HeedCluster.h:14
Heed::HeedCluster::tid
manip_absvol_treeid tid
Definition:
HeedCluster.h:16
Heed::HeedCluster::ptloc
point ptloc
Definition:
HeedCluster.h:15
Heed::HeedCluster::natom
long natom
Definition:
HeedCluster.h:17
absvol
Definition:
volume.h:91
absvol::print
virtual void print(std::ostream &file, int l) const
Definition:
volume.cpp:144
indentation::n
int n
Definition:
prstream.h:187
manip_absvol_treeid::G_lavol
absvol * G_lavol() const
Definition:
volume.cpp:28
Heed
Definition:
BGMesh.cpp:3
indn
indentation indn
Definition:
prstream.cpp:13
mcout
#define mcout
Definition:
prstream.h:133
Ifile
#define Ifile
Definition:
prstream.h:207
garfieldpp-v1r0
Heed
heed++
code
HeedCluster.cpp
Generated by
1.9.6