57 : muons_(iConfig.getParameter<
edm::
InputTag>(
"src")) {
60 std::map<std::string, edm::ParameterSet> psetMap;
63 std::vector<std::string> isolationLabels;
64 isolationLabels.push_back(
"pfIsolationR03");
65 isolationLabels.push_back(
"pfIsoMeanDRProfileR03");
66 isolationLabels.push_back(
"pfIsoSumDRProfileR03");
67 isolationLabels.push_back(
"pfIsolationR04");
68 isolationLabels.push_back(
"pfIsoMeanDRProfileR04");
69 isolationLabels.push_back(
"pfIsoSumDRProfileR04");
72 for (std::vector<std::string>::const_iterator
label = isolationLabels.begin();
label != isolationLabels.end();
77 produces<reco::MuonCollection>();
100 auto out = std::make_unique<MuonCollection>();
102 for (
unsigned int i = 0;
i <
muons->size(); ++
i) {
void produce(edm::Event &, const edm::EventSetup &) override
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::MuonCollection > muonToken_
void addDefault(ParameterSetDescription const &psetDescription)
MuPFIsoEmbedder(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
int embedPFIsolation(reco::Muon &, reco::MuonRef &)
void beginEvent(const edm::Event &iEvent)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
~MuPFIsoEmbedder() override