KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
List of all members | Public Member Functions | Public Attributes | List of all members
KVDataQualityAudit::element Struct Reference

Definition at line 85 of file KVDataQualityAudit.h.

Public Member Functions

void add (const KVReconstructedNucleus &N)
 
int get_default_mass () const
 
std::map< int, doubleget_isotopic_distribution () const
 
int get_max_isotopic_mass () const
 return max A of isotopes measured for this element More...
 
double get_mean_isotopic_mass () const
 calculate and return mean mass of isotopes measured for this element More...
 
int get_min_isotopic_mass () const
 return min A of isotopes measured for this element More...
 
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 ! More...
 
Float_t emin {-1.0}
 
std::map< int, isotopeisotopes
 
UChar_t Z {0}
 

#include <KVDataQualityAudit.h>

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 119 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 103 of file KVDataQualityAudit.h.

◆ GetIsotopeList()

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

fill and return list of isotope mass numbers A

Definition at line 107 of file KVDataQualityAudit.h.

◆ HasIsotope()

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

Definition at line 99 of file KVDataQualityAudit.h.

◆ HasIsotopes()

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

Definition at line 95 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 89 of file KVDataQualityAudit.h.

◆ counts

Double_t KVDataQualityAudit::element::counts {0}

watch the alignment !

Definition at line 87 of file KVDataQualityAudit.h.

◆ emin

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

Definition at line 88 of file KVDataQualityAudit.h.

◆ isotopes

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

Definition at line 91 of file KVDataQualityAudit.h.

◆ Z

UChar_t KVDataQualityAudit::element::Z {0}

Definition at line 90 of file KVDataQualityAudit.h.


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