1 #ifndef Utilities_PdtEntry_h 2 #define Utilities_PdtEntry_h 62 Entry const *
e = getEntryPointerOrThrow_(
name);
76 inline PdtEntry ParameterSet::getParameter<PdtEntry>(
char const *
name)
const {
82 inline PdtEntry ParameterSet::getUntrackedParameter<PdtEntry>(
char const *
name)
const {
83 Entry const *
e = getEntryPointerOrThrow_(
name);
96 inline std::vector<PdtEntry> ParameterSet::getParameter<std::vector<PdtEntry>>(
std::string const &
name)
const {
102 inline std::vector<PdtEntry> ParameterSet::getUntrackedParameter<std::vector<PdtEntry>>(
104 Entry const *
e = getEntryPointerOrThrow_(
name);
109 inline std::vector<PdtEntry> ParameterSet::getUntrackedParameter<std::vector<PdtEntry>>(
118 inline std::vector<PdtEntry> ParameterSet::getParameter<std::vector<PdtEntry>>(
char const *
name)
const {
124 inline std::vector<PdtEntry> ParameterSet::getUntrackedParameter<std::vector<PdtEntry>>(
char const *
name)
const {
125 Entry const *
e = getEntryPointerOrThrow_(
name);
130 inline std::vector<PdtEntry> ParameterSet::getUntrackedParameter<std::vector<PdtEntry>>(
139 inline std::vector<std::string> ParameterSet::getParameterNamesForType<PdtEntry>(
bool trackiness)
const {
140 std::vector<std::string> ints = getParameterNamesForType<int>(trackiness);
141 std::vector<std::string>
strings = getParameterNamesForType<std::string>(trackiness);
147 inline std::vector<std::string> ParameterSet::getParameterNamesForType<std::vector<PdtEntry>>(
bool trackiness)
const {
148 std::vector<std::string> ints = getParameterNamesForType<std::vector<int>>(trackiness);
149 std::vector<std::string>
strings = getParameterNamesForType<std::vector<std::string>>(trackiness);
PdtEntry getPdtEntry(Entry const &e, char const *name)
const HepPDT::ParticleData & data() const
particle data
PdtEntry(int pdgId)
construct from PDG id
void setup(const HepPDT::ParticleDataTable &)
fill data from Event Setup
HepPDT::ParticleDataTable ParticleDataTable
std::string name_
particle name
std::vector< PdtEntry > getPdtEntryVector(Entry const &e, char const *name)
HepPDT::ParticleData ParticleData
const std::string & name() const
particle name
const HepPDT::ParticleData * data_
particle data
PdtEntry()
default construct
PdtEntry(const std::string &name)
construct from particle name