CbmRoot
|
#include <PStaticData.h>
Public Member Functions | |
PStaticData () | |
void | SetFreezeOut (void) |
void | clearFreezeOut (void) |
bool | GetFreezeOut (void) |
int | AddAlias (const char *old_name, const char *new_name) |
int | GetAliasParent (const char *alias_name) |
int | GetAliasParent (int key) |
int | MakeDirectoryEntry (const char *name, const char *n, const char *l, const char *ename) |
Double_t * | GetBatchValue (const char *name, Int_t make_val=1) |
int | GetSecondaryKey (int key, int defkey) |
int | GetParticleID (const char *id, int warn=1) |
int | GetParticleIDByKey (int key) |
const char * | GetParticleName (const int &id) |
int | GetParticleKey (const int &id) |
int | GetParticleKey (const char *id) |
int | IsParticle (const int &id, const char *name) |
int | IsParticleValid (const int &id) |
int | IsParticleValid (const char *n) |
int | AddParticle (int pid, const char *name, double mass) |
void | PrintParticle (int pid) |
void | PrintParticleByKey (int pid) |
void | PrintParticle (const char *id) |
int | GetParticleKF (const int Id) |
int | GetParticleIDbyKF (const int kf) |
int | IsParticleMeson (const int &id) |
void | SetParticleMeson (const char *id, Int_t num=1) |
int | IsParticleHadron (const int &id) |
int | GetParticleBaryon (const int &id) |
void | SetParticleBaryon (const char *id, Int_t num=1) |
int | GetParticleLepton (const int &id) |
void | SetParticleLepton (const char *id, Int_t num=1) |
int | GetParticleCharge (const int &id) |
int | GetParticleCharge (const char *id) |
void | SetParticleCharge (const char *id, Int_t charge) |
int | GetParticleSpin (const int &id) |
int | GetParticleSpin (const char *id) |
void | SetParticleSpin (const char *id, Int_t spin) |
int | GetParticleIsospin (const int &id) |
int | GetParticleIsospin (const char *id) |
void | SetParticleIsospin (const char *id, Int_t isospin) |
int | GetParticleParity (const int &id) |
int | GetParticleParity (const char *id) |
void | SetParticleParity (const char *id, Int_t parity) |
double | GetParticleMass (const int &id) |
double | GetParticleMass (const char *id) |
double | GetParticleMassByKey (const int &id) |
void | SetParticleMass (Int_t id, Float_t mass) |
void | SetParticleMass (const char *id, Float_t mass) |
int | GetParticleNChannels (const int &id) |
int | GetParticleNChannels (const char *id) |
int | GetParticleNChannelsByKey (int id) |
void | SetParticleTotalWidth (Int_t id, Float_t wid) |
void | SetParticleTotalWidth (const char *id, Float_t wid) |
double | GetParticleTotalWidth (const int &id) |
double | GetParticleTotalWidth (const char *id) |
double | GetParticleTotalWidthByKey (const int &id) |
double | GetParticleEmin (const int &id) |
void | SetParticleEmin (const int &id, const double v) |
double | GetParticleLMass (const int &id) |
double | GetParticleLMass (const char *id) |
double | GetParticleUMass (const int &id) |
double | GetParticleUMass (const char *id) |
void | SetParticleLMass (const int &id, const double v) |
void | SetParticleLMass (const char *id, const double v) |
void | SetParticleUMass (const int &id, const double v) |
void | SetParticleUMass (const char *id, const double v) |
bool | NormParticleBR (Int_t id) |
bool | NormParticleBRbyKey (Int_t key) |
void | SetTotalNormalization (char *p, int flag=1) |
void | FreezeDecayBR (Int_t id, Int_t brn) |
bool | SetDecayBR (int didx, double br, int mode) |
bool | SetDecayBR (const char *parent, const char *daughters, double br, int mode) |
bool | SetDecayBRByKey (int key, double br, int mode) |
Double_t | GetDecayBR (Int_t id) |
Double_t | GetDecayPartialWidth (Int_t id) |
Double_t | GetDecayPartialWidthByKey (Int_t id) |
const char * | GetDecayName (Int_t id) |
const char * | GetDecayNameByKey (Int_t key) |
Int_t | IsDecayHadronic (Int_t didx) |
void | PrintDecayByKey (int key) |
int | GetDecayNProducts (const int &) |
int | GetDecayNProducts (const char *) |
int | GetDecayNProductsByKey (const int &key) |
int | GetDecayParent (const int &) |
int | GetDecayParentByKey (const int &) |
void | GetDecayMode (const int, int *n) |
void | GetDecayModeByKey (const int, int *n) |
int | GetDecayIdx (int *pid, int n) |
int | GetDecayKey (int *pid, int n) |
int | GetDecayKey (const int &id) |
int | GetDecayIdxByKey (int key) |
int | GetDecayBRFlag (int didx) |
void | SetDecayBRFlag (int didx, int flag) |
double | GetDecayEmin (const int &idx) |
void | SetDecayEmin (const int &idx, const double v) |
int | GetTWidx (const int &) |
int | GetPWidx (const int &) |
void | SetTWidx (const int &, const int &) |
void | SetPWidx (const int &, const int &) |
int | GetTDepth (const int &) |
void | SetTDepth (const int &, const int &) |
int | GetHDepth (const int &) |
void | SetHDepth (const int &, const int &) |
void | SetTWidthMesh (const int &, PMesh *mesh) |
PMesh * | GetTWidthMesh (const int &) |
void | SetPWidthMesh (const int &, PMesh *mesh) |
PMesh * | GetPWidthMesh (const int &) |
void | SetTF1 (const int &, TF1 *mesh) |
TF1 * | GetTF1 (const int &) |
Static Public Member Functions | |
static Bool_t | Tokenize (const char *options, const char *delimiter, char **array, int *size) |
static void | remove_spaces (char **partc) |
static void | dsort (Double_t *, int) |
static void | isort (int *i, int n) |
Private Member Functions | |
ClassDef (PStaticData, 0) | |
Private Attributes | |
Int_t * | i_result |
const char * | c_result |
Double_t * | d_result |
TObject * | t_result |
Int_t | pid_param |
Int_t | name_param |
Int_t | meson_param |
Int_t | baryon_param |
Int_t | lepton_param |
Int_t | charge_param |
Int_t | spin_param |
Int_t | ispin_param |
Int_t | parity_param |
Int_t | mass_param |
Int_t | width_param |
Int_t | pkf_param |
Int_t | didx_param |
Int_t | widx_param |
Int_t | mesh_param |
Int_t | tf1_param |
Int_t | ethreshold_param |
Int_t | lmass_param |
Int_t | umass_param |
Int_t | tdepth_param |
Int_t | hdepth_param |
Int_t | br_param |
Int_t | brorig_param |
Int_t | count_param |
Int_t | d1_param |
Int_t | d2_param |
Int_t | d3_param |
Int_t | pnmodes_param |
Int_t | ppid_param |
Int_t | d4_param |
Int_t | d5_param |
Int_t | d6_param |
Int_t | d7_param |
Int_t | brflag_param |
Int_t | nalias_param |
Int_t | lalias_param |
Int_t | defkey_param |
Bool_t | freeze |
Double_t * | system_alloc_verbosity |
Friends | |
void | listParticle (int id=-1) |
void | listParticle (const char *id) |
void | listModes (int id=-1) |
void | listModes (const char *id) |
Definition at line 37 of file PStaticData.h.
PStaticData::PStaticData | ( | ) |
Definition at line 38 of file PStaticData.cxx.
References AddAlias(), baryon_param, br_param, brflag_param, brorig_param, c_result, charge_param, count_param, d1_param, d2_param, d3_param, d4_param, d5_param, d6_param, d7_param, d_result, defkey_param, didx_param, Error, ethreshold_param, freeze, GetBatchValue(), PDataBase::GetEntry(), PDataBase::GetParamDouble(), PDataBase::GetParamInt(), PDataBase::GetParamString(), PDataBase::GetParamTObj(), hdepth_param, i_result, ispin_param, lalias_param, lepton_param, lmass_param, makeDataBase(), PDataBase::MakeParamInt(), makeStdData(), mass_param, mesh_param, meson_param, nalias_param, name_param, NormParticleBRbyKey(), parity_param, pid_param, pkf_param, pnmodes_param, ppid_param, PDataBase::SetParamDouble(), spin_param, system_alloc_verbosity, t_result, tdepth_param, tf1_param, umass_param, width_param, and widx_param.
int PStaticData::AddAlias | ( | const char * | old_name, |
const char * | new_name ) |
Definition at line 305 of file PStaticData.cxx.
References PDataBase::AddListEntry(), and makeDataBase().
Referenced by PStaticData().
int PStaticData::AddParticle | ( | int | pid, |
const char * | name, | ||
double | mass ) |
Definition at line 374 of file PStaticData.cxx.
References PDataBase::AddListEntry(), clearFreezeOut(), PDataBase::GetEntry(), PDataBase::GetEntryInt(), makeDataBase(), PRINT_AUTO_ALLOC, PDataBase::SetParamDouble(), PDataBase::SetParamInt(), and system_alloc_verbosity.
|
private |
|
inline |
Definition at line 45 of file PStaticData.h.
References freeze.
Referenced by AddParticle(), SetDecayBR(), and SetDecayBRByKey().
|
static |
void PStaticData::FreezeDecayBR | ( | Int_t | id, |
Int_t | brn ) |
Definition at line 1206 of file PStaticData.cxx.
int PStaticData::GetAliasParent | ( | const char * | alias_name | ) |
Definition at line 319 of file PStaticData.cxx.
References PDataBase::GetEntry(), lalias_param, makeDataBase(), and nalias_param.
Referenced by GetParticleID(), and GetSecondaryKey().
int PStaticData::GetAliasParent | ( | int | key | ) |
Definition at line 333 of file PStaticData.cxx.
References lalias_param, makeDataBase(), and nalias_param.
Double_t * PStaticData::GetBatchValue | ( | const char * | name, |
Int_t | make_val = 1 ) |
Definition at line 198 of file PStaticData.cxx.
References PDataBase::GetParamDouble(), LBATCH_NAME, makeDataBase(), MakeDirectoryEntry(), PDataBase::MakeParamDouble(), NBATCH_NAME, and PDataBase::SetParamDouble().
Referenced by PStaticData().
Double_t PStaticData::GetDecayBR | ( | Int_t | id | ) |
Definition at line 1047 of file PStaticData.cxx.
References br_param, d_result, didx_param, and makeDataBase().
Referenced by GetDecayPartialWidth(), GetDecayPartialWidthByKey(), SetDecayBR(), and SetDecayBRByKey().
int PStaticData::GetDecayBRFlag | ( | int | didx | ) |
Definition at line 903 of file PStaticData.cxx.
References brflag_param, didx_param, i_result, and makeDataBase().
Double_t PStaticData::GetDecayEmin | ( | const int & | idx | ) |
Definition at line 894 of file PStaticData.cxx.
References d_result, didx_param, ethreshold_param, and makeDataBase().
int PStaticData::GetDecayIdx | ( | int * | pid, |
int | n ) |
Definition at line 1493 of file PStaticData.cxx.
References count_param, GetDecayIdxByKey(), GetDecayModeByKey(), PDataBase::GetEntryInt(), isort(), IsParticleValid(), makeDataBase(), and pid_param.
int PStaticData::GetDecayIdxByKey | ( | int | key | ) |
Definition at line 1484 of file PStaticData.cxx.
References didx_param, makeDataBase(), and pos.
Referenced by GetDecayIdx(), and SetDecayBRByKey().
int PStaticData::GetDecayKey | ( | const int & | id | ) |
Definition at line 263 of file PStaticData.cxx.
References didx_param, and makeDataBase().
int PStaticData::GetDecayKey | ( | int * | pid, |
int | n ) |
Definition at line 1539 of file PStaticData.cxx.
References count_param, GetDecayModeByKey(), PDataBase::GetEntryInt(), isort(), IsParticleValid(), makeDataBase(), and pid_param.
Referenced by SetDecayBR(), SetDecayBR(), and SetDecayBRFlag().
void PStaticData::GetDecayMode | ( | const int | idx, |
int * | n ) |
Definition at line 1587 of file PStaticData.cxx.
References d1_param, d2_param, d3_param, d4_param, d5_param, d6_param, d7_param, didx_param, makeDataBase(), and pid_param.
Referenced by IsDecayHadronic().
void PStaticData::GetDecayModeByKey | ( | const int | idx, |
int * | n ) |
Definition at line 1659 of file PStaticData.cxx.
References d1_param, d2_param, d3_param, d4_param, d5_param, d6_param, d7_param, makeDataBase(), and pid_param.
Referenced by GetDecayIdx(), and GetDecayKey().
const char * PStaticData::GetDecayName | ( | Int_t | id | ) |
Definition at line 744 of file PStaticData.cxx.
References c_result, didx_param, makeDataBase(), and name_param.
const char * PStaticData::GetDecayNameByKey | ( | Int_t | key | ) |
Definition at line 750 of file PStaticData.cxx.
References c_result, makeDataBase(), and name_param.
int PStaticData::GetDecayNProducts | ( | const char * | id | ) |
Definition at line 1453 of file PStaticData.cxx.
References i_result, and makeDataBase().
int PStaticData::GetDecayNProducts | ( | const int & | id | ) |
Definition at line 1440 of file PStaticData.cxx.
References d1_param, d2_param, d3_param, d4_param, d5_param, d6_param, d7_param, didx_param, i_result, and makeDataBase().
int PStaticData::GetDecayNProductsByKey | ( | const int & | key | ) |
Definition at line 1427 of file PStaticData.cxx.
References d1_param, d2_param, d3_param, d4_param, d5_param, d6_param, d7_param, i_result, and makeDataBase().
Referenced by PrintDecayByKey().
int PStaticData::GetDecayParent | ( | const int & | id | ) |
Definition at line 1466 of file PStaticData.cxx.
References didx_param, i_result, makeDataBase(), and ppid_param.
Referenced by GetDecayPartialWidth().
int PStaticData::GetDecayParentByKey | ( | const int & | id | ) |
Definition at line 1475 of file PStaticData.cxx.
References i_result, makeDataBase(), and ppid_param.
Referenced by GetDecayPartialWidthByKey(), SetDecayBR(), and SetDecayBRByKey().
Double_t PStaticData::GetDecayPartialWidth | ( | Int_t | id | ) |
Definition at line 1055 of file PStaticData.cxx.
References GetDecayBR(), GetDecayParent(), and GetParticleTotalWidth().
Double_t PStaticData::GetDecayPartialWidthByKey | ( | Int_t | id | ) |
Definition at line 1061 of file PStaticData.cxx.
References GetDecayBR(), GetDecayParentByKey(), and GetParticleTotalWidth().
|
inline |
Definition at line 51 of file PStaticData.h.
References freeze.
int PStaticData::GetHDepth | ( | const int & | id | ) |
Definition at line 1030 of file PStaticData.cxx.
References hdepth_param, i_result, makeDataBase(), and pid_param.
int PStaticData::GetParticleBaryon | ( | const int & | id | ) |
Definition at line 529 of file PStaticData.cxx.
References baryon_param, i_result, makeDataBase(), and pid_param.
Referenced by IsParticleHadron().
int PStaticData::GetParticleCharge | ( | const char * | id | ) |
Definition at line 624 of file PStaticData.cxx.
References charge_param, GetParticleID(), i_result, makeDataBase(), and pid_param.
int PStaticData::GetParticleCharge | ( | const int & | id | ) |
Definition at line 614 of file PStaticData.cxx.
References charge_param, i_result, makeDataBase(), and pid_param.
Double_t PStaticData::GetParticleEmin | ( | const int & | id | ) |
Definition at line 958 of file PStaticData.cxx.
References d_result, ethreshold_param, makeDataBase(), and pid_param.
int PStaticData::GetParticleID | ( | const char * | id, |
int | warn = 1 ) |
Definition at line 220 of file PStaticData.cxx.
References GetAliasParent(), GetParticleIDByKey(), i_result, makeDataBase(), and pid_param.
Referenced by GetParticleCharge(), GetParticleIsospin(), GetParticleKey(), GetParticleLMass(), GetParticleMass(), GetParticleParity(), GetParticleSpin(), GetParticleTotalWidth(), GetParticleUMass(), IsParticleValid(), PrintParticle(), SetDecayBR(), SetParticleBaryon(), SetParticleCharge(), SetParticleIsospin(), SetParticleLepton(), SetParticleLMass(), SetParticleMass(), SetParticleMeson(), SetParticleParity(), SetParticleSpin(), SetParticleTotalWidth(), and SetParticleUMass().
int PStaticData::GetParticleIDByKey | ( | int | key | ) |
Definition at line 247 of file PStaticData.cxx.
References i_result, makeDataBase(), and pid_param.
Referenced by GetParticleID(), and SetDecayBR().
int PStaticData::GetParticleIDbyKF | ( | const int | kf | ) |
Definition at line 495 of file PStaticData.cxx.
References makeDataBase(), pid_param, and pkf_param.
int PStaticData::GetParticleIsospin | ( | const char * | id | ) |
Definition at line 664 of file PStaticData.cxx.
References GetParticleID(), i_result, ispin_param, makeDataBase(), and pid_param.
int PStaticData::GetParticleIsospin | ( | const int & | id | ) |
Definition at line 654 of file PStaticData.cxx.
References i_result, ispin_param, makeDataBase(), and pid_param.
|
inline |
Definition at line 70 of file PStaticData.h.
References GetParticleID(), and GetParticleKey().
Referenced by GetParticleKey().
int PStaticData::GetParticleKey | ( | const int & | id | ) |
Definition at line 255 of file PStaticData.cxx.
Referenced by SetDecayBR(), SetDecayBRByKey(), and SetTotalNormalization().
int PStaticData::GetParticleKF | ( | const int | Id | ) |
Definition at line 484 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and pkf_param.
int PStaticData::GetParticleLepton | ( | const int & | id | ) |
Definition at line 604 of file PStaticData.cxx.
References i_result, lepton_param, makeDataBase(), and pid_param.
|
inline |
Definition at line 132 of file PStaticData.h.
References GetParticleID(), and GetParticleLMass().
Referenced by GetParticleLMass().
Double_t PStaticData::GetParticleLMass | ( | const int & | id | ) |
Definition at line 975 of file PStaticData.cxx.
References d_result, lmass_param, makeDataBase(), and pid_param.
double PStaticData::GetParticleMass | ( | const char * | id | ) |
Definition at line 705 of file PStaticData.cxx.
References d_result, GetParticleID(), makeDataBase(), mass_param, and pid_param.
double PStaticData::GetParticleMass | ( | const int & | id | ) |
Definition at line 694 of file PStaticData.cxx.
References d_result, makeDataBase(), mass_param, and pid_param.
Referenced by SetParticleTotalWidth().
double PStaticData::GetParticleMassByKey | ( | const int & | id | ) |
Definition at line 715 of file PStaticData.cxx.
References d_result, makeDataBase(), and mass_param.
const char * PStaticData::GetParticleName | ( | const int & | id | ) |
Definition at line 235 of file PStaticData.cxx.
References c_result, PDataBase::GetParamString(), makeDataBase(), name_param, and pid_param.
Referenced by IsParticle(), SetParticleLMass(), and SetParticleUMass().
int PStaticData::GetParticleNChannels | ( | const char * | id | ) |
Definition at line 1230 of file PStaticData.cxx.
References i_result, and makeDataBase().
int PStaticData::GetParticleNChannels | ( | const int & | id | ) |
Definition at line 1220 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and pnmodes_param.
int PStaticData::GetParticleNChannelsByKey | ( | int | id | ) |
Definition at line 1237 of file PStaticData.cxx.
References i_result, and makeDataBase().
Referenced by NormParticleBRbyKey(), and PrintParticleByKey().
int PStaticData::GetParticleParity | ( | const char * | id | ) |
Definition at line 684 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), parity_param, and pid_param.
int PStaticData::GetParticleParity | ( | const int & | id | ) |
Definition at line 674 of file PStaticData.cxx.
References i_result, makeDataBase(), parity_param, and pid_param.
int PStaticData::GetParticleSpin | ( | const char * | id | ) |
Definition at line 644 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), pid_param, and spin_param.
int PStaticData::GetParticleSpin | ( | const int & | id | ) |
Definition at line 634 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and spin_param.
|
inline |
Definition at line 124 of file PStaticData.h.
References GetParticleID(), and GetParticleTotalWidth().
Referenced by GetParticleTotalWidth().
double PStaticData::GetParticleTotalWidth | ( | const int & | id | ) |
Definition at line 1719 of file PStaticData.cxx.
References d_result, makeDataBase(), pid_param, and width_param.
Referenced by GetDecayPartialWidth(), and GetDecayPartialWidthByKey().
double PStaticData::GetParticleTotalWidthByKey | ( | const int & | id | ) |
Definition at line 1729 of file PStaticData.cxx.
References d_result, makeDataBase(), and width_param.
Referenced by NormParticleBRbyKey().
|
inline |
Definition at line 134 of file PStaticData.h.
References GetParticleID(), and GetParticleUMass().
Referenced by GetParticleUMass().
Double_t PStaticData::GetParticleUMass | ( | const int & | id | ) |
Definition at line 994 of file PStaticData.cxx.
References d_result, makeDataBase(), pid_param, and umass_param.
PMesh * PStaticData::GetPWidthMesh | ( | const int & | id | ) |
Definition at line 865 of file PStaticData.cxx.
References didx_param, makeDataBase(), mesh_param, and t_result.
int PStaticData::GetPWidx | ( | const int & | id | ) |
Definition at line 800 of file PStaticData.cxx.
References didx_param, i_result, makeDataBase(), and widx_param.
int PStaticData::GetSecondaryKey | ( | int | key, |
int | defkey ) |
Definition at line 347 of file PStaticData.cxx.
References defkey_param, GetAliasParent(), lalias_param, makeDataBase(), and nalias_param.
int PStaticData::GetTDepth | ( | const int & | id | ) |
Definition at line 1013 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and tdepth_param.
TF1 * PStaticData::GetTF1 | ( | const int & | id | ) |
Definition at line 884 of file PStaticData.cxx.
References makeDataBase(), pid_param, t_result, and tf1_param.
PMesh * PStaticData::GetTWidthMesh | ( | const int & | id | ) |
Definition at line 847 of file PStaticData.cxx.
References makeDataBase(), mesh_param, pid_param, and t_result.
int PStaticData::GetTWidx | ( | const int & | id | ) |
Definition at line 786 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and widx_param.
int PStaticData::IsDecayHadronic | ( | Int_t | didx | ) |
Definition at line 1244 of file PStaticData.cxx.
References GetDecayMode(), and IsParticleHadron().
|
inlinestatic |
Definition at line 230 of file PStaticData.h.
Referenced by GetDecayIdx(), and GetDecayKey().
int PStaticData::IsParticle | ( | const int & | id, |
const char * | name ) |
Definition at line 271 of file PStaticData.cxx.
References GetParticleName().
int PStaticData::IsParticleHadron | ( | const int & | id | ) |
Definition at line 522 of file PStaticData.cxx.
References GetParticleBaryon(), and IsParticleMeson().
Referenced by IsDecayHadronic().
int PStaticData::IsParticleMeson | ( | const int & | id | ) |
Definition at line 511 of file PStaticData.cxx.
References i_result, makeDataBase(), meson_param, and pid_param.
Referenced by IsParticleHadron().
int PStaticData::IsParticleValid | ( | const char * | n | ) |
Definition at line 294 of file PStaticData.cxx.
References GetParticleID(), and IsParticleValid().
int PStaticData::IsParticleValid | ( | const int & | id | ) |
Definition at line 278 of file PStaticData.cxx.
References makeDataBase(), and pid_param.
Referenced by GetDecayIdx(), GetDecayKey(), and IsParticleValid().
int PStaticData::MakeDirectoryEntry | ( | const char * | name, |
const char * | n, | ||
const char * | l, | ||
const char * | ename ) |
Definition at line 170 of file PStaticData.cxx.
References PDataBase::AddEntry(), PDataBase::AddListEntry(), PDataBase::GetEntry(), makeDataBase(), and PDataBase::MakeParamInt().
Referenced by GetBatchValue().
bool PStaticData::NormParticleBR | ( | Int_t | id | ) |
Definition at line 1170 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), makeDataBase(), NormParticleBRbyKey(), and pid_param.
bool PStaticData::NormParticleBRbyKey | ( | Int_t | key | ) |
Definition at line 1178 of file PStaticData.cxx.
References GetParticleNChannelsByKey(), GetParticleTotalWidthByKey(), and makeDataBase().
Referenced by NormParticleBR(), PStaticData(), SetDecayBR(), and SetDecayBRByKey().
void PStaticData::PrintDecayByKey | ( | int | key | ) |
TODO: (VF) The first method is commented out in the implementation file for unknown reasons. The second and third method reference the first one. Seems not to be used by us (CBM): int AddDecay(int didx, const char * name, const char *parent, const char * daughters , double br); int AddDecay(const char * name, const char *parent, const char * daughters , double br) { return AddDecay(-1, name, parent, daughters , br); }; int AddDecay(int * ipid, int n);
References commented method int PStaticData::AddDecay(int * ipid, int n) { For internal use, e.g. PChannel
TString *decay_string= new TString(""); TString *decay_string2=new TString(makeStaticData()->GetParticleName(ipid[0])); decay_string2->Append(" --> ");
first I have to check that my decay_string is big enough for (int i=1;i<=n;i++) { if (ipid[i]>1000) decay_string2->Append("("); decay_string->Append(makeStaticData()->GetParticleName(ipid[i])); decay_string2->Append(makeStaticData()->GetParticleName(ipid[i])); if (ipid[i]>1000) decay_string2->Append(")"); if (i!=n) decay_string->Append(" , ");
if (i!=n) decay_string2->Append(" + ");
} if (makeStaticData()->AddDecay(-1, (const char*) decay_string2->Data(), makeStaticData()->GetParticleName(ipid[0]), (const char*) decay_string->Data() , 1.0 )) {
Info("AddDecay","(%s) Decay of added: %s", PRINT_AUTO_ALLOC,decay_string->Data()); } else { Warning("AddDecay","Add Decay failed"); }
return makeStaticData()->GetDecayKey(ipid, n);
}
Definition at line 1412 of file PStaticData.cxx.
References GetDecayNProductsByKey(), PDataBase::ListEntries(), and makeDataBase().
Referenced by PrintParticleByKey().
|
inline |
Definition at line 79 of file PStaticData.h.
References GetParticleID(), and PrintParticle().
Referenced by PrintParticle().
void PStaticData::PrintParticle | ( | int | pid | ) |
Definition at line 451 of file PStaticData.cxx.
References makeDataBase(), and PrintParticleByKey().
void PStaticData::PrintParticleByKey | ( | int | pid | ) |
Definition at line 454 of file PStaticData.cxx.
References PDataBase::GetName(), GetParticleNChannelsByKey(), PDataBase::ListEntries(), makeDataBase(), nalias_param, and PrintDecayByKey().
Referenced by PrintParticle().
|
static |
Definition at line 1788 of file PStaticData.cxx.
Referenced by Tokenize().
bool PStaticData::SetDecayBR | ( | const char * | parent, |
const char * | daughters, | ||
double | br, | ||
int | mode ) |
Definition at line 1103 of file PStaticData.cxx.
References GetDecayKey(), PDataBase::GetEntry(), GetParticleID(), GetParticleIDByKey(), makeDataBase(), SetDecayBRByKey(), and Tokenize().
bool PStaticData::SetDecayBR | ( | int | didx, |
double | br, | ||
int | mode ) |
Definition at line 1068 of file PStaticData.cxx.
References clearFreezeOut(), GetDecayBR(), GetDecayKey(), GetDecayParentByKey(), GetParticleKey(), makeDataBase(), and NormParticleBRbyKey().
bool PStaticData::SetDecayBRByKey | ( | int | key, |
double | br, | ||
int | mode ) |
Definition at line 1087 of file PStaticData.cxx.
References clearFreezeOut(), GetDecayBR(), GetDecayIdxByKey(), GetDecayParentByKey(), GetParticleKey(), makeDataBase(), and NormParticleBRbyKey().
Referenced by SetDecayBR().
void PStaticData::SetDecayBRFlag | ( | int | didx, |
int | flag ) |
Definition at line 909 of file PStaticData.cxx.
References brflag_param, didx_param, GetDecayKey(), i_result, and makeDataBase().
void PStaticData::SetDecayEmin | ( | const int & | idx, |
const double | v ) |
Definition at line 950 of file PStaticData.cxx.
References d_result, didx_param, ethreshold_param, makeDataBase(), and v.
|
inline |
Definition at line 43 of file PStaticData.h.
References freeze.
void PStaticData::SetHDepth | ( | const int & | id, |
const int & | depth ) |
Definition at line 1039 of file PStaticData.cxx.
References hdepth_param, i_result, makeDataBase(), and pid_param.
void PStaticData::SetParticleBaryon | ( | const char * | id, |
Int_t | num = 1 ) |
Definition at line 539 of file PStaticData.cxx.
References baryon_param, GetParticleID(), i_result, makeDataBase(), pid_param, and PDataBase::SetParamInt().
void PStaticData::SetParticleCharge | ( | const char * | id, |
Int_t | charge ) |
Definition at line 568 of file PStaticData.cxx.
References charge_param, GetParticleID(), i_result, makeDataBase(), pid_param, and PDataBase::SetParamInt().
void PStaticData::SetParticleEmin | ( | const int & | id, |
const double | v ) |
Definition at line 967 of file PStaticData.cxx.
References d_result, ethreshold_param, makeDataBase(), pid_param, and v.
Referenced by SetParticleTotalWidth().
void PStaticData::SetParticleIsospin | ( | const char * | id, |
Int_t | isospin ) |
Definition at line 586 of file PStaticData.cxx.
References GetParticleID(), i_result, ispin_param, makeDataBase(), pid_param, and PDataBase::SetParamInt().
void PStaticData::SetParticleLepton | ( | const char * | id, |
Int_t | num = 1 ) |
Definition at line 559 of file PStaticData.cxx.
References GetParticleID(), i_result, lepton_param, makeDataBase(), pid_param, and PDataBase::SetParamInt().
void PStaticData::SetParticleLMass | ( | const char * | id, |
const double | v ) |
Definition at line 984 of file PStaticData.cxx.
References d_result, GetParticleID(), lmass_param, makeDataBase(), pid_param, PDataBase::SetParamDouble(), and v.
|
inline |
Definition at line 135 of file PStaticData.h.
References GetParticleName(), SetParticleLMass(), and v.
Referenced by SetParticleLMass().
void PStaticData::SetParticleMass | ( | const char * | id, |
Float_t | mass ) |
Definition at line 734 of file PStaticData.cxx.
References d_result, GetParticleID(), makeDataBase(), mass_param, and pid_param.
void PStaticData::SetParticleMass | ( | Int_t | id, |
Float_t | mass ) |
Definition at line 725 of file PStaticData.cxx.
References d_result, makeDataBase(), mass_param, and pid_param.
void PStaticData::SetParticleMeson | ( | const char * | id, |
Int_t | num = 1 ) |
Definition at line 549 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), meson_param, pid_param, and PDataBase::SetParamInt().
void PStaticData::SetParticleParity | ( | const char * | id, |
Int_t | parity ) |
Definition at line 595 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), parity_param, pid_param, and PDataBase::SetParamInt().
void PStaticData::SetParticleSpin | ( | const char * | id, |
Int_t | spin ) |
Definition at line 577 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), pid_param, PDataBase::SetParamInt(), and spin_param.
void PStaticData::SetParticleTotalWidth | ( | const char * | id, |
Float_t | wid ) |
Definition at line 756 of file PStaticData.cxx.
References d_result, GetParticleID(), GetParticleMass(), makeDataBase(), pid_param, SetParticleEmin(), and width_param.
void PStaticData::SetParticleTotalWidth | ( | Int_t | id, |
Float_t | wid ) |
Definition at line 772 of file PStaticData.cxx.
References d_result, makeDataBase(), pid_param, and width_param.
void PStaticData::SetParticleUMass | ( | const char * | id, |
const double | v ) |
Definition at line 1003 of file PStaticData.cxx.
References d_result, GetParticleID(), makeDataBase(), pid_param, PDataBase::SetParamDouble(), umass_param, and v.
|
inline |
Definition at line 142 of file PStaticData.h.
References GetParticleName(), SetParticleUMass(), and v.
Referenced by SetParticleUMass().
void PStaticData::SetPWidthMesh | ( | const int & | id, |
PMesh * | mesh ) |
Definition at line 856 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), and makeDataBase().
void PStaticData::SetPWidx | ( | const int & | id, |
const int & | v ) |
Definition at line 825 of file PStaticData.cxx.
References didx_param, i_result, makeDataBase(), v, and widx_param.
void PStaticData::SetTDepth | ( | const int & | id, |
const int & | depth ) |
Definition at line 1022 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and tdepth_param.
void PStaticData::SetTF1 | ( | const int & | id, |
TF1 * | mesh ) |
Definition at line 875 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), and makeDataBase().
void PStaticData::SetTotalNormalization | ( | char * | p, |
int | flag = 1 ) |
Definition at line 925 of file PStaticData.cxx.
References brflag_param, GetParticleKey(), i_result, and makeDataBase().
void PStaticData::SetTWidthMesh | ( | const int & | id, |
PMesh * | mesh ) |
Definition at line 837 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), and makeDataBase().
void PStaticData::SetTWidx | ( | const int & | id, |
const int & | v ) |
Definition at line 813 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, v, and widx_param.
|
static |
Definition at line 1754 of file PStaticData.cxx.
References pos, remove_spaces(), and size().
Referenced by SetDecayBR().
|
friend |
Definition at line 262 of file PStaticData.h.
|
friend |
Definition at line 1751 of file PStaticData.cxx.
|
friend |
Definition at line 256 of file PStaticData.h.
|
friend |
Definition at line 1740 of file PStaticData.cxx.
|
private |
Definition at line 273 of file PStaticData.h.
Referenced by GetParticleBaryon(), PStaticData(), and SetParticleBaryon().
|
private |
Definition at line 278 of file PStaticData.h.
Referenced by GetDecayBR(), and PStaticData().
|
private |
Definition at line 281 of file PStaticData.h.
Referenced by GetDecayBRFlag(), PStaticData(), SetDecayBRFlag(), and SetTotalNormalization().
|
private |
Definition at line 278 of file PStaticData.h.
Referenced by PStaticData().
|
private |
Definition at line 268 of file PStaticData.h.
Referenced by GetDecayName(), GetDecayNameByKey(), GetParticleName(), and PStaticData().
|
private |
Definition at line 274 of file PStaticData.h.
Referenced by GetParticleCharge(), GetParticleCharge(), PStaticData(), and SetParticleCharge().
|
private |
Definition at line 278 of file PStaticData.h.
Referenced by GetDecayIdx(), GetDecayKey(), and PStaticData().
|
private |
Definition at line 279 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 279 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 279 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 280 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 280 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 280 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 280 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 269 of file PStaticData.h.
Referenced by GetDecayBR(), GetDecayEmin(), GetParticleEmin(), GetParticleLMass(), GetParticleMass(), GetParticleMass(), GetParticleMassByKey(), GetParticleTotalWidth(), GetParticleTotalWidthByKey(), GetParticleUMass(), PStaticData(), SetDecayEmin(), SetParticleEmin(), SetParticleLMass(), SetParticleMass(), SetParticleMass(), SetParticleTotalWidth(), SetParticleTotalWidth(), and SetParticleUMass().
|
private |
Definition at line 282 of file PStaticData.h.
Referenced by GetSecondaryKey(), and PStaticData().
|
private |
Definition at line 276 of file PStaticData.h.
Referenced by GetDecayBR(), GetDecayBRFlag(), GetDecayEmin(), GetDecayIdxByKey(), GetDecayKey(), GetDecayMode(), GetDecayName(), GetDecayNProducts(), GetDecayParent(), GetPWidthMesh(), GetPWidx(), PStaticData(), SetDecayBRFlag(), SetDecayEmin(), and SetPWidx().
|
private |
Definition at line 277 of file PStaticData.h.
Referenced by GetDecayEmin(), GetParticleEmin(), PStaticData(), SetDecayEmin(), and SetParticleEmin().
|
private |
Definition at line 284 of file PStaticData.h.
Referenced by clearFreezeOut(), GetFreezeOut(), PStaticData(), and SetFreezeOut().
|
private |
Definition at line 278 of file PStaticData.h.
Referenced by GetHDepth(), PStaticData(), and SetHDepth().
|
private |
Definition at line 267 of file PStaticData.h.
Referenced by GetDecayBRFlag(), GetDecayNProducts(), GetDecayNProducts(), GetDecayNProductsByKey(), GetDecayParent(), GetDecayParentByKey(), GetHDepth(), GetParticleBaryon(), GetParticleCharge(), GetParticleCharge(), GetParticleID(), GetParticleIDByKey(), GetParticleIsospin(), GetParticleIsospin(), GetParticleKF(), GetParticleLepton(), GetParticleNChannels(), GetParticleNChannels(), GetParticleNChannelsByKey(), GetParticleParity(), GetParticleParity(), GetParticleSpin(), GetParticleSpin(), GetPWidx(), GetTDepth(), GetTWidx(), IsParticleMeson(), PStaticData(), SetDecayBRFlag(), SetHDepth(), SetParticleBaryon(), SetParticleCharge(), SetParticleIsospin(), SetParticleLepton(), SetParticleMeson(), SetParticleParity(), SetParticleSpin(), SetPWidx(), SetTDepth(), SetTotalNormalization(), and SetTWidx().
|
private |
Definition at line 274 of file PStaticData.h.
Referenced by GetParticleIsospin(), GetParticleIsospin(), PStaticData(), and SetParticleIsospin().
|
private |
Definition at line 282 of file PStaticData.h.
Referenced by GetAliasParent(), GetAliasParent(), GetSecondaryKey(), and PStaticData().
|
private |
Definition at line 273 of file PStaticData.h.
Referenced by GetParticleLepton(), PStaticData(), and SetParticleLepton().
|
private |
Definition at line 277 of file PStaticData.h.
Referenced by GetParticleLMass(), PStaticData(), and SetParticleLMass().
|
private |
Definition at line 275 of file PStaticData.h.
Referenced by GetParticleMass(), GetParticleMass(), GetParticleMassByKey(), PStaticData(), SetParticleMass(), and SetParticleMass().
|
private |
Definition at line 277 of file PStaticData.h.
Referenced by GetPWidthMesh(), GetTWidthMesh(), and PStaticData().
|
private |
Definition at line 273 of file PStaticData.h.
Referenced by IsParticleMeson(), PStaticData(), and SetParticleMeson().
|
private |
Definition at line 282 of file PStaticData.h.
Referenced by GetAliasParent(), GetAliasParent(), GetSecondaryKey(), PrintParticleByKey(), and PStaticData().
|
private |
Definition at line 272 of file PStaticData.h.
Referenced by GetDecayName(), GetDecayNameByKey(), GetParticleName(), and PStaticData().
|
private |
Definition at line 275 of file PStaticData.h.
Referenced by GetParticleParity(), GetParticleParity(), PStaticData(), and SetParticleParity().
|
private |
Definition at line 271 of file PStaticData.h.
Referenced by GetDecayIdx(), GetDecayKey(), GetDecayMode(), GetDecayModeByKey(), GetHDepth(), GetParticleBaryon(), GetParticleCharge(), GetParticleCharge(), GetParticleEmin(), GetParticleID(), GetParticleIDByKey(), GetParticleIDbyKF(), GetParticleIsospin(), GetParticleIsospin(), GetParticleKF(), GetParticleLepton(), GetParticleLMass(), GetParticleMass(), GetParticleMass(), GetParticleName(), GetParticleNChannels(), GetParticleParity(), GetParticleParity(), GetParticleSpin(), GetParticleSpin(), GetParticleTotalWidth(), GetParticleUMass(), GetTDepth(), GetTF1(), GetTWidthMesh(), GetTWidx(), IsParticleMeson(), IsParticleValid(), NormParticleBR(), PStaticData(), SetHDepth(), SetParticleBaryon(), SetParticleCharge(), SetParticleEmin(), SetParticleIsospin(), SetParticleLepton(), SetParticleLMass(), SetParticleMass(), SetParticleMass(), SetParticleMeson(), SetParticleParity(), SetParticleSpin(), SetParticleTotalWidth(), SetParticleTotalWidth(), SetParticleUMass(), SetTDepth(), and SetTWidx().
|
private |
Definition at line 276 of file PStaticData.h.
Referenced by GetParticleIDbyKF(), GetParticleKF(), and PStaticData().
|
private |
Definition at line 279 of file PStaticData.h.
Referenced by GetParticleNChannels(), and PStaticData().
|
private |
Definition at line 279 of file PStaticData.h.
Referenced by GetDecayParent(), GetDecayParentByKey(), and PStaticData().
|
private |
Definition at line 274 of file PStaticData.h.
Referenced by GetParticleSpin(), GetParticleSpin(), PStaticData(), and SetParticleSpin().
|
private |
Definition at line 286 of file PStaticData.h.
Referenced by AddParticle(), and PStaticData().
|
private |
Definition at line 270 of file PStaticData.h.
Referenced by GetPWidthMesh(), GetTF1(), GetTWidthMesh(), and PStaticData().
|
private |
Definition at line 278 of file PStaticData.h.
Referenced by GetTDepth(), PStaticData(), and SetTDepth().
|
private |
Definition at line 277 of file PStaticData.h.
Referenced by GetTF1(), and PStaticData().
|
private |
Definition at line 277 of file PStaticData.h.
Referenced by GetParticleUMass(), PStaticData(), and SetParticleUMass().
|
private |
Definition at line 275 of file PStaticData.h.
Referenced by GetParticleTotalWidth(), GetParticleTotalWidthByKey(), PStaticData(), SetParticleTotalWidth(), and SetParticleTotalWidth().
|
private |
Definition at line 277 of file PStaticData.h.
Referenced by GetPWidx(), GetTWidx(), PStaticData(), SetPWidx(), and SetTWidx().