|
void | beginStream (edm::StreamID) override |
|
void | endStream () override |
|
template<class C1 , class C2 , class C3 , class C4 > |
void | matchElectronToPhoton (const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany) |
|
template<class C1 , class C2 , class C3 , class C4 > |
void | matchLowPtToElectron (const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany) |
|
template<class C1 , class C2 , class C3 , class C4 > |
void | matchOneToMany (const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany) |
|
void | produce (edm::Event &, const edm::EventSetup &) override |
|
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 45 of file PATObjectCrossLinker.cc.
Definition at line 206 of file PATObjectCrossLinker.cc.
References MillePedeFileConverter_cfg::e, pwdgSkimBPark_cfi::electrons, electrons_, iEvent, dqmiolumiharvest::j, PDWG_EXODelayedJetMET_cff::jets, jets_, edm::InputTag::label(), nano_cff::lowPtElectrons, lowPtElectrons_, lowPtElectronsTag_, visualization-live-secondInstance_cfg::m, matchElectronToPhoton(), matchLowPtToElectron(), matchOneToMany(), eostools::move(), PDWG_BPHSkim_cff::muons, muons_, AlCaHLTBitMon_ParallelJobs::p, BPHMonitor_cfi::photons, photons_, submitPVValidationJobs::t, Tau3MuMonitor_cff::taus, and taus_.
210 auto jets = std::make_unique<std::vector<pat::Jet>>();
211 for (
const auto&
j : *jetsIn)
213 auto jetRefProd =
iEvent.getRefBeforePut<std::vector<pat::Jet>>(
"jets");
217 auto muons = std::make_unique<std::vector<pat::Muon>>();
218 for (
const auto&
m : *muonsIn)
220 auto muRefProd =
iEvent.getRefBeforePut<std::vector<pat::Muon>>(
"muons");
224 auto electrons = std::make_unique<std::vector<pat::Electron>>();
225 for (
const auto&
e : *electronsIn)
227 auto eleRefProd =
iEvent.getRefBeforePut<std::vector<pat::Electron>>(
"electrons");
230 auto lowPtElectrons = std::make_unique<std::vector<pat::Electron>>();
233 for (
const auto&
e : *lowPtElectronsIn) {
240 auto taus = std::make_unique<std::vector<pat::Tau>>();
241 for (
const auto&
t : *tausIn)
243 auto tauRefProd =
iEvent.getRefBeforePut<std::vector<pat::Tau>>(
"taus");
247 auto photons = std::make_unique<std::vector<pat::Photon>>();
248 for (
const auto&
p : *photonsIn)
250 auto phRefProd =
iEvent.getRefBeforePut<std::vector<pat::Photon>>(
"photons");
259 auto lowPtEleRefProd =
iEvent.getRefBeforePut<std::vector<pat::Electron>>(
"lowPtElectrons");
void matchOneToMany(const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany)
const edm::EDGetTokenT< edm::View< pat::Muon > > muons_
edm::EDGetTokenT< edm::View< pat::Electron > > lowPtElectrons_
const edm::EDGetTokenT< edm::View< pat::Jet > > jets_
const edm::EDGetTokenT< edm::View< pat::Electron > > electrons_
void matchElectronToPhoton(const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany)
void matchLowPtToElectron(const C1 &refProdOne, C2 &itemsOne, const std::string &nameOne, const C3 &refProdMany, C4 &itemsMany, const std::string &nameMany)
edm::InputTag lowPtElectronsTag_
const edm::EDGetTokenT< edm::View< pat::Tau > > taus_
const edm::EDGetTokenT< edm::View< pat::Photon > > photons_