#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 19 of file PdtEntry.h.
|
inlineexplicit |
default construct
Definition at line 22 of file PdtEntry.h.
Referenced by edm::pdtentry::getPdtEntry().
|
inlineexplicit |
|
inlineexplicit |
construct from particle name
Definition at line 26 of file PdtEntry.h.
References data, dataset::name, common_cff::pdgId, GeneralSetup::setup(), and AlCaHLTBitMon_QueryRunRegistry::string.
HepPDT::ParticleData const & PdtEntry::data | ( | ) | const |
particle data
Definition at line 21 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 14 of file PdtEntry.cc.
References name_.
Referenced by config.CFG::__str__(), and validation.Sample::digest().
int PdtEntry::pdgId | ( | ) | const |
PDG id.
Definition at line 7 of file PdtEntry.cc.
References 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 & | ) |
fill data from Event Setup
Definition at line 28 of file PdtEntry.cc.
References data_, Exception, edm::EventSetup::getData(), name_, AlCaHLTBitMon_ParallelJobs::p, and pdgId_.
Referenced by converter::MassiveCandidateConverter::beginFirstRun(), GenParticleDecaySelector::produce(), and PdgEntryReplacer::replace().
|
private |
|
private |
|
private |