Garfield++ v1r0
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

#include <HeedCluster.h>

+ Inheritance diagram for Heed::HeedCluster:

Public Member Functions

 HeedCluster (void)
 
 HeedCluster (double ftransferred_energy, long festimated_qel, const point &fpt, const point &fptloc, const manip_absvol_treeid &ftid, long fnatom, long fnshell)
 
virtual void print (std::ostream &file, int l) const
 

Public Attributes

double transferred_energy
 
long estimated_qel
 
point pt
 
point ptloc
 
manip_absvol_treeid tid
 
long natom
 
long nshell
 

Detailed Description

Definition at line 10 of file HeedCluster.h.

Constructor & Destructor Documentation

◆ HeedCluster() [1/2]

Heed::HeedCluster::HeedCluster ( void  )
inline

Definition at line 19 of file HeedCluster.h.

20 : transferred_energy(0.0), estimated_qel(0), natom(0), nshell(0) {
21 ;
22 }
double transferred_energy
Definition: HeedCluster.h:12

◆ 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 23 of file HeedCluster.h.

26 : transferred_energy(ftransferred_energy),
27 estimated_qel(festimated_qel),
28 pt(fpt),
29 ptloc(fptloc),
30 tid(ftid),
31 natom(fnatom),
32 nshell(fnshell) {
33 ;
34 }
manip_absvol_treeid tid
Definition: HeedCluster.h:16

Member Function Documentation

◆ print()

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

Definition at line 9 of file HeedCluster.cpp.

9 {
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}
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
indentation indn
Definition: prstream.cpp:13
#define mcout
Definition: prstream.h:133
#define Ifile
Definition: prstream.h:207

Member Data Documentation

◆ estimated_qel

long Heed::HeedCluster::estimated_qel

Definition at line 13 of file HeedCluster.h.

Referenced by print().

◆ natom

long Heed::HeedCluster::natom

Definition at line 17 of file HeedCluster.h.

Referenced by print().

◆ nshell

long Heed::HeedCluster::nshell

Definition at line 18 of file HeedCluster.h.

Referenced by print().

◆ pt

point Heed::HeedCluster::pt

Definition at line 14 of file HeedCluster.h.

Referenced by print().

◆ ptloc

point Heed::HeedCluster::ptloc

Definition at line 15 of file HeedCluster.h.

Referenced by print().

◆ tid

manip_absvol_treeid Heed::HeedCluster::tid

Definition at line 16 of file HeedCluster.h.

Referenced by print().

◆ transferred_energy

double Heed::HeedCluster::transferred_energy

Definition at line 12 of file HeedCluster.h.

Referenced by print().


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