#include <PdgEntryReplacer.h>
Definition at line 9 of file PdgEntryReplacer.h.
◆ PdgEntryReplacer()
◆ replace()
string PdgEntryReplacer::replace |
( |
const std::string & |
| ) |
const |
Definition at line 6 of file PdgEntryReplacer.cc.
9 size_t p1 =
out.find_first_of(
'{');
10 if (
p1 == string::npos)
12 size_t p2 =
out.find_first_of(
'}',
p1 + 1);
13 if (
p2 == string::npos)
15 size_t n =
p2 -
p1 - 1;
20 o << particle.pdgId();
References recoMuon::in, dqmiodumpmetadata::n, Skims_PA_cff::name, EcalTangentSkim_cfg::o, MillePedeFileConverter_cfg::out, p1, p2, PdtEntry::pdgId(), alignCSCRings::s, and PdtEntry::setup().
◆ es_
const edm::EventSetup * es_