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) |
void | listParticle (const char *id) |
void | listModes (int id) |
void | listModes (const char *id) |
Definition at line 32 of file PStaticData.h.
PStaticData::PStaticData | ( | ) |
Definition at line 31 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, 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 298 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 364 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 40 of file PStaticData.h.
Referenced by AddParticle(), SetDecayBR(), and SetDecayBRByKey().
|
static |
Definition at line 1786 of file PStaticData.cxx.
void PStaticData::FreezeDecayBR | ( | Int_t | id, |
Int_t | brn | ||
) |
Definition at line 1169 of file PStaticData.cxx.
int PStaticData::GetAliasParent | ( | const char * | alias_name | ) |
Definition at line 311 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 324 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 194 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 1010 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 875 of file PStaticData.cxx.
References brflag_param, didx_param, i_result, and makeDataBase().
Double_t PStaticData::GetDecayEmin | ( | const int & | idx | ) |
Definition at line 866 of file PStaticData.cxx.
References d_result, didx_param, ethreshold_param, and makeDataBase().
int PStaticData::GetDecayIdx | ( | int * | pid, |
int | n | ||
) |
Definition at line 1464 of file PStaticData.cxx.
References count_param, GetDecayIdxByKey(), GetDecayModeByKey(), PDataBase::GetEntryInt(), i, isort(), IsParticleValid(), makeDataBase(), and pid_param.
int PStaticData::GetDecayIdxByKey | ( | int | key | ) |
Definition at line 1456 of file PStaticData.cxx.
References didx_param, makeDataBase(), and pos.
Referenced by GetDecayIdx(), and SetDecayBRByKey().
int PStaticData::GetDecayKey | ( | const int & | id | ) |
Definition at line 258 of file PStaticData.cxx.
References didx_param, and makeDataBase().
int PStaticData::GetDecayKey | ( | int * | pid, |
int | n | ||
) |
Definition at line 1510 of file PStaticData.cxx.
References count_param, GetDecayModeByKey(), PDataBase::GetEntryInt(), i, isort(), IsParticleValid(), makeDataBase(), and pid_param.
Referenced by SetDecayBR(), and SetDecayBRFlag().
void PStaticData::GetDecayMode | ( | const int | idx, |
int * | n | ||
) |
Definition at line 1558 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 1636 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 723 of file PStaticData.cxx.
References c_result, didx_param, makeDataBase(), and name_param.
const char * PStaticData::GetDecayNameByKey | ( | Int_t | key | ) |
Definition at line 730 of file PStaticData.cxx.
References c_result, makeDataBase(), and name_param.
int PStaticData::GetDecayNProducts | ( | const char * | id | ) |
Definition at line 1428 of file PStaticData.cxx.
References i_result, and makeDataBase().
int PStaticData::GetDecayNProducts | ( | const int & | id | ) |
Definition at line 1409 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 1397 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 1440 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 1448 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 1017 of file PStaticData.cxx.
References GetDecayBR(), GetDecayParent(), and GetParticleTotalWidth().
Double_t PStaticData::GetDecayPartialWidthByKey | ( | Int_t | id | ) |
Definition at line 1022 of file PStaticData.cxx.
References GetDecayBR(), GetDecayParentByKey(), and GetParticleTotalWidth().
|
inline |
Definition at line 45 of file PStaticData.h.
int PStaticData::GetHDepth | ( | const int & | id | ) |
Definition at line 995 of file PStaticData.cxx.
References hdepth_param, i_result, makeDataBase(), and pid_param.
int PStaticData::GetParticleBaryon | ( | const int & | id | ) |
Definition at line 517 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 609 of file PStaticData.cxx.
References charge_param, GetParticleID(), i_result, makeDataBase(), and pid_param.
int PStaticData::GetParticleCharge | ( | const int & | id | ) |
Definition at line 600 of file PStaticData.cxx.
References charge_param, i_result, makeDataBase(), and pid_param.
Double_t PStaticData::GetParticleEmin | ( | const int & | id | ) |
Definition at line 927 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 216 of file PStaticData.cxx.
References GetAliasParent(), GetParticleIDByKey(), i_result, makeDataBase(), and pid_param.
Referenced by GetParticleCharge(), GetParticleIsospin(), GetParticleMass(), GetParticleParity(), GetParticleSpin(), IsParticleValid(), SetDecayBR(), SetParticleBaryon(), SetParticleCharge(), SetParticleIsospin(), SetParticleLepton(), SetParticleLMass(), SetParticleMass(), SetParticleMeson(), SetParticleParity(), SetParticleSpin(), SetParticleTotalWidth(), and SetParticleUMass().
int PStaticData::GetParticleIDByKey | ( | int | key | ) |
Definition at line 242 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 486 of file PStaticData.cxx.
References makeDataBase(), pid_param, and pkf_param.
int PStaticData::GetParticleIsospin | ( | const char * | id | ) |
Definition at line 647 of file PStaticData.cxx.
References GetParticleID(), i_result, ispin_param, makeDataBase(), and pid_param.
int PStaticData::GetParticleIsospin | ( | const int & | id | ) |
Definition at line 638 of file PStaticData.cxx.
References i_result, ispin_param, makeDataBase(), and pid_param.
|
inline |
Definition at line 68 of file PStaticData.h.
int PStaticData::GetParticleKey | ( | const int & | id | ) |
Definition at line 249 of file PStaticData.cxx.
References makeDataBase(), and pid_param.
Referenced by SetDecayBR(), SetDecayBRByKey(), and SetTotalNormalization().
int PStaticData::GetParticleKF | ( | const int | Id | ) |
Definition at line 476 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and pkf_param.
int PStaticData::GetParticleLepton | ( | const int & | id | ) |
Definition at line 591 of file PStaticData.cxx.
References i_result, lepton_param, makeDataBase(), and pid_param.
|
inline |
Definition at line 137 of file PStaticData.h.
Double_t PStaticData::GetParticleLMass | ( | const int & | id | ) |
Definition at line 944 of file PStaticData.cxx.
References d_result, lmass_param, makeDataBase(), and pid_param.
double PStaticData::GetParticleMass | ( | const char * | id | ) |
Definition at line 686 of file PStaticData.cxx.
References d_result, GetParticleID(), makeDataBase(), mass_param, and pid_param.
double PStaticData::GetParticleMass | ( | const int & | id | ) |
Definition at line 676 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 696 of file PStaticData.cxx.
References d_result, makeDataBase(), and mass_param.
const char * PStaticData::GetParticleName | ( | const int & | id | ) |
Definition at line 231 of file PStaticData.cxx.
References c_result, PDataBase::GetParamString(), makeDataBase(), name_param, and pid_param.
Referenced by IsParticle().
int PStaticData::GetParticleNChannels | ( | const char * | id | ) |
Definition at line 1191 of file PStaticData.cxx.
References i_result, and makeDataBase().
int PStaticData::GetParticleNChannels | ( | const int & | id | ) |
Definition at line 1182 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and pnmodes_param.
int PStaticData::GetParticleNChannelsByKey | ( | int | id | ) |
Definition at line 1199 of file PStaticData.cxx.
References i_result, and makeDataBase().
Referenced by NormParticleBRbyKey(), and PrintParticleByKey().
int PStaticData::GetParticleParity | ( | const char * | id | ) |
Definition at line 666 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), parity_param, and pid_param.
int PStaticData::GetParticleParity | ( | const int & | id | ) |
Definition at line 657 of file PStaticData.cxx.
References i_result, makeDataBase(), parity_param, and pid_param.
int PStaticData::GetParticleSpin | ( | const char * | id | ) |
Definition at line 628 of file PStaticData.cxx.
References GetParticleID(), i_result, makeDataBase(), pid_param, and spin_param.
int PStaticData::GetParticleSpin | ( | const int & | id | ) |
Definition at line 619 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and spin_param.
|
inline |
Definition at line 125 of file PStaticData.h.
double PStaticData::GetParticleTotalWidth | ( | const int & | id | ) |
Definition at line 1702 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 1712 of file PStaticData.cxx.
References d_result, makeDataBase(), and width_param.
Referenced by NormParticleBRbyKey().
|
inline |
Definition at line 142 of file PStaticData.h.
Double_t PStaticData::GetParticleUMass | ( | const int & | id | ) |
Definition at line 962 of file PStaticData.cxx.
References d_result, makeDataBase(), pid_param, and umass_param.
PMesh * PStaticData::GetPWidthMesh | ( | const int & | id | ) |
Definition at line 840 of file PStaticData.cxx.
References didx_param, makeDataBase(), mesh_param, and t_result.
int PStaticData::GetPWidx | ( | const int & | id | ) |
Definition at line 781 of file PStaticData.cxx.
References didx_param, i_result, makeDataBase(), and widx_param.
int PStaticData::GetSecondaryKey | ( | int | key, |
int | defkey | ||
) |
Definition at line 337 of file PStaticData.cxx.
References defkey_param, GetAliasParent(), lalias_param, makeDataBase(), and nalias_param.
int PStaticData::GetTDepth | ( | const int & | id | ) |
Definition at line 980 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and tdepth_param.
TF1 * PStaticData::GetTF1 | ( | const int & | id | ) |
Definition at line 857 of file PStaticData.cxx.
References makeDataBase(), pid_param, t_result, and tf1_param.
PMesh * PStaticData::GetTWidthMesh | ( | const int & | id | ) |
Definition at line 824 of file PStaticData.cxx.
References makeDataBase(), mesh_param, pid_param, and t_result.
int PStaticData::GetTWidx | ( | const int & | id | ) |
Definition at line 768 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and widx_param.
int PStaticData::IsDecayHadronic | ( | Int_t | didx | ) |
Definition at line 1205 of file PStaticData.cxx.
References GetDecayMode(), i, and IsParticleHadron().
|
inlinestatic |
Definition at line 250 of file PStaticData.h.
Referenced by GetDecayIdx(), and GetDecayKey().
int PStaticData::IsParticle | ( | const int & | id, |
const char * | name | ||
) |
Definition at line 267 of file PStaticData.cxx.
References GetParticleName().
int PStaticData::IsParticleHadron | ( | const int & | id | ) |
Definition at line 511 of file PStaticData.cxx.
References GetParticleBaryon(), and IsParticleMeson().
Referenced by IsDecayHadronic().
int PStaticData::IsParticleMeson | ( | const int & | id | ) |
Definition at line 501 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 288 of file PStaticData.cxx.
References GetParticleID(), and IsParticleValid().
int PStaticData::IsParticleValid | ( | const int & | id | ) |
Definition at line 273 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 162 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 1131 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), makeDataBase(), NormParticleBRbyKey(), and pid_param.
bool PStaticData::NormParticleBRbyKey | ( | Int_t | key | ) |
Definition at line 1138 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 1372 of file PStaticData.cxx.
References GetDecayNProductsByKey(), PDataBase::ListEntries(), and makeDataBase().
Referenced by PrintParticleByKey().
|
inline |
Definition at line 79 of file PStaticData.h.
References PrintParticle().
Referenced by PrintParticle().
void PStaticData::PrintParticle | ( | int | pid | ) |
Definition at line 441 of file PStaticData.cxx.
References makeDataBase(), and PrintParticleByKey().
Referenced by listModes(), and listParticle().
void PStaticData::PrintParticleByKey | ( | int | pid | ) |
Definition at line 446 of file PStaticData.cxx.
References PDataBase::GetName(), GetParticleNChannelsByKey(), PDataBase::ListEntries(), makeDataBase(), nalias_param, and PrintDecayByKey().
Referenced by PrintParticle().
|
static |
Definition at line 1772 of file PStaticData.cxx.
Referenced by Tokenize().
bool PStaticData::SetDecayBR | ( | const char * | parent, |
const char * | daughters, | ||
double | br, | ||
int | mode | ||
) |
Definition at line 1061 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 1028 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 1046 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 882 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 919 of file PStaticData.cxx.
References d_result, didx_param, ethreshold_param, makeDataBase(), and v.
|
inline |
Definition at line 38 of file PStaticData.h.
void PStaticData::SetHDepth | ( | const int & | id, |
const int & | depth | ||
) |
Definition at line 1003 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 526 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 555 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 936 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 573 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 546 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 952 of file PStaticData.cxx.
References d_result, GetParticleID(), lmass_param, makeDataBase(), pid_param, PDataBase::SetParamDouble(), and v.
|
inline |
Definition at line 146 of file PStaticData.h.
References v.
void PStaticData::SetParticleMass | ( | const char * | id, |
Float_t | mass | ||
) |
Definition at line 713 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 705 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 536 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 582 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 564 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 737 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 754 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 970 of file PStaticData.cxx.
References d_result, GetParticleID(), makeDataBase(), pid_param, PDataBase::SetParamDouble(), umass_param, and v.
|
inline |
Definition at line 155 of file PStaticData.h.
References v.
void PStaticData::SetPWidthMesh | ( | const int & | id, |
PMesh * | mesh | ||
) |
Definition at line 832 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), and makeDataBase().
void PStaticData::SetPWidx | ( | const int & | id, |
const int & | v | ||
) |
Definition at line 804 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 988 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, and tdepth_param.
void PStaticData::SetTF1 | ( | const int & | id, |
TF1 * | mesh | ||
) |
Definition at line 849 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), and makeDataBase().
void PStaticData::SetTotalNormalization | ( | char * | p, |
int | flag = 1 |
||
) |
Definition at line 896 of file PStaticData.cxx.
References brflag_param, GetParticleKey(), i_result, and makeDataBase().
void PStaticData::SetTWidthMesh | ( | const int & | id, |
PMesh * | mesh | ||
) |
Definition at line 815 of file PStaticData.cxx.
References PDataBase::GetEntryInt(), and makeDataBase().
void PStaticData::SetTWidx | ( | const int & | id, |
const int & | v | ||
) |
Definition at line 793 of file PStaticData.cxx.
References i_result, makeDataBase(), pid_param, v, and widx_param.
|
static |
Definition at line 1735 of file PStaticData.cxx.
References i, pos, and remove_spaces().
Referenced by SetDecayBR().
|
friend |
Definition at line 283 of file PStaticData.h.
|
friend |
Definition at line 1732 of file PStaticData.cxx.
|
friend |
Definition at line 275 of file PStaticData.h.
|
friend |
Definition at line 1723 of file PStaticData.cxx.
|
private |
Definition at line 296 of file PStaticData.h.
Referenced by GetParticleBaryon(), PStaticData(), and SetParticleBaryon().
|
private |
Definition at line 302 of file PStaticData.h.
Referenced by GetDecayBR(), and PStaticData().
|
private |
Definition at line 305 of file PStaticData.h.
Referenced by GetDecayBRFlag(), PStaticData(), SetDecayBRFlag(), and SetTotalNormalization().
|
private |
Definition at line 302 of file PStaticData.h.
Referenced by PStaticData().
|
private |
Definition at line 291 of file PStaticData.h.
Referenced by GetDecayName(), GetDecayNameByKey(), GetParticleName(), and PStaticData().
|
private |
Definition at line 297 of file PStaticData.h.
Referenced by GetParticleCharge(), PStaticData(), and SetParticleCharge().
|
private |
Definition at line 302 of file PStaticData.h.
Referenced by GetDecayIdx(), GetDecayKey(), and PStaticData().
|
private |
Definition at line 303 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 303 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 303 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 304 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 304 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 304 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 304 of file PStaticData.h.
Referenced by GetDecayMode(), GetDecayModeByKey(), GetDecayNProducts(), GetDecayNProductsByKey(), and PStaticData().
|
private |
Definition at line 292 of file PStaticData.h.
Referenced by GetDecayBR(), GetDecayEmin(), GetParticleEmin(), GetParticleLMass(), GetParticleMass(), GetParticleMassByKey(), GetParticleTotalWidth(), GetParticleTotalWidthByKey(), GetParticleUMass(), PStaticData(), SetDecayEmin(), SetParticleEmin(), SetParticleLMass(), SetParticleMass(), SetParticleTotalWidth(), and SetParticleUMass().
|
private |
Definition at line 306 of file PStaticData.h.
Referenced by GetSecondaryKey(), and PStaticData().
|
private |
Definition at line 299 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 300 of file PStaticData.h.
Referenced by GetDecayEmin(), GetParticleEmin(), PStaticData(), SetDecayEmin(), and SetParticleEmin().
|
private |
Definition at line 308 of file PStaticData.h.
Referenced by PStaticData().
|
private |
Definition at line 302 of file PStaticData.h.
Referenced by GetHDepth(), PStaticData(), and SetHDepth().
|
private |
Definition at line 290 of file PStaticData.h.
Referenced by GetDecayBRFlag(), GetDecayNProducts(), GetDecayNProductsByKey(), GetDecayParent(), GetDecayParentByKey(), GetHDepth(), GetParticleBaryon(), GetParticleCharge(), GetParticleID(), GetParticleIDByKey(), GetParticleIsospin(), GetParticleKF(), GetParticleLepton(), GetParticleNChannels(), GetParticleNChannelsByKey(), GetParticleParity(), GetParticleSpin(), GetPWidx(), GetTDepth(), GetTWidx(), IsParticleMeson(), PStaticData(), SetDecayBRFlag(), SetHDepth(), SetParticleBaryon(), SetParticleCharge(), SetParticleIsospin(), SetParticleLepton(), SetParticleMeson(), SetParticleParity(), SetParticleSpin(), SetPWidx(), SetTDepth(), SetTotalNormalization(), and SetTWidx().
|
private |
Definition at line 297 of file PStaticData.h.
Referenced by GetParticleIsospin(), PStaticData(), and SetParticleIsospin().
|
private |
Definition at line 306 of file PStaticData.h.
Referenced by GetAliasParent(), GetSecondaryKey(), and PStaticData().
|
private |
Definition at line 296 of file PStaticData.h.
Referenced by GetParticleLepton(), PStaticData(), and SetParticleLepton().
|
private |
Definition at line 300 of file PStaticData.h.
Referenced by GetParticleLMass(), PStaticData(), and SetParticleLMass().
|
private |
Definition at line 298 of file PStaticData.h.
Referenced by GetParticleMass(), GetParticleMassByKey(), PStaticData(), and SetParticleMass().
|
private |
Definition at line 300 of file PStaticData.h.
Referenced by GetPWidthMesh(), GetTWidthMesh(), and PStaticData().
|
private |
Definition at line 296 of file PStaticData.h.
Referenced by IsParticleMeson(), PStaticData(), and SetParticleMeson().
|
private |
Definition at line 306 of file PStaticData.h.
Referenced by GetAliasParent(), GetSecondaryKey(), PrintParticleByKey(), and PStaticData().
|
private |
Definition at line 295 of file PStaticData.h.
Referenced by GetDecayName(), GetDecayNameByKey(), GetParticleName(), and PStaticData().
|
private |
Definition at line 298 of file PStaticData.h.
Referenced by GetParticleParity(), PStaticData(), and SetParticleParity().
|
private |
Definition at line 294 of file PStaticData.h.
Referenced by GetDecayIdx(), GetDecayKey(), GetDecayMode(), GetDecayModeByKey(), GetHDepth(), GetParticleBaryon(), GetParticleCharge(), GetParticleEmin(), GetParticleID(), GetParticleIDByKey(), GetParticleIDbyKF(), GetParticleIsospin(), GetParticleKey(), GetParticleKF(), GetParticleLepton(), GetParticleLMass(), GetParticleMass(), GetParticleName(), GetParticleNChannels(), GetParticleParity(), GetParticleSpin(), GetParticleTotalWidth(), GetParticleUMass(), GetTDepth(), GetTF1(), GetTWidthMesh(), GetTWidx(), IsParticleMeson(), IsParticleValid(), NormParticleBR(), PStaticData(), SetHDepth(), SetParticleBaryon(), SetParticleCharge(), SetParticleEmin(), SetParticleIsospin(), SetParticleLepton(), SetParticleLMass(), SetParticleMass(), SetParticleMeson(), SetParticleParity(), SetParticleSpin(), SetParticleTotalWidth(), SetParticleUMass(), SetTDepth(), and SetTWidx().
|
private |
Definition at line 299 of file PStaticData.h.
Referenced by GetParticleIDbyKF(), GetParticleKF(), and PStaticData().
|
private |
Definition at line 303 of file PStaticData.h.
Referenced by GetParticleNChannels(), and PStaticData().
|
private |
Definition at line 303 of file PStaticData.h.
Referenced by GetDecayParent(), GetDecayParentByKey(), and PStaticData().
|
private |
Definition at line 297 of file PStaticData.h.
Referenced by GetParticleSpin(), PStaticData(), and SetParticleSpin().
|
private |
Definition at line 310 of file PStaticData.h.
Referenced by AddParticle(), and PStaticData().
|
private |
Definition at line 293 of file PStaticData.h.
Referenced by GetPWidthMesh(), GetTF1(), GetTWidthMesh(), and PStaticData().
|
private |
Definition at line 302 of file PStaticData.h.
Referenced by GetTDepth(), PStaticData(), and SetTDepth().
|
private |
Definition at line 300 of file PStaticData.h.
Referenced by GetTF1(), and PStaticData().
|
private |
Definition at line 301 of file PStaticData.h.
Referenced by GetParticleUMass(), PStaticData(), and SetParticleUMass().
|
private |
Definition at line 298 of file PStaticData.h.
Referenced by GetParticleTotalWidth(), GetParticleTotalWidthByKey(), PStaticData(), and SetParticleTotalWidth().
|
private |
Definition at line 300 of file PStaticData.h.
Referenced by GetPWidx(), GetTWidx(), PStaticData(), SetPWidx(), and SetTWidx().