62 iConfig.existsAs<
std::
string>(
"objectSelection") ? iConfig.getParameter<
std::
string>(
"objectSelection") :
"",
64 produces<edm::ValueMap<float>>();
76 iEvent.getByToken(probesToken_, probes);
86 for (probe = probes->begin(); probe != endprobes; ++probe) {
87 double dr2min = 10000;
88 for (
unsigned int iObj = 0; iObj <
objects->size(); iObj++) {
101 auto valMap = std::make_unique<ValueMap<float>>();
DeltaRNearestObjectComputer< reco::GsfElectron > DeltaRNearestGsfElectronComputer
StringCutObjectSelector< T, true > objCut_
DeltaRNearestObjectComputer< reco::Muon > DeltaRNearestMuonComputer
edm::EDGetTokenT< edm::View< T > > objectsToken_
#define DEFINE_FWK_MODULE(type)
DeltaRNearestObjectComputer< reco::Candidate > DeltaRNearestCandidateComputer
DeltaRNearestObjectComputer< reco::Electron > DeltaRNearestElectronComputer
~DeltaRNearestObjectComputer() override
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
DeltaRNearestObjectComputer< reco::Jet > DeltaRNearestJetComputer
DeltaRNearestObjectComputer(const edm::ParameterSet &iConfig)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< edm::View< reco::Candidate > > probesToken_
DeltaRNearestObjectComputer< reco::Photon > DeltaRNearestPhotonComputer