CbmRoot
|
#include <PDataBase.h>
Public Member Functions | |
PDataBase () | |
void | Performance (void) |
void | SetFastKey (Int_t pkey, Int_t maxkey) |
Int_t | MakeParamDouble (const char *paramname, const char *descr) |
Int_t | MakeParamString (const char *paramname, const char *descr) |
Int_t | MakeParamInt (const char *paramname, const char *descr) |
Int_t | MakeParamTObj (const char *paramname, const char *descr) |
Int_t | GetParamDouble (const char *paramname) |
Int_t | GetParamString (const char *paramname) |
Int_t | GetParamInt (const char *paramname, Int_t length=-1) |
Int_t | GetParamTObj (const char *paramname) |
TString | GetDescription (const char *paramname) |
void | GetFastParamInt (const char *paramname, Int_t *pkey) |
void | GetFastParamString (const char *paramname, Int_t *pkey) |
void | GetFastParamDouble (const char *paramname, Int_t *pkey) |
void | GetFastParamTObj (const char *paramname, Int_t *pkey) |
const char * | GetName (Int_t key) |
Bool_t | GetParamDouble (Int_t key, const char *paramname, Double_t **result) |
Bool_t | GetParamString (Int_t key, const char *paramname, const char **result) |
Bool_t | GetParamInt (Int_t key, const char *paramname, Int_t **result, Int_t length=-1) |
Bool_t | GetParamTObj (Int_t key, const char *paramname, TObject **result) |
Bool_t | GetParamInt (Int_t key, Int_t pkey, Int_t **result) |
Bool_t | GetParamString (Int_t key, Int_t pkey, const char **result) |
Bool_t | GetParamDouble (Int_t key, Int_t pkey, Double_t **result) |
Bool_t | GetParamTObj (Int_t key, Int_t pkey, TObject **result) |
Bool_t | GetParamInt (Int_t key, Int_t pkey, Int_t *result) |
Bool_t | GetParamInt (const char *name, const char *paramname, Int_t **result) |
Bool_t | GetParamDouble (const char *name, const char *paramname, Double_t **result) |
Bool_t | GetParamString (const char *name, const char *paramname, const char **result) |
Bool_t | GetParamTObj (const char *name, const char *paramname, TObject **result) |
Bool_t | GetParamInt (const char *paramname1, Int_t value1, const char *paramname2, Int_t **result) |
Bool_t | GetParamDouble (const char *paramname1, Int_t value1, const char *paramname2, Double_t **result) |
Bool_t | GetParamString (const char *paramname1, Int_t value1, const char *paramname2, const char **result) |
Bool_t | GetParamTObj (const char *paramname1, Int_t value1, const char *paramname2, TObject **result) |
Bool_t | GetParamInt (Int_t pkey1, Int_t value1, Int_t pkey2, Int_t **result) |
Bool_t | GetParamDouble (Int_t pkey1, Int_t value1, Int_t pkey2, Double_t **result) |
Bool_t | GetParamString (Int_t pkey1, Int_t value1, Int_t pkey2, const char **result) |
Bool_t | GetParamTObj (Int_t pkey1, Int_t value1, Int_t pkey2, TObject **result) |
Bool_t | SetParamDouble (Int_t key, const char *paramname, Double_t *result) |
Bool_t | SetParamString (Int_t key, const char *paramname, char *result) |
Bool_t | SetParamInt (Int_t key, const char *paramname, Int_t *result) |
Bool_t | SetParamTObj (Int_t key, const char *paramname, TObject *result) |
Bool_t | SetParamTObj (Int_t key, Int_t pp, TObject *result) |
Bool_t | SetParamDouble (const char *name, const char *paramname, Double_t result) |
Bool_t | SetParamInt (const char *name, const char *paramname, Int_t result) |
Bool_t | SetParamString (const char *name, const char *paramname, char *result) |
Bool_t | SetParamTObj (const char *name, const char *paramname, TObject *result) |
Bool_t | AddEntry (Int_t key, const char *name) |
Int_t | AddEntry (const char *name) |
Int_t | GetEntry (const char *name) |
Int_t | GetEntryInt (const char *paramname, Int_t value) |
Int_t | GetEntryInt (Int_t pkey, Int_t value) |
Int_t | AddListEntry (const char *name, const char *count, const char *link, const char *newname) |
Bool_t | MakeListIterator (Int_t key, const char *count, const char *link, Int_t *listkey) |
Bool_t | MakeListIterator (Int_t key, Int_t count, Int_t link, Int_t *listkey) |
Bool_t | ListEntries (Int_t key=-1, Int_t option=0, const char *pattern=nullptr) |
void | Print (const Option_t *delme) const |
ClassDef (PDataBase, 0) | |
Private Member Functions | |
Bool_t | CheckEntry (Int_t key) |
Int_t | ConvertParamKey (const char *&newparamname, Int_t key) |
Private Attributes | |
const char * | param_double_name [PDATABASE_MAX_DOUBLE_PARAM] |
const char * | param_string_name [PDATABASE_MAX_STRING_PARAM] |
const char * | param_int_name [PDATABASE_MAX_INT_PARAM] |
const char * | param_tobj_name [PDATABASE_MAX_INT_PARAM] |
const char * | param_double_descr [PDATABASE_MAX_DOUBLE_PARAM] |
const char * | param_string_descr [PDATABASE_MAX_STRING_PARAM] |
const char * | param_int_descr [PDATABASE_MAX_INT_PARAM] |
const char * | param_tobj_descr [PDATABASE_MAX_INT_PARAM] |
Int_t | param_double_pointer |
Int_t | param_string_pointer |
Int_t | param_int_pointer |
Int_t | param_tobj_pointer |
Int_t * | param_int_key [PDATABASE_MAX_INT_PARAM] |
Int_t | param_int_key_max [PDATABASE_MAX_INT_PARAM] |
const char * | strings [PDATABASE_MAX_LINES][PDATABASE_MAX_STRING_PARAM] |
Double_t * | doubles [PDATABASE_MAX_LINES][PDATABASE_MAX_DOUBLE_PARAM] |
Int_t * | ints [PDATABASE_MAX_LINES][PDATABASE_MAX_INT_PARAM] |
TObject * | tobjs [PDATABASE_MAX_LINES][PDATABASE_MAX_TOBJ_PARAM] |
Int_t | lastkey |
Definition at line 33 of file PDataBase.h.
PDataBase::PDataBase | ( | ) |
Definition at line 25 of file PDataBase.cxx.
References doubles, ints, lastkey, MakeParamString(), param_double_pointer, param_int_key, param_int_key_max, param_int_pointer, param_string_pointer, param_tobj_pointer, PDATABASE_MAX_DOUBLE_PARAM, PDATABASE_MAX_INT_PARAM, PDATABASE_MAX_LINES, PDATABASE_MAX_STRING_PARAM, PDATABASE_MAX_TOBJ_PARAM, strings, and tobjs.
Int_t PDataBase::AddEntry | ( | const char * | name | ) |
Definition at line 524 of file PDataBase.cxx.
Definition at line 508 of file PDataBase.cxx.
References CRASH.
Referenced by AddListEntry(), PStdData::fillDataBase(), and PStaticData::MakeDirectoryEntry().
Int_t PDataBase::AddListEntry | ( | const char * | name, |
const char * | count, | ||
const char * | link, | ||
const char * | newname ) |
Definition at line 533 of file PDataBase.cxx.
References AddEntry(), GetEntry(), GetParamInt(), makeDataBase(), MakeListIterator(), and SetParamInt().
Referenced by PStaticData::AddAlias(), PStaticData::AddParticle(), PStdData::fillDataBase(), and PStaticData::MakeDirectoryEntry().
Definition at line 86 of file PDataBase.cxx.
PDataBase::ClassDef | ( | PDataBase | , |
0 | ) |
Definition at line 206 of file PDataBase.cxx.
TString PDataBase::GetDescription | ( | const char * | paramname | ) |
Definition at line 226 of file PDataBase.cxx.
Int_t PDataBase::GetEntry | ( | const char * | name | ) |
Definition at line 454 of file PDataBase.cxx.
Referenced by AddListEntry(), PStaticData::AddParticle(), PStaticData::GetAliasParent(), GetParamDouble(), GetParamInt(), GetParamString(), GetParamTObj(), PStaticData::MakeDirectoryEntry(), PStaticData::PStaticData(), PStaticData::SetDecayBR(), SetParamDouble(), SetParamInt(), SetParamString(), and SetParamTObj().
Definition at line 464 of file PDataBase.cxx.
Referenced by PStaticData::AddParticle(), PStdData::fillDataBase(), PStaticData::GetDecayIdx(), PStaticData::GetDecayKey(), GetParamDouble(), GetParamDouble(), GetParamInt(), GetParamInt(), GetParamString(), GetParamString(), GetParamTObj(), GetParamTObj(), PStaticData::NormParticleBR(), PStaticData::SetPWidthMesh(), PStaticData::SetTF1(), and PStaticData::SetTWidthMesh().
Definition at line 475 of file PDataBase.cxx.
|
inline |
Definition at line 101 of file PDataBase.h.
References GetParamDouble().
|
inline |
Definition at line 93 of file PDataBase.h.
References GetParamInt().
|
inline |
Definition at line 97 of file PDataBase.h.
References GetParamString().
|
inline |
Definition at line 105 of file PDataBase.h.
References GetParamTObj().
const char * PDataBase::GetName | ( | Int_t | key | ) |
Definition at line 96 of file PDataBase.cxx.
References lastkey, and strings.
Referenced by PStaticData::PrintParticleByKey().
|
inline |
Definition at line 141 of file PDataBase.h.
References GetEntry(), and GetParamDouble().
Int_t PDataBase::GetParamDouble | ( | const char * | paramname | ) |
Definition at line 170 of file PDataBase.cxx.
Referenced by PStaticData::GetBatchValue(), GetFastParamDouble(), GetParamDouble(), GetParamDouble(), GetParamDouble(), MakeParamDouble(), and PStaticData::PStaticData().
|
inline |
Definition at line 159 of file PDataBase.h.
References GetEntryInt(), and GetParamDouble().
Definition at line 257 of file PDataBase.cxx.
Definition at line 275 of file PDataBase.cxx.
|
inline |
Definition at line 178 of file PDataBase.h.
References GetEntryInt(), and GetParamDouble().
Definition at line 137 of file PDataBase.h.
References GetEntry(), and GetParamInt().
Definition at line 185 of file PDataBase.cxx.
Referenced by AddListEntry(), GetFastParamInt(), GetParamInt(), GetParamInt(), GetParamInt(), GetParamInt(), PStaticData::PStaticData(), and CbmPlutoGenerator::ReadEvent().
|
inline |
Definition at line 155 of file PDataBase.h.
References GetEntryInt(), and GetParamInt().
Bool_t PDataBase::GetParamInt | ( | Int_t | key, |
const char * | paramname, | ||
Int_t ** | result, | ||
Int_t | length = -1 ) |
Definition at line 312 of file PDataBase.cxx.
Definition at line 332 of file PDataBase.cxx.
Definition at line 126 of file PDataBase.h.
References GetParamInt().
Definition at line 173 of file PDataBase.h.
References GetEntryInt(), and GetParamInt().
|
inline |
Definition at line 145 of file PDataBase.h.
References GetEntry(), and GetParamString().
Int_t PDataBase::GetParamString | ( | const char * | paramname | ) |
Definition at line 177 of file PDataBase.cxx.
Referenced by GetFastParamString(), GetParamString(), GetParamString(), GetParamString(), PStaticData::GetParticleName(), and PStaticData::PStaticData().
|
inline |
Definition at line 163 of file PDataBase.h.
References GetEntryInt(), and GetParamString().
Definition at line 285 of file PDataBase.cxx.
Definition at line 303 of file PDataBase.cxx.
|
inline |
Definition at line 182 of file PDataBase.h.
References GetEntryInt(), and GetParamString().
|
inline |
Definition at line 149 of file PDataBase.h.
References GetEntry(), and GetParamTObj().
Int_t PDataBase::GetParamTObj | ( | const char * | paramname | ) |
Definition at line 199 of file PDataBase.cxx.
Referenced by GetFastParamTObj(), GetParamTObj(), GetParamTObj(), GetParamTObj(), and PStaticData::PStaticData().
|
inline |
Definition at line 167 of file PDataBase.h.
References GetEntryInt(), and GetParamTObj().
Definition at line 342 of file PDataBase.cxx.
Definition at line 360 of file PDataBase.cxx.
Definition at line 186 of file PDataBase.h.
References GetEntryInt(), and GetParamTObj().
Definition at line 671 of file PDataBase.cxx.
References PDATABASE_MAX_DOUBLE_PARAM, PDATABASE_MAX_INT_PARAM, PDATABASE_MAX_LINES, PDATABASE_MAX_STRING_PARAM, PDATABASE_MAX_TOBJ_PARAM, and x.
Referenced by PStaticData::PrintDecayByKey(), and PStaticData::PrintParticleByKey().
Bool_t PDataBase::MakeListIterator | ( | Int_t | key, |
const char * | count, | ||
const char * | link, | ||
Int_t * | listkey ) |
Definition at line 602 of file PDataBase.cxx.
Referenced by AddListEntry().
Definition at line 636 of file PDataBase.cxx.
Int_t PDataBase::MakeParamDouble | ( | const char * | paramname, |
const char * | descr ) |
Definition at line 105 of file PDataBase.cxx.
References GetParamDouble(), param_double_descr, param_double_name, param_double_pointer, and PDATABASE_MAX_DOUBLE_PARAM.
Referenced by PStdData::fillDataBase(), and PStaticData::GetBatchValue().
Int_t PDataBase::MakeParamInt | ( | const char * | paramname, |
const char * | descr ) |
Definition at line 140 of file PDataBase.cxx.
References PDATABASE_MAX_INT_PARAM.
Referenced by PStdData::fillDataBase(), PStaticData::MakeDirectoryEntry(), and PStaticData::PStaticData().
Int_t PDataBase::MakeParamString | ( | const char * | paramname, |
const char * | descr ) |
Definition at line 123 of file PDataBase.cxx.
References PDATABASE_MAX_STRING_PARAM.
Referenced by PDataBase().
Int_t PDataBase::MakeParamTObj | ( | const char * | paramname, |
const char * | descr ) |
Definition at line 155 of file PDataBase.cxx.
References PDATABASE_MAX_TOBJ_PARAM.
Referenced by PStdData::fillDataBase().
void PDataBase::Performance | ( | void | ) |
Definition at line 851 of file PDataBase.cxx.
void PDataBase::Print | ( | const Option_t * | delme | ) | const |
Definition at line 56 of file PDataBase.cxx.
References param_double_descr, param_double_name, param_double_pointer, param_int_descr, param_int_name, param_int_pointer, param_string_descr, param_string_name, param_string_pointer, param_tobj_descr, param_tobj_name, param_tobj_pointer, PDATABASE_MAX_DOUBLE_PARAM, PDATABASE_MAX_INT_PARAM, PDATABASE_MAX_STRING_PARAM, and PDATABASE_MAX_TOBJ_PARAM.
Definition at line 75 of file PDataBase.cxx.
References param_int_key, and param_int_key_max.
Referenced by PStdData::fillDataBase().
|
inline |
Definition at line 200 of file PDataBase.h.
References GetEntry(), and SetParamDouble().
Definition at line 370 of file PDataBase.cxx.
Referenced by PStaticData::AddParticle(), PStdData::fillDataBase(), PStaticData::GetBatchValue(), PStaticData::PStaticData(), SetParamDouble(), PStaticData::SetParticleLMass(), and PStaticData::SetParticleUMass().
Definition at line 206 of file PDataBase.h.
References GetEntry(), and SetParamInt().
Definition at line 406 of file PDataBase.cxx.
References Error.
Referenced by AddListEntry(), PStaticData::AddParticle(), PStdData::fillDataBase(), SetParamInt(), PStaticData::SetParticleBaryon(), PStaticData::SetParticleCharge(), PStaticData::SetParticleIsospin(), PStaticData::SetParticleLepton(), PStaticData::SetParticleMeson(), PStaticData::SetParticleParity(), and PStaticData::SetParticleSpin().
|
inline |
Definition at line 212 of file PDataBase.h.
References GetEntry(), and SetParamString().
|
inline |
Definition at line 218 of file PDataBase.h.
References GetEntry(), and SetParamTObj().
Definition at line 442 of file PDataBase.cxx.
References Error.
|
private |
Definition at line 58 of file PDataBase.h.
Referenced by PDataBase().
|
private |
Definition at line 59 of file PDataBase.h.
Referenced by PDataBase().
|
private |
Definition at line 62 of file PDataBase.h.
Referenced by CheckEntry(), GetName(), and PDataBase().
|
private |
Definition at line 41 of file PDataBase.h.
Referenced by MakeParamDouble(), and Print().
|
private |
Definition at line 37 of file PDataBase.h.
Referenced by MakeParamDouble(), and Print().
|
private |
Definition at line 45 of file PDataBase.h.
Referenced by MakeParamDouble(), PDataBase(), and Print().
|
private |
Definition at line 43 of file PDataBase.h.
Referenced by Print().
|
private |
Definition at line 52 of file PDataBase.h.
Referenced by PDataBase(), and SetFastKey().
|
private |
Definition at line 53 of file PDataBase.h.
Referenced by PDataBase(), and SetFastKey().
|
private |
Definition at line 39 of file PDataBase.h.
Referenced by Print().
|
private |
Definition at line 47 of file PDataBase.h.
Referenced by PDataBase(), and Print().
|
private |
Definition at line 42 of file PDataBase.h.
Referenced by Print().
|
private |
Definition at line 38 of file PDataBase.h.
Referenced by Print().
|
private |
Definition at line 46 of file PDataBase.h.
Referenced by PDataBase(), and Print().
|
private |
Definition at line 44 of file PDataBase.h.
Referenced by Print().
|
private |
Definition at line 40 of file PDataBase.h.
Referenced by Print().
|
private |
Definition at line 48 of file PDataBase.h.
Referenced by PDataBase(), and Print().
|
private |
Definition at line 57 of file PDataBase.h.
Referenced by CheckEntry(), GetName(), and PDataBase().
|
private |
Definition at line 60 of file PDataBase.h.
Referenced by PDataBase().