Garfield++ 4.0
A toolkit for the detailed simulation of particle detectors based on ionisation measurement in gases and semiconductors
Loading...
Searching...
No Matches
Heed::HeedCluster Class Reference

Cluster. More...

#include <HeedCluster.h>

Public Member Functions

 HeedCluster ()=default
 
 HeedCluster (double ftransferred_energy, const point &fpt, long fnatom, long fnshell)
 
void print (std::ostream &file, int l) const
 

Public Attributes

double transferred_energy = 0.
 Energy transfer in internal units.
 
point pt
 Coordinates in the global frame.
 
long natom = 0
 
long nshell = 0
 

Detailed Description

Cluster.

Definition at line 10 of file HeedCluster.h.

Constructor & Destructor Documentation

◆ HeedCluster() [1/2]

Heed::HeedCluster::HeedCluster ( )
default

◆ HeedCluster() [2/2]

Heed::HeedCluster::HeedCluster ( double  ftransferred_energy,
const point fpt,
long  fnatom,
long  fnshell 
)
inline

Definition at line 13 of file HeedCluster.h.

15 : transferred_energy(ftransferred_energy),
16 pt(fpt),
17 natom(fnatom),
18 nshell(fnshell) {}
double transferred_energy
Energy transfer in internal units.
Definition: HeedCluster.h:20
point pt
Coordinates in the global frame.
Definition: HeedCluster.h:22

Member Function Documentation

◆ print()

void Heed::HeedCluster::print ( std::ostream &  file,
int  l 
) const

Definition at line 8 of file HeedCluster.cpp.

8 {
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}
indentation indn
Definition: prstream.cpp:15
#define Ifile
Definition: prstream.h:195

Member Data Documentation

◆ natom

long Heed::HeedCluster::natom = 0

Definition at line 23 of file HeedCluster.h.

Referenced by print().

◆ nshell

long Heed::HeedCluster::nshell = 0

Definition at line 24 of file HeedCluster.h.

Referenced by print().

◆ pt

point Heed::HeedCluster::pt

Coordinates in the global frame.

Definition at line 22 of file HeedCluster.h.

Referenced by print().

◆ transferred_energy

double Heed::HeedCluster::transferred_energy = 0.

Energy transfer in internal units.

Definition at line 20 of file HeedCluster.h.

Referenced by print().


The documentation for this class was generated from the following files: