#include <PdtEntry.h>
Public Member Functions | |
const HepPDT::ParticleData & | data () const |
particle data More... | |
const std::string & | name () const |
particle name More... | |
int | pdgId () const |
PDG id. More... | |
PdtEntry () | |
default construct More... | |
PdtEntry (int pdgId) | |
construct from PDG id More... | |
PdtEntry (const std::string &name) | |
construct from particle name More... | |
void | setup (const HepPDT::ParticleDataTable &) |
fill data from Event Setup More... | |
Private Attributes | |
const HepPDT::ParticleData * | data_ |
particle data More... | |
std::string | name_ |
particle name More... | |
int | pdgId_ |
PDG id. More... | |
Definition at line 20 of file PdtEntry.h.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
HepPDT::ParticleData const & PdtEntry::data | ( | ) | const |
particle data
Definition at line 19 of file PdtEntry.cc.
References data_, and Exception.
Referenced by converter::MassiveCandidateConverter::beginFirstRun().
std::string const & PdtEntry::name | ( | void | ) | const |
particle name
Definition at line 12 of file PdtEntry.cc.
References name_.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
int PdtEntry::pdgId | ( | ) | const |
PDG id.
Definition at line 5 of file PdtEntry.cc.
References Exception, and pdgId_.
Referenced by Particle.Particle::__str__(), converter::TrackToCandidate::convert(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), pdgEntryReplace(), and GenParticleDecaySelector::produce().
void PdtEntry::setup | ( | const HepPDT::ParticleDataTable & | pdt | ) |
fill data from Event Setup
Definition at line 26 of file PdtEntry.cc.
References data_, Exception, name_, AlCaHLTBitMon_ParallelJobs::p, and pdgId_.
Referenced by converter::MassiveCandidateConverter::beginFirstRun(), pdgEntryReplace(), and GenParticleDecaySelector::produce().
|
private |
|
private |
|
private |