48 deltaR2_(
std::
pow(iConfig.getParameter<double>(
"deltaR"), 2)),
50 iConfig.existsAs<
std::
string>(
"objectSelection") ? iConfig.getParameter<
std::
string>(
"objectSelection") :
"",
52 pairCut_(iConfig.existsAs<
std::
string>(
"pairSelection") ? iConfig.getParameter<
std::
string>(
"pairSelection") :
"",
54 produces<edm::ValueMap<float>>();
73 for (probe = probes->begin(); probe != endprobes; ++probe) {
75 for (
object = beginobjects;
object != endobjects; ++
object) {
84 auto valMap = std::make_unique<ValueMap<float>>();
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
edm::EDGetTokenT< edm::View< reco::Candidate > > objectsToken_
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< edm::View< reco::Candidate > > probesToken_
~NearbyCandCountComputer() override
Count candidates near to another candidate, write result in ValueMap.
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
NearbyCandCountComputer(const edm::ParameterSet &iConfig)
Power< A, B >::type pow(const A &a, const B &b)
StringCutObjectSelector< pat::DiObjectProxy, true > pairCut_
StringCutObjectSelector< reco::Candidate, true > objCut_