StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Friends | List of all members
Pythia8::ParticleData Class Reference

Public Member Functions

void initPtr (Info *infoPtrIn, Settings *settingsPtrIn, Rndm *rndmPtrIn, Couplings *couplingsPtrIn)
 
bool init (string startFile="../xmldoc/ParticleData.xml")
 
bool reInit (string startFile, bool xmlFormat=true)
 
void initWidths (vector< ResonanceWidths * > resonancePtrs)
 
bool readXML (string inFile, bool reset=true)
 
void listXML (string outFile)
 
bool readFF (string inFile, bool reset=true)
 
void listFF (string outFile)
 
bool readString (string lineIn, bool warn=true, ostream &os=cout)
 
void listAll (ostream &os=cout)
 
void listChanged (ostream &os=cout)
 
void listChanged (bool changedRes, ostream &os=cout)
 
void list (bool changedOnly=false, bool changedRes=true, ostream &os=cout)
 
void list (int idList, ostream &os=cout)
 
void list (vector< int > idList, ostream &os=cout)
 
void checkTable (ostream &os=cout)
 
void checkTable (int verbosity, ostream &os=cout)
 
void addParticle (int idIn, string nameIn=" ", int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
void addParticle (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
void setAll (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
bool isParticle (int idIn)
 
int nextId (int idIn)
 
void name (int idIn, string nameIn)
 
void antiName (int idIn, string antiNameIn)
 
void names (int idIn, string nameIn, string antiNameIn)
 
void spinType (int idIn, int spinTypeIn)
 
void chargeType (int idIn, int chargeTypeIn)
 
void colType (int idIn, int colTypeIn)
 
void m0 (int idIn, double m0In)
 
void mWidth (int idIn, double mWidthIn)
 
void mMin (int idIn, double mMinIn)
 
void mMax (int idIn, double mMaxIn)
 
void tau0 (int idIn, double tau0In)
 
void isResonance (int idIn, bool isResonanceIn)
 
void mayDecay (int idIn, bool mayDecayIn)
 
void doExternalDecay (int idIn, bool doExternalDecayIn)
 
void isVisible (int idIn, bool isVisibleIn)
 
void doForceWidth (int idIn, bool doForceWidthIn)
 
void hasChanged (int idIn, bool hasChangedIn)
 
bool hasAnti (int idIn)
 
string name (int idIn)
 
int spinType (int idIn)
 
int chargeType (int idIn)
 
double charge (int idIn)
 
int colType (int idIn)
 
double m0 (int idIn)
 
double mWidth (int idIn)
 
double mMin (int idIn)
 
double m0Min (int idIn)
 
double mMax (int idIn)
 
double m0Max (int idIn)
 
double tau0 (int idIn)
 
bool isResonance (int idIn)
 
bool mayDecay (int idIn)
 
bool doExternalDecay (int idIn)
 
bool isVisible (int idIn)
 
bool doForceWidth (int idIn)
 
bool hasChanged (int idIn)
 
bool useBreitWigner (int idIn)
 
double constituentMass (int idIn)
 
double mass (int idIn)
 
double mRun (int idIn, double mH)
 
bool canDecay (int idIn)
 
bool isLepton (int idIn)
 
bool isQuark (int idIn)
 
bool isGluon (int idIn)
 
bool isDiquark (int idIn)
 
bool isParton (int idIn)
 
bool isHadron (int idIn)
 
bool isMeson (int idIn)
 
bool isBaryon (int idIn)
 
bool isOctetHadron (int idIn)
 
int heaviestQuark (int idIn)
 
int baryonNumberType (int idIn)
 
void rescaleBR (int idIn, double newSumBR=1.)
 
void setResonancePtr (int idIn, ResonanceWidths *resonancePtrIn)
 
void resInit (int idIn)
 
double resWidth (int idIn, double mHat, int idInFlav=0, bool openOnly=false, bool setBR=false)
 
double resWidthOpen (int idIn, double mHat, int idInFlav=0)
 
double resWidthStore (int idIn, double mHat, int idInFlav=0)
 
double resOpenFrac (int id1In, int id2In=0, int id3In=0)
 
double resWidthRescaleFactor (int idIn)
 
double resWidthChan (int idIn, double mHat, int idAbs1=0, int idAbs2=0)
 
ParticleDataEntryparticleDataEntryPtr (int idIn)
 
void initPtr (Info *infoPtrIn, Settings *settingsPtrIn, Rndm *rndmPtrIn, Couplings *couplingsPtrIn)
 
bool init (string startFile="../xmldoc/ParticleData.xml")
 
bool reInit (string startFile, bool xmlFormat=true)
 
void initWidths (vector< ResonanceWidths * > resonancePtrs)
 
bool readXML (string inFile, bool reset=true)
 
void listXML (string outFile)
 
bool readFF (string inFile, bool reset=true)
 
void listFF (string outFile)
 
bool readString (string lineIn, bool warn=true, ostream &os=cout)
 
bool readingFailed ()
 
void listAll (ostream &os=cout)
 
void listChanged (ostream &os=cout)
 
void listChanged (bool changedRes, ostream &os=cout)
 
void list (bool changedOnly=false, bool changedRes=true, ostream &os=cout)
 
void list (int idList, ostream &os=cout)
 
void list (vector< int > idList, ostream &os=cout)
 
void checkTable (ostream &os=cout)
 
void checkTable (int verbosity, ostream &os=cout)
 
void addParticle (int idIn, string nameIn=" ", int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
void addParticle (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
void setAll (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
bool isParticle (int idIn)
 
int nextId (int idIn)
 
void name (int idIn, string nameIn)
 
void antiName (int idIn, string antiNameIn)
 
void names (int idIn, string nameIn, string antiNameIn)
 
void spinType (int idIn, int spinTypeIn)
 
void chargeType (int idIn, int chargeTypeIn)
 
void colType (int idIn, int colTypeIn)
 
void m0 (int idIn, double m0In)
 
void mWidth (int idIn, double mWidthIn)
 
void mMin (int idIn, double mMinIn)
 
void mMax (int idIn, double mMaxIn)
 
void tau0 (int idIn, double tau0In)
 
void isResonance (int idIn, bool isResonanceIn)
 
void mayDecay (int idIn, bool mayDecayIn)
 
void doExternalDecay (int idIn, bool doExternalDecayIn)
 
void isVisible (int idIn, bool isVisibleIn)
 
void doForceWidth (int idIn, bool doForceWidthIn)
 
void hasChanged (int idIn, bool hasChangedIn)
 
bool hasAnti (int idIn)
 
string name (int idIn)
 
int spinType (int idIn)
 
int chargeType (int idIn)
 
double charge (int idIn)
 
int colType (int idIn)
 
double m0 (int idIn)
 
double mWidth (int idIn)
 
double mMin (int idIn)
 
double m0Min (int idIn)
 
double mMax (int idIn)
 
double m0Max (int idIn)
 
double tau0 (int idIn)
 
bool isResonance (int idIn)
 
bool mayDecay (int idIn)
 
bool doExternalDecay (int idIn)
 
bool isVisible (int idIn)
 
bool doForceWidth (int idIn)
 
bool hasChanged (int idIn)
 
bool useBreitWigner (int idIn)
 
double constituentMass (int idIn)
 
double mSel (int idIn)
 
double mRun (int idIn, double mH)
 
bool canDecay (int idIn)
 
bool isLepton (int idIn)
 
bool isQuark (int idIn)
 
bool isGluon (int idIn)
 
bool isDiquark (int idIn)
 
bool isParton (int idIn)
 
bool isHadron (int idIn)
 
bool isMeson (int idIn)
 
bool isBaryon (int idIn)
 
bool isOctetHadron (int idIn)
 
int heaviestQuark (int idIn)
 
int baryonNumberType (int idIn)
 
void rescaleBR (int idIn, double newSumBR=1.)
 
void setResonancePtr (int idIn, ResonanceWidths *resonancePtrIn)
 
void resInit (int idIn)
 
double resWidth (int idIn, double mHat, int idInFlav=0, bool openOnly=false, bool setBR=false)
 
double resWidthOpen (int idIn, double mHat, int idInFlav=0)
 
double resWidthStore (int idIn, double mHat, int idInFlav=0)
 
double resOpenFrac (int id1In, int id2In=0, int id3In=0)
 
double resWidthRescaleFactor (int idIn)
 
double resWidthChan (int idIn, double mHat, int idAbs1=0, int idAbs2=0)
 
ParticleDataEntryparticleDataEntryPtr (int idIn)
 
ParticleDataoperator= (const ParticleData &oldPD)
 
void initPtr (Info *infoPtrIn, Settings *settingsPtrIn, Rndm *rndmPtrIn, Couplings *couplingsPtrIn)
 
bool init (string startFile="../share/Pythia8/xmldoc/ParticleData.xml")
 
bool init (const ParticleData &particleDataIn)
 
bool init (istream &is)
 
bool reInit (string startFile, bool xmlFormat=true)
 
void initWidths (vector< ResonanceWidths * > resonancePtrs)
 
bool readXML (string inFile, bool reset=true)
 
void listXML (string outFile)
 
bool readXML (istream &is, bool reset=true)
 
bool copyXML (const ParticleData &particleDataIn)
 
bool loadXML (string inFile, bool reset=true)
 
bool loadXML (istream &is, bool reset=true)
 
bool processXML (bool reset=true)
 
bool readFF (string inFile, bool reset=true)
 
bool readFF (istream &is, bool reset=true)
 
void listFF (string outFile)
 
bool readString (string lineIn, bool warn=true)
 
bool readingFailed ()
 
void listAll ()
 
void listChanged (bool changedRes=false)
 
void list (bool changedOnly=false, bool changedRes=true)
 
void list (int idList)
 
void list (vector< int > idList)
 
vector< string > getReadHistory (int subrun=-999)
 
void checkTable (int verbosity=1)
 
void addParticle (int idIn, string nameIn=" ", int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
void addParticle (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
void setAll (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0.)
 
bool isParticle (int idIn) const
 
ParticleDataEntryfindParticle (int idIn)
 
const ParticleDataEntryfindParticle (int idIn) const
 
int nextId (int idIn)
 
void name (int idIn, string nameIn)
 
void antiName (int idIn, string antiNameIn)
 
void names (int idIn, string nameIn, string antiNameIn)
 
void spinType (int idIn, int spinTypeIn)
 
void chargeType (int idIn, int chargeTypeIn)
 
void colType (int idIn, int colTypeIn)
 
void m0 (int idIn, double m0In)
 
void mWidth (int idIn, double mWidthIn)
 
void mMin (int idIn, double mMinIn)
 
void mMax (int idIn, double mMaxIn)
 
void tau0 (int idIn, double tau0In)
 
void isResonance (int idIn, bool isResonanceIn)
 
void mayDecay (int idIn, bool mayDecayIn)
 
void doExternalDecay (int idIn, bool doExternalDecayIn)
 
void isVisible (int idIn, bool isVisibleIn)
 
void doForceWidth (int idIn, bool doForceWidthIn)
 
void hasChanged (int idIn, bool hasChangedIn)
 
bool hasAnti (int idIn) const
 
string name (int idIn) const
 
int spinType (int idIn) const
 
int chargeType (int idIn)
 
double charge (int idIn)
 
int colType (int idIn)
 
double m0 (int idIn)
 
double mWidth (int idIn)
 
double mMin (int idIn)
 
double m0Min (int idIn)
 
double mMax (int idIn)
 
double m0Max (int idIn)
 
double tau0 (int idIn)
 
bool isResonance (int idIn)
 
bool mayDecay (int idIn)
 
bool doExternalDecay (int idIn)
 
bool isVisible (int idIn)
 
bool doForceWidth (int idIn)
 
bool hasChanged (int idIn)
 
bool hasChangedMMin (int idIn)
 
bool hasChangedMMax (int idIn)
 
bool useBreitWigner (int idIn)
 
double constituentMass (int idIn)
 
double mSel (int idIn)
 
double mRun (int idIn, double mH)
 
bool canDecay (int idIn)
 
bool isLepton (int idIn)
 
bool isQuark (int idIn)
 
bool isGluon (int idIn)
 
bool isDiquark (int idIn)
 
bool isParton (int idIn)
 
bool isHadron (int idIn)
 
bool isMeson (int idIn)
 
bool isBaryon (int idIn)
 
bool isOctetHadron (int idIn)
 
int heaviestQuark (int idIn)
 
int baryonNumberType (int idIn)
 
int nQuarksInCode (int idIn, int idQIn)
 
void rescaleBR (int idIn, double newSumBR=1.)
 
void setResonancePtr (int idIn, ResonanceWidths *resonancePtrIn)
 
void resInit (int idIn)
 
double resWidth (int idIn, double mHat, int idInFlav=0, bool openOnly=false, bool setBR=false)
 
double resWidthOpen (int idIn, double mHat, int idInFlav=0)
 
double resWidthStore (int idIn, double mHat, int idInFlav=0)
 
double resOpenFrac (int id1In, int id2In=0, int id3In=0)
 
double resWidthRescaleFactor (int idIn)
 
double resWidthChan (int idIn, double mHat, int idAbs1=0, int idAbs2=0)
 
ParticleDataEntryparticleDataEntryPtr (int idIn)
 
bool getIsInit ()
 
 ParticleData (const ParticleData &oldPD)
 
ParticleDataoperator= (const ParticleData &oldPD)
 
void initPtrs (Info *infoPtrIn)
 
bool init (string startFile="../share/Pythia8/xmldoc/ParticleData.xml")
 
bool init (const ParticleData &particleDataIn)
 
bool init (istream &is)
 
bool reInit (string startFile, bool xmlFormat=true)
 
void initWidths (vector< ResonanceWidths * > resonancePtrs)
 
bool readXML (string inFile, bool reset=true)
 
void listXML (string outFile)
 
bool readXML (istream &is, bool reset=true)
 
bool copyXML (const ParticleData &particleDataIn)
 
bool loadXML (string inFile, bool reset=true)
 
bool loadXML (istream &is, bool reset=true)
 
bool processXML (bool reset=true)
 
bool readFF (string inFile, bool reset=true)
 
bool readFF (istream &is, bool reset=true)
 
void listFF (string outFile)
 
bool readString (string lineIn, bool warn=true)
 
bool readingFailed ()
 
void listAll (ostream &stream)
 
void listAll ()
 
void listChanged (bool changedRes=false)
 
void list (ostream &stream, bool chargedOnly=false, bool changedRes=true)
 
void list (bool changedOnly=false, bool changedRes=true)
 
void list (int idList)
 
void list (vector< int > idList)
 
vector< string > getReadHistory (int subrun=-999)
 
void checkTable (int verbosity=1)
 
void addParticle (int idIn, string nameIn=" ", int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0., bool varWidthIn=false)
 
void addParticle (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0., bool varWidthIn=false)
 
void setAll (int idIn, string nameIn, string antiNameIn, int spinTypeIn=0, int chargeTypeIn=0, int colTypeIn=0, double m0In=0., double mWidthIn=0., double mMinIn=0., double mMaxIn=0., double tau0In=0., bool varWidthIn=false)
 
bool isParticle (int idIn) const
 
ParticleDataEntryfindParticle (int idIn)
 
const ParticleDataEntryfindParticle (int idIn) const
 
int nextId (int idIn) const
 
map< int, ParticleDataEntry >
::iterator 
begin ()
 
map< int, ParticleDataEntry >
::iterator 
end ()
 
void name (int idIn, string nameIn)
 
void antiName (int idIn, string antiNameIn)
 
void names (int idIn, string nameIn, string antiNameIn)
 
void spinType (int idIn, int spinTypeIn)
 
void chargeType (int idIn, int chargeTypeIn)
 
void colType (int idIn, int colTypeIn)
 
void m0 (int idIn, double m0In)
 
void mWidth (int idIn, double mWidthIn)
 
void mMin (int idIn, double mMinIn)
 
void mMax (int idIn, double mMaxIn)
 
void tau0 (int idIn, double tau0In)
 
void isResonance (int idIn, bool isResonanceIn)
 
void mayDecay (int idIn, bool mayDecayIn)
 
void tauCalc (int idIn, bool tauCalcIn)
 
void doExternalDecay (int idIn, bool doExternalDecayIn)
 
void varWidth (int idIn, bool varWidthIn)
 
void isVisible (int idIn, bool isVisibleIn)
 
void doForceWidth (int idIn, bool doForceWidthIn)
 
void hasChanged (int idIn, bool hasChangedIn)
 
bool hasAnti (int idIn) const
 
int antiId (int idIn) const
 
string name (int idIn) const
 
int spinType (int idIn) const
 
int chargeType (int idIn) const
 
double charge (int idIn) const
 
int colType (int idIn) const
 
double m0 (int idIn) const
 
double mWidth (int idIn) const
 
double mMin (int idIn) const
 
double m0Min (int idIn) const
 
double mMax (int idIn) const
 
double m0Max (int idIn) const
 
double tau0 (int idIn) const
 
bool isResonance (int idIn) const
 
bool mayDecay (int idIn) const
 
bool tauCalc (int idIn) const
 
bool doExternalDecay (int idIn) const
 
bool isVisible (int idIn) const
 
bool doForceWidth (int idIn) const
 
bool hasChanged (int idIn) const
 
bool hasChangedMMin (int idIn) const
 
bool hasChangedMMax (int idIn) const
 
bool useBreitWigner (int idIn) const
 
bool varWidth (int idIn) const
 
double constituentMass (int idIn) const
 
double mSel (int idIn) const
 
double mRun (int idIn, double mH) const
 
bool canDecay (int idIn) const
 
bool isLepton (int idIn) const
 
bool isQuark (int idIn) const
 
bool isGluon (int idIn) const
 
bool isDiquark (int idIn) const
 
bool isParton (int idIn) const
 
bool isHadron (int idIn) const
 
bool isMeson (int idIn) const
 
bool isBaryon (int idIn) const
 
bool isOnium (int idIn) const
 
bool isOctetHadron (int idIn) const
 
int heaviestQuark (int idIn) const
 
int baryonNumberType (int idIn) const
 
int nQuarksInCode (int idIn, int idQIn) const
 
void rescaleBR (int idIn, double newSumBR=1.)
 
void setResonancePtr (int idIn, ResonanceWidths *resonancePtrIn)
 
void resInit (int idIn)
 
double resWidth (int idIn, double mHat, int idInFlav=0, bool openOnly=false, bool setBR=false)
 
double resWidthOpen (int idIn, double mHat, int idInFlav=0)
 
double resWidthStore (int idIn, double mHat, int idInFlav=0)
 
double resOpenFrac (int id1In, int id2In=0, int id3In=0)
 
double resWidthRescaleFactor (int idIn)
 
double resWidthChan (int idIn, double mHat, int idAbs1=0, int idAbs2=0)
 
ParticleDataEntryparticleDataEntryPtr (int idIn)
 
bool getIsInit ()
 

Friends

class ParticleDataEntry
 

Detailed Description

Definition at line 332 of file ParticleData.h.


The documentation for this class was generated from the following files: