KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDataQualityAudit::element Struct Reference

Detailed Description

Definition at line 86 of file KVDataQualityAudit.h.

#include <KVDataQualityAudit.h>

Public Member Functions

void add (const KVReconstructedNucleus &N)
 
int get_default_mass () const
 
std::map< int, double > get_isotopic_distribution () const
 
int get_max_isotopic_mass () const
 return max A of isotopes measured for this element
 
double get_mean_isotopic_mass () const
 calculate and return mean mass of isotopes measured for this element
 
int get_min_isotopic_mass () const
 return min A of isotopes measured for this element
 
double get_minimum_isotopic_threshold_mev_per_nuc () const
 
const isotopeGetIsotope (int A) const
 
KVNumberList GetIsotopeList () const
 
Bool_t HasIsotope (int A) const
 
Bool_t HasIsotopes () const
 
void merge (const element &)
 
void print () const
 

Public Attributes

UShort_t A {0}
 
Double_t counts {0}
 watch the alignment !
 
Float_t emin {-1.0}
 
std::map< int, isotopeisotopes
 
UChar_t Z {0}
 

Member Function Documentation

◆ add()

void KVDataQualityAudit::element::add ( const KVReconstructedNucleus N)

add an element (Z-identified nucleus)

if isotopically identified, add to list of isotopes

for calibrated particles, we store the minimum energy (=> threshold)

Definition at line 126 of file KVDataQualityAudit.cpp.

◆ get_default_mass()

int KVDataQualityAudit::element::get_default_mass ( ) const
inline

Definition at line 120 of file KVDataQualityAudit.h.

◆ get_isotopic_distribution()

std::map< int, double > KVDataQualityAudit::element::get_isotopic_distribution ( ) const
Returns
probability distribution for each isotope as a map between isotope A and P(A)

Definition at line 270 of file KVDataQualityAudit.cpp.

◆ get_max_isotopic_mass()

int KVDataQualityAudit::element::get_max_isotopic_mass ( ) const

return max A of isotopes measured for this element

Definition at line 223 of file KVDataQualityAudit.cpp.

◆ get_mean_isotopic_mass()

double KVDataQualityAudit::element::get_mean_isotopic_mass ( ) const

calculate and return mean mass of isotopes measured for this element

Definition at line 202 of file KVDataQualityAudit.cpp.

◆ get_min_isotopic_mass()

int KVDataQualityAudit::element::get_min_isotopic_mass ( ) const

return min A of isotopes measured for this element

Definition at line 237 of file KVDataQualityAudit.cpp.

◆ get_minimum_isotopic_threshold_mev_per_nuc()

double KVDataQualityAudit::element::get_minimum_isotopic_threshold_mev_per_nuc ( ) const
Returns
the smallest recorded threshold (in MeV/u) for isotopic identification for the element

Definition at line 251 of file KVDataQualityAudit.cpp.

◆ GetIsotope()

const isotope & KVDataQualityAudit::element::GetIsotope ( int  A) const
inline

Definition at line 104 of file KVDataQualityAudit.h.

◆ GetIsotopeList()

KVNumberList KVDataQualityAudit::element::GetIsotopeList ( ) const
inline

fill and return list of isotope mass numbers A

Definition at line 108 of file KVDataQualityAudit.h.

◆ HasIsotope()

Bool_t KVDataQualityAudit::element::HasIsotope ( int  A) const
inline

Definition at line 100 of file KVDataQualityAudit.h.

◆ HasIsotopes()

Bool_t KVDataQualityAudit::element::HasIsotopes ( ) const
inline

Definition at line 96 of file KVDataQualityAudit.h.

◆ merge()

void KVDataQualityAudit::element::merge ( const element elem)

Merge the informations in element elem with those in this one:

  • we keep the lower of the two threshold values
  • we sum the counts for the element
  • we merge the lists of isotopes of the two elements
  • we keep the default mass, if it has been set

Definition at line 168 of file KVDataQualityAudit.cpp.

◆ print()

void KVDataQualityAudit::element::print ( ) const

Definition at line 146 of file KVDataQualityAudit.cpp.

Member Data Documentation

◆ A

UShort_t KVDataQualityAudit::element::A {0}

Definition at line 90 of file KVDataQualityAudit.h.

◆ counts

Double_t KVDataQualityAudit::element::counts {0}

watch the alignment !

Definition at line 88 of file KVDataQualityAudit.h.

◆ emin

Float_t KVDataQualityAudit::element::emin {-1.0}

Definition at line 89 of file KVDataQualityAudit.h.

◆ isotopes

std::map<int, isotope> KVDataQualityAudit::element::isotopes

Definition at line 92 of file KVDataQualityAudit.h.

◆ Z

UChar_t KVDataQualityAudit::element::Z {0}

Definition at line 91 of file KVDataQualityAudit.h.