32 produces<edm::PtrVector<reco::Candidate>>();
33 produces<edm::RefToBaseVector<reco::Candidate>>();
44 auto outColRef = std::make_unique<edm::RefToBaseVector<reco::Candidate>>();
45 auto outColPtr = std::make_unique<edm::PtrVector<reco::Candidate>>();
64 double dRval =
reco::deltaR((
float)eSC->eta(), (
float)eSC->phi(), scIt->eta(), scIt->phi());
68 outColRef->push_back(recoCandColl->refAt(
counter));
69 outColPtr->push_back(recoCandColl->ptrAt(
counter));
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
edm::EDGetTokenT< edm::View< reco::Candidate > > scCollectionToken_
ElectronMatchedCandidateProducer(const edm::ParameterSet &)
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
static std::atomic< unsigned int > counter
edm::EDGetTokenT< edm::View< reco::GsfElectron > > electronCollectionToken_