#include <DatabasePDG.h>
Public Member Functions | |
int | CheckImpossibleDecays (bool dump=kFALSE) |
DatabasePDG () | |
void | DumpData (bool dumpAll=kFALSE) |
char * | GetDecayFilename () |
double | GetMaximumMass () |
double | GetMaximumWidth () |
double | GetMinimumMass () |
double | GetMinimumWidth () |
int | GetNAllowedChannels (ParticlePDG *particle, double motherMass) |
int | GetNParticles (bool all=kFALSE) |
char * | GetParticleFilename () |
ParticlePDG * | GetPDGParticle (int pdg) |
ParticlePDG * | GetPDGParticle (char *name) |
ParticlePDG * | GetPDGParticleByIndex (int index) |
bool | GetPDGParticleStatus (int pdg) |
bool | GetPDGParticleStatus (char *name) |
bool | GetPDGParticleStatusByIndex (int index) |
bool | GetUseCharmParticles () |
bool | IsChannelAllowed (DecayChannel *channel, double motherMass) |
bool | LoadData () |
void | SetDecayFilename (char *filename) |
void | SetMassRange (double min, double max) |
void | SetMaximumMass (double value) |
void | SetMaximumWidth (double value) |
void | SetMinimumMass (double value) |
void | SetMinimumWidth (double value) |
void | SetParticleFilename (char *filename) |
void | SetUseCharmParticles (bool flag) |
void | SetWidthRange (double min, double max) |
void | UseThisListOfParticles (char *filename, bool exclusive=kTRUE) |
~DatabasePDG () | |
Private Member Functions | |
bool | LoadDecays () |
bool | LoadParticles () |
void | SortParticles () |
Private Attributes | |
char | fDecayFilename [256] |
double | fMaximumMass |
double | fMaximumWidth |
double | fMinimumMass |
double | fMinimumWidth |
int | fNParticles |
char | fParticleFilename [256] |
ParticlePDG * | fParticles [kMaxParticles] |
bool | fStatus [kMaxParticles] |
bool | fUseCharmParticles |
Definition at line 34 of file DatabasePDG.h.
DatabasePDG::DatabasePDG | ( | ) |
Definition at line 29 of file DatabasePDG.cc.
References python.connectstrParser::f1, python.connectstrParser::f2, timingPdfMaker::file1, edm::FileInPath::fullPath(), i, kMaxParticles, particlesDATAstr, AlCaHLTBitMon_QueryRunRegistry::string, and tableDECAYstr.
DatabasePDG::~DatabasePDG | ( | ) |
int DatabasePDG::CheckImpossibleDecays | ( | bool | dump = kFALSE | ) |
Definition at line 372 of file DatabasePDG.cc.
References gather_cfg::cout, ParticlePDG::GetMass(), and ParticlePDG::GetPDG().
void DatabasePDG::DumpData | ( | bool | dumpAll = kFALSE | ) |
Definition at line 318 of file DatabasePDG.cc.
References gather_cfg::cout, and ParticlePDG::GetMass().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int DatabasePDG::GetNAllowedChannels | ( | ParticlePDG * | particle, |
double | motherMass | ||
) |
Definition at line 650 of file DatabasePDG.cc.
References ParticlePDG::GetDecayChannel(), ParticlePDG::GetNDecayChannels(), and i.
Referenced by Decay().
int DatabasePDG::GetNParticles | ( | bool | all = kFALSE | ) |
Definition at line 574 of file DatabasePDG.cc.
References i.
Referenced by GrandCanonical::BaryonDensity(), GrandCanonical::CharmDensity(), GrandCanonical::ElectroDensity(), GrandCanonical::EnergyDensity(), gen::Hydjet2Hadronizer::initializeForInternalPartons(), GrandCanonical::StrangeDensity(), and NAStrangeDensity::StrangenessDensity().
|
inline |
ParticlePDG * DatabasePDG::GetPDGParticle | ( | int | pdg | ) |
Definition at line 222 of file DatabasePDG.cc.
References i.
Referenced by Decay(), gen::Hydjet2Hadronizer::generatePartonsAndHadronize(), and gen::Hydjet2Hadronizer::initializeForInternalPartons().
ParticlePDG * DatabasePDG::GetPDGParticle | ( | char * | name | ) |
ParticlePDG * DatabasePDG::GetPDGParticleByIndex | ( | int | index | ) |
Definition at line 202 of file DatabasePDG.cc.
References cmsHarvester::index.
Referenced by GrandCanonical::BaryonDensity(), GrandCanonical::CharmDensity(), GrandCanonical::ElectroDensity(), GrandCanonical::EnergyDensity(), gen::Hydjet2Hadronizer::initializeForInternalPartons(), GrandCanonical::StrangeDensity(), and NAStrangeDensity::StrangenessDensity().
bool DatabasePDG::GetPDGParticleStatus | ( | int | pdg | ) |
bool DatabasePDG::GetPDGParticleStatus | ( | char * | name | ) |
bool DatabasePDG::GetPDGParticleStatusByIndex | ( | int | index | ) |
Definition at line 212 of file DatabasePDG.cc.
References cmsHarvester::index.
|
inline |
bool DatabasePDG::IsChannelAllowed | ( | DecayChannel * | channel, |
double | motherMass | ||
) |
Definition at line 641 of file DatabasePDG.cc.
References DecayChannel::GetDaughterPDG(), DecayChannel::GetNDaughters(), and i.
bool DatabasePDG::LoadData | ( | ) |
|
private |
Definition at line 142 of file DatabasePDG.cc.
References ParticlePDG::AddChannel(), i, GetRecoTauVFromDQM_MC_cff::kk, and LogDebug.
|
private |
Definition at line 70 of file DatabasePDG.cc.
References EnergyCorrector::c, LogDebug, mergeVDriftHistosByStation::name, lumiQueryAPI::q, alignCSCRings::s, spin(), and create_public_lumi_plots::width.
void DatabasePDG::SetDecayFilename | ( | char * | filename | ) |
Definition at line 62 of file DatabasePDG.cc.
void DatabasePDG::SetMassRange | ( | double | min, |
double | max | ||
) |
Definition at line 514 of file DatabasePDG.cc.
References i, bookConverter::max, and min().
Referenced by InitialState::InitialState().
void DatabasePDG::SetMaximumMass | ( | double | value | ) |
void DatabasePDG::SetMaximumWidth | ( | double | value | ) |
void DatabasePDG::SetMinimumMass | ( | double | value | ) |
void DatabasePDG::SetMinimumWidth | ( | double | value | ) |
void DatabasePDG::SetParticleFilename | ( | char * | filename | ) |
Definition at line 58 of file DatabasePDG.cc.
void DatabasePDG::SetUseCharmParticles | ( | bool | flag | ) |
void DatabasePDG::SetWidthRange | ( | double | min, |
double | max | ||
) |
Definition at line 464 of file DatabasePDG.cc.
References i, bookConverter::max, and min().
Referenced by InitialState::InitialState().
|
private |
Definition at line 537 of file DatabasePDG.cc.
References i.
void DatabasePDG::UseThisListOfParticles | ( | char * | filename, |
bool | exclusive = kTRUE |
||
) |
Definition at line 584 of file DatabasePDG.cc.
References newFWLiteAna::found, i, kMaxParticles, and LogDebug.
|
private |
Definition at line 40 of file DatabasePDG.h.
Referenced by GetDecayFilename().
|
private |
Definition at line 45 of file DatabasePDG.h.
Referenced by GetMaximumMass().
|
private |
Definition at line 43 of file DatabasePDG.h.
Referenced by GetMaximumWidth().
|
private |
Definition at line 44 of file DatabasePDG.h.
Referenced by GetMinimumMass().
|
private |
Definition at line 42 of file DatabasePDG.h.
Referenced by GetMinimumWidth().
|
private |
Definition at line 36 of file DatabasePDG.h.
|
private |
Definition at line 39 of file DatabasePDG.h.
Referenced by GetParticleFilename().
|
private |
Definition at line 37 of file DatabasePDG.h.
|
private |
Definition at line 38 of file DatabasePDG.h.
|
private |
Definition at line 41 of file DatabasePDG.h.
Referenced by GetUseCharmParticles().