77 Int_t aa = 2 * zz + 1;
169 if (
x == el)
return elem;
189 if (
x == el)
return elem;
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
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
void SetIsGas(Bool_t g=kTRUE)
const Char_t * GetElementSymbol() const
void SetElementSymbol(const Char_t *s)
void SetElementName(const Char_t *en)
Handle reading text files.
KVString GetCurrentLine()
Bool_t PreparForReadingAgain()
TString GetReadPar(Int_t pos)
Bool_t OpenFileToRead(KVString filename)
void ReadLine(const Char_t *pattern)
Double_t GetDoubleReadPar(Int_t pos)
Int_t GetIntReadPar(Int_t pos)
Abstract base class for nuclear data table.
KVString kcomments
Commentaire provenant de la lecture fichier.
TMap * nucMap
mapping (Z,A) -> nucleus index
TObjArray * tobj
KVNumberList plageZ;.
KVNuclData * GetCurrent() const
TObjArray* tobj_rangeA; //! array where range of A associated to each Z is stored via KVIntegerList.
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 const char * GetName() const
virtual void SetTitle(const char *title="")
virtual void Error(const char *method, const char *msgfmt,...) const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
const char * Data() const
void Form(const char *fmt,...)
const long double g
masses
const long double cc
volumes