1 #include "HepPDT/HeavyIonUnknownID.hh"
5 : pdtFileName(cfg.getParameter<edm::FileInPath>(
"pdtFileName")) {
7 findingRecord<PDTRecord>();
13 using namespace edm::es;
14 auto pdt = std::make_unique<PDT>(
"PDG table",
new HepPDT::HeavyIonUnknownID);
20 HepPDT::TableBuilder builder(*pdt);
21 if (!addParticleTable(pdtFile, builder)) {
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
static const IOVSyncValue & endOfTime()
edm::FileInPath pdtFileName
std::pair< Time_t, Time_t > ValidityInterval
HepPDTESSource(const edm::ParameterSet &)
constructor from parameter set
~HepPDTESSource() override
destructor
std::unique_ptr< PDT > ReturnType
define the return type
static const IOVSyncValue & beginOfTime()
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
set validity interval
ReturnType produce(const PDTRecord &)
return the particle table
std::string fullPath() const