#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 edm::EventSetup &) |
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 15 of file PdtEntry.h.
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
HepPDT::ParticleData const & PdtEntry::data | ( | ) | const |
particle data
Definition at line 23 of file PdtEntry.cc.
References data_, and edm::hlt::Exception.
Referenced by cuy.FindIssue::__init__(), and converter::MassiveCandidateConverter::beginFirstRun().
std::string const & PdtEntry::name | ( | void | ) | const |
particle name
Definition at line 15 of file PdtEntry.cc.
References name_.
Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), and config.CFG::__str__().
int PdtEntry::pdgId | ( | ) | const |
PDG id.
Definition at line 7 of file PdtEntry.cc.
References edm::hlt::Exception, and pdgId_.
Referenced by Particle.Particle::__str__(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleDecaySelector::produce(), and PdgEntryReplacer::replace().
void PdtEntry::setup | ( | const edm::EventSetup & | es | ) |
fill data from Event Setup
Definition at line 31 of file PdtEntry.cc.
References data_, edm::hlt::Exception, edm::EventSetup::getData(), name_, AlCaHLTBitMon_ParallelJobs::p, and pdgId_.
Referenced by converter::MassiveCandidateConverter::beginFirstRun(), GenParticleDecaySelector::produce(), and PdgEntryReplacer::replace().
|
private |
|
private |
|
private |