4#include "KVElementDensityTable.h"
5#include "KVFileReader.h"
7#include "KVElementDensity.h"
77 Int_t aa = 2 * zz + 1;
169 if (
x == el)
return elem;
189 if (
x == el)
return elem;
static Bool_t SearchKVFile(const Char_t *name, TString &fullpath, const Char_t *kvsubdir="")
Table of atomic elements with their density.
virtual NDT::value * getNDTvalue(Int_t zz, Int_t aa) const
virtual void Initialize()
virtual ~KVElementDensityTable()
Destructor.
KVElementDensity * FindElementByName(const Char_t *) const
Search table for an element with the given name. Case-insensitive.
virtual void GiveIndexToNucleus(Int_t zz, Int_t aa, Int_t ntot)
KVElementDensity * FindElementBySymbol(const Char_t *) const
Search table for an element with the given symbol. Case-insensitive.
Atomic element with name, symbol and density.
const Char_t * GetElementName() const
const Char_t * GetElementSymbol() const
void SetIsGas(Bool_t g=kTRUE)
void SetElementSymbol(const Char_t *s)
void SetElementName(const Char_t *en)
Handle reading columns of numeric data in text files.
KVString GetCurrentLine()
Bool_t PreparForReadingAgain()
ReadStatus ReadLine(const KVString &pattern="")
Double_t GetDoubleReadPar(Int_t pos) const
Int_t GetIntReadPar(Int_t pos) const
Int_t GetNparRead() const
KVString GetReadPar(Int_t pos) const
Bool_t OpenFileToRead(const KVString &filename)
Abstract base class for nuclear data table.
KVString kcomments
Commentaire provenant de la lecture fichier.
TMap * nucMap
mapping (Z,A) -> nucleus index
KVNuclData * GetCurrent() const
TObjArray* tobj_rangeA; //! array where range of A associated to each Z is stored via KVIntegerList.
TObjArray * tobj
KVNumberList plageZ;.
virtual NDT::value * getNDTvalue(Int_t zz, Int_t aa) const
Return NDT::value object pointer stored at map position (Z,A).
void CreateTable(Int_t ntot)
virtual void GiveIndexToNucleus(Int_t zz, Int_t aa, Int_t ntot)
Add a new entry in the table.
void CreateElement(Int_t idx)
void SetValue(Double_t val)
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
virtual const char * GetValue(const char *name, const char *dflt) const
virtual void SetTitle(const char *title="")
const char * GetName() const override
virtual void Error(const char *method, const char *msgfmt,...) const
const char * Data() const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
void Form(const char *fmt,...)
const long double g
masses
const long double cc
volumes