Garfield++ 3.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, long festimated_qel, const point &fpt, const point &fptloc, const manip_absvol_treeid &ftid, long fnatom, long fnshell)
 
void print (std::ostream &file, int l) const
 

Public Attributes

double transferred_energy = 0.
 Energy transfer in internal units.
 
long estimated_qel = 0
 
point pt
 Coordinates in the first system of the tree.
 
point ptloc
 Coordinates in the local system (the last system in the tree).
 
manip_absvol_treeid tid
 
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,
long  festimated_qel,
const point fpt,
const point fptloc,
const manip_absvol_treeid ftid,
long  fnatom,
long  fnshell 
)
inline

Definition at line 13 of file HeedCluster.h.

16 : transferred_energy(ftransferred_energy),
17 estimated_qel(festimated_qel),
18 pt(fpt),
19 ptloc(fptloc),
20 tid(ftid),
21 natom(fnatom),
22 nshell(fnshell) {}
double transferred_energy
Energy transfer in internal units.
Definition: HeedCluster.h:24
point pt
Coordinates in the first system of the tree.
Definition: HeedCluster.h:28
manip_absvol_treeid tid
Definition: HeedCluster.h:32
point ptloc
Coordinates in the local system (the last system in the tree).
Definition: HeedCluster.h:30

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
12 << " MeV, estimated_qel=" << estimated_qel << '\n';
13 Ifile << "pt=" << pt << "ptloc=" << ptloc << '\n';
14 if (l > 1) {
15 indn.n += 2;
16 absvol* av = tid.G_lavol();
17 if (av != NULL) {
18 Ifile << "av=";
19 av->print(mcout, 1);
20 } else {
21 Ifile << "volume is not registered\n";
22 }
23 Ifile << "natom=" << natom << " nshell=" << nshell << '\n';
24 indn.n -= 2;
25 }
26}
absvol * G_lavol() const
Get last address of volume.
Definition: volume.cpp:17
indentation indn
Definition: prstream.cpp:15
#define mcout
Definition: prstream.h:126
#define Ifile
Definition: prstream.h:196

Member Data Documentation

◆ estimated_qel

long Heed::HeedCluster::estimated_qel = 0

Definition at line 26 of file HeedCluster.h.

Referenced by print().

◆ natom

long Heed::HeedCluster::natom = 0

Definition at line 33 of file HeedCluster.h.

Referenced by print().

◆ nshell

long Heed::HeedCluster::nshell = 0

Definition at line 34 of file HeedCluster.h.

Referenced by print().

◆ pt

point Heed::HeedCluster::pt

Coordinates in the first system of the tree.

Definition at line 28 of file HeedCluster.h.

Referenced by print().

◆ ptloc

point Heed::HeedCluster::ptloc

Coordinates in the local system (the last system in the tree).

Definition at line 30 of file HeedCluster.h.

Referenced by print().

◆ tid

manip_absvol_treeid Heed::HeedCluster::tid

Definition at line 32 of file HeedCluster.h.

Referenced by print().

◆ transferred_energy

double Heed::HeedCluster::transferred_energy = 0.

Energy transfer in internal units.

Definition at line 24 of file HeedCluster.h.

Referenced by print().


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