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>
3/*
42003, I. Smirnov
5*/
6
7namespace Heed {
8
9void 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}
double transferred_energy
Definition: HeedCluster.h:12
virtual void print(std::ostream &file, int l) const
Definition: HeedCluster.cpp:9
manip_absvol_treeid tid
Definition: HeedCluster.h:16
Definition: volume.h:91
virtual void print(std::ostream &file, int l) const
Definition: volume.cpp:144
absvol * G_lavol() const
Definition: volume.cpp:28
Definition: BGMesh.cpp:3
indentation indn
Definition: prstream.cpp:13
#define mcout
Definition: prstream.h:133
#define Ifile
Definition: prstream.h:207