42 trackPtMin_(
pset.getParameter<double>(
"trackPtMin")),
43 coneSize_(
pset.getParameter<double>(
"coneSize")) {
48 auto caloIsolations = std::make_unique<TkIsoMap>();
62 std::vector<double> iso(
nTracks);
68 double caloIso = -1.0;
70 for (
int j = 0;
j < nHighPtTracks; ++
j) {
71 const Candidate& highPtTkCand = (*highPtTracks)[
j];
72 if (
overlap(tkCand, highPtTkCand)) {
virtual double pt() const =0
transverse momentum
const edm::EDGetTokenT< reco::IsoDepositMap > isoDepsToken_
void produce(edm::StreamID, edm::Event &event, const edm::EventSetup &setup) const override
#define DEFINE_FWK_MODULE(type)
double depositWithin(double coneSize, const Vetos &vetos=Vetos(), bool skipDepositVeto=false) const
Get deposit.
edm::ValueMap< float > TkIsoMap
auto const & tracks
cannot be loose
IsolationProducerForTracks(const edm::ParameterSet &)
const edm::EDGetTokenT< reco::CandidateView > tracksToken_
const edm::EDGetTokenT< reco::CandidateView > highPtTracksToken_