REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Data Fields
TRestWimpNucleus Class Reference

Detailed Description

A class to store different nucleus parameters.

Definition at line 31 of file TRestWimpNucleus.h.

#include <TRestWimpNucleus.h>

Public Member Functions

int GetStechiometricFactorFromCompound (const std::string &compound)
 Get the stechiometric factor of this nucleus in a given compound. More...
 
void PrintNucleus ()
 

Data Fields

Double_t fAbundance
 Abundance, in mass percentage. More...
 
Double_t fAbundanceMol
 Abundance, in mole (or volume) More...
 
Double_t fAnum
 Atomic number in amus. More...
 
TString fNucleusName
 Nucleus name. More...
 
Int_t fZnum
 Number of protons. More...
 

Constructor & Destructor Documentation

◆ TRestWimpNucleus()

TRestWimpNucleus::TRestWimpNucleus ( )

Definition at line 49 of file TRestWimpNucleus.cxx.

◆ ~TRestWimpNucleus()

TRestWimpNucleus::~TRestWimpNucleus ( )
virtual

Definition at line 57 of file TRestWimpNucleus.cxx.

Member Function Documentation

◆ GetStechiometricFactorFromCompound()

int TRestWimpNucleus::GetStechiometricFactorFromCompound ( const std::string &  compound)

Get the stechiometric factor of this nucleus in a given compound.

Parameters
compoundThe compound to be parsed. See TRestWimpUtils::ParseChemicalCompound for the compound format.

Definition at line 75 of file TRestWimpNucleus.cxx.

◆ PrintNucleus()

void TRestWimpNucleus::PrintNucleus ( )

Definition at line 59 of file TRestWimpNucleus.cxx.

Field Documentation

◆ fAbundance

Double_t TRestWimpNucleus::fAbundance

Abundance, in mass percentage.

Definition at line 40 of file TRestWimpNucleus.h.

◆ fAbundanceMol

Double_t TRestWimpNucleus::fAbundanceMol

Abundance, in mole (or volume)

Definition at line 42 of file TRestWimpNucleus.h.

◆ fAnum

Double_t TRestWimpNucleus::fAnum

Atomic number in amus.

Definition at line 36 of file TRestWimpNucleus.h.

◆ fNucleusName

TString TRestWimpNucleus::fNucleusName

Nucleus name.

Definition at line 34 of file TRestWimpNucleus.h.

◆ fZnum

Int_t TRestWimpNucleus::fZnum

Number of protons.

Definition at line 38 of file TRestWimpNucleus.h.


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