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

+ Inheritance diagram for Heed::HeedCluster:

Public Member Functions

 HeedCluster ()
 
 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 Member Functions inherited from Heed::RegPassivePtr
 RegPassivePtr (void)
 
 RegPassivePtr (char fs_ban_del, char fs_ban_sub, char fs_ban_cop=0)
 
 RegPassivePtr (const RegPassivePtr &f)
 
RegPassivePtroperator= (const RegPassivePtr &f)
 
CountPP_ns::CountPassivePtrbook (void) const
 
void clear_pointers (void) const
 
virtual RegPassivePtrcopy () const
 
virtual ~RegPassivePtr ()
 
virtual void print (std::ostream &file, int l=1) const
 
void set_s_ban_del (char fs_ban_del)
 
char get_s_ban_del (void) const
 
void set_s_ban_sub (char fs_ban_sub)
 
char get_s_ban_sub (void) const
 
void set_s_ban_cop (char fs_ban_cop)
 
char get_s_ban_cop (void) const
 
void set_s_allow_del_at_zero_count (char fs_allow_del_at_zero_count)
 
char get_s_allow_del_at_zero_count (void) const
 
long get_total_number_of_references (void) const
 

Public Attributes

double transferred_energy
 Energy transfer in internal units.
 
long estimated_qel
 
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
 
long nshell
 

Additional Inherited Members

- Static Public Member Functions inherited from Heed::RegPassivePtr
static void set_s_ban_del_ignore (char fs_ban_del_ignore)
 
static char get_s_ban_del_ignore (void)
 
static void set_s_print_adr_cpp (char fs_print_adr_cpp)
 
static char get_s_print_adr_cpp (void)
 

Detailed Description

Cluster.

Definition at line 10 of file HeedCluster.h.

Constructor & Destructor Documentation

◆ HeedCluster() [1/2]

Heed::HeedCluster::HeedCluster ( )
inline

Definition at line 12 of file HeedCluster.h.

13 : transferred_energy(0.0), estimated_qel(0), natom(0), nshell(0) {}
double transferred_energy
Energy transfer in internal units.
Definition: HeedCluster.h:25

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

17 : transferred_energy(ftransferred_energy),
18 estimated_qel(festimated_qel),
19 pt(fpt),
20 ptloc(fptloc),
21 tid(ftid),
22 natom(fnatom),
23 nshell(fnshell) {}
point pt
Coordinates in the first system of the tree.
Definition: HeedCluster.h:29
manip_absvol_treeid tid
Definition: HeedCluster.h:33
point ptloc
Coordinates in the local system (the last system in the tree).
Definition: HeedCluster.h:31

Member Function Documentation

◆ print()

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

Reimplemented from Heed::RegPassivePtr.

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

Definition at line 27 of file HeedCluster.h.

Referenced by print().

◆ natom

long Heed::HeedCluster::natom

Definition at line 34 of file HeedCluster.h.

Referenced by print().

◆ nshell

long Heed::HeedCluster::nshell

Definition at line 35 of file HeedCluster.h.

Referenced by print().

◆ pt

point Heed::HeedCluster::pt

Coordinates in the first system of the tree.

Definition at line 29 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 31 of file HeedCluster.h.

Referenced by print().

◆ tid

manip_absvol_treeid Heed::HeedCluster::tid

Definition at line 33 of file HeedCluster.h.

Referenced by print().

◆ transferred_energy

double Heed::HeedCluster::transferred_energy

Energy transfer in internal units.

Definition at line 25 of file HeedCluster.h.

Referenced by print().


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