10#ifndef _PSTATICDATA_H_
11#define _PSTATICDATA_H_
22#define MAX_DAUGHTERS 7
55 const char* new_name);
61 Double_t*
GetBatchValue(
const char* name, Int_t make_val = 1);
76 int AddParticle(
int pid,
const char* name,
double mass);
157 bool SetDecayBR(
int didx,
double br,
int mode);
158 bool SetDecayBR(
const char* parent,
const char* daughters,
double br,
int mode);
209 void SetTWidx(
const int&,
const int&);
210 void SetPWidx(
const int&,
const int&);
223 void SetTF1(
const int&, TF1* mesh);
226 static Bool_t
Tokenize(
const char* options,
const char* delimiter,
char** array,
int*
size);
229 static void dsort(Double_t*,
int);
243 for (
int j = 0; j < n; ++j)
244 x[j] = ((Double_t) i[j]) + ((Double_t) j) * 0.00001;
246 for (
int j = 0; j < n; ++j)
static constexpr size_t size()
void listParticle(int=-1)
PStaticData * makeStaticData()
PStaticData & fStaticData()
void listModes(int id=-1)
static void remove_spaces(char **partc)
int GetParticleCharge(const int &id)
double GetParticleLMass(const int &id)
void SetParticleIsospin(const char *id, Int_t isospin)
double GetParticleTotalWidthByKey(const int &id)
void SetParticleSpin(const char *id, Int_t spin)
double GetParticleTotalWidth(const char *id)
int GetDecayBRFlag(int didx)
const char * GetParticleName(const int &id)
int GetDecayNProducts(const int &)
bool SetDecayBRByKey(int key, double br, int mode)
int GetDecayNProductsByKey(const int &key)
int IsParticle(const int &id, const char *name)
void SetTDepth(const int &, const int &)
int GetParticleIDByKey(int key)
void SetTWidx(const int &, const int &)
Double_t GetDecayPartialWidth(Int_t id)
void SetPWidthMesh(const int &, PMesh *mesh)
int MakeDirectoryEntry(const char *name, const char *n, const char *l, const char *ename)
double GetParticleMass(const int &id)
bool SetDecayBR(int didx, double br, int mode)
static Bool_t Tokenize(const char *options, const char *delimiter, char **array, int *size)
void SetParticleMass(Int_t id, Float_t mass)
int GetDecayIdxByKey(int key)
double GetParticleLMass(const char *id)
bool NormParticleBRbyKey(Int_t key)
int GetDecayIdx(int *pid, int n)
void SetDecayBRFlag(int didx, int flag)
int GetParticleID(const char *id, int warn=1)
double GetParticleTotalWidth(const int &id)
int IsParticleMeson(const int &id)
double GetParticleUMass(const char *id)
void SetTWidthMesh(const int &, PMesh *mesh)
void SetTotalNormalization(char *p, int flag=1)
int GetParticleIsospin(const int &id)
void SetParticleLMass(const int &id, const double v)
void SetParticleLepton(const char *id, Int_t num=1)
void SetParticleMeson(const char *id, Int_t num=1)
static void isort(int *i, int n)
int GetSecondaryKey(int key, int defkey)
PMesh * GetTWidthMesh(const int &)
static void dsort(Double_t *, int)
int GetDecayParentByKey(const int &)
void FreezeDecayBR(Int_t id, Int_t brn)
int GetParticleLepton(const int &id)
int GetHDepth(const int &)
void SetParticleTotalWidth(Int_t id, Float_t wid)
void SetParticleCharge(const char *id, Int_t charge)
int GetPWidx(const int &)
const char * GetDecayNameByKey(Int_t key)
int GetParticleNChannels(const int &id)
PMesh * GetPWidthMesh(const int &)
int GetAliasParent(const char *alias_name)
Int_t IsDecayHadronic(Int_t didx)
void PrintParticle(int pid)
int GetTWidx(const int &)
int GetParticleKey(const int &id)
int GetDecayParent(const int &)
double GetParticleMassByKey(const int &id)
friend void listParticle(int id)
void SetTF1(const int &, TF1 *mesh)
double GetParticleEmin(const int &id)
int IsParticleValid(const int &id)
int GetParticleKey(const char *id)
Double_t * GetBatchValue(const char *name, Int_t make_val=1)
void clearFreezeOut(void)
void SetParticleBaryon(const char *id, Int_t num=1)
void SetParticleEmin(const int &id, const double v)
int GetParticleBaryon(const int &id)
friend void listModes(const char *id)
int GetTDepth(const int &)
void SetPWidx(const int &, const int &)
friend void listParticle(const char *id)
Double_t GetDecayBR(Int_t id)
int GetParticleKF(const int Id)
double GetDecayEmin(const int &idx)
double GetParticleUMass(const int &id)
void GetDecayModeByKey(const int, int *n)
Double_t * system_alloc_verbosity
int GetParticleIDbyKF(const int kf)
void GetDecayMode(const int, int *n)
const char * GetDecayName(Int_t id)
void SetDecayEmin(const int &idx, const double v)
int GetParticleNChannelsByKey(int id)
int GetParticleSpin(const int &id)
void SetParticleParity(const char *id, Int_t parity)
int AddParticle(int pid, const char *name, double mass)
bool NormParticleBR(Int_t id)
void SetHDepth(const int &, const int &)
void PrintParticleByKey(int pid)
int GetParticleParity(const int &id)
int GetDecayKey(int *pid, int n)
void SetParticleUMass(const int &id, const double v)
TF1 * GetTF1(const int &)
int AddAlias(const char *old_name, const char *new_name)
void PrintDecayByKey(int key)
int IsParticleHadron(const int &id)
void PrintParticle(const char *id)
Double_t GetDecayPartialWidthByKey(Int_t id)
friend void listModes(int id)