Go to the documentation of this file.
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>>();
edm::EDGetTokenT< edm::View< T > > objectsToken_
DeltaRNearestObjectComputer< reco::Electron > DeltaRNearestElectronComputer
StringCutObjectSelector< T, true > objCut_
DeltaRNearestObjectComputer< reco::Candidate > DeltaRNearestCandidateComputer
DeltaRNearestObjectComputer< reco::Photon > DeltaRNearestPhotonComputer
#define DEFINE_FWK_MODULE(type)
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
DeltaRNearestObjectComputer< reco::GsfElectron > DeltaRNearestGsfElectronComputer
DeltaRNearestObjectComputer< reco::Jet > DeltaRNearestJetComputer
edm::EDGetTokenT< edm::View< reco::Candidate > > probesToken_
DeltaRNearestObjectComputer< reco::Muon > DeltaRNearestMuonComputer
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
DeltaRNearestObjectComputer(const edm::ParameterSet &iConfig)
~DeltaRNearestObjectComputer() override