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>
3
4// 2003, I. Smirnov
5
6namespace Heed {
7
8void 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}
double transferred_energy
Energy transfer in internal units.
Definition: HeedCluster.h:20
void print(std::ostream &file, int l) const
Definition: HeedCluster.cpp:8
point pt
Coordinates in the global frame.
Definition: HeedCluster.h:22
Definition: BGMesh.cpp:6
indentation indn
Definition: prstream.cpp:15
#define Ifile
Definition: prstream.h:195