47 ptMin_{
config.getParameter<
double>(
"ptMin")},
48 intRadiusBarrel_{
config.getParameter<
double>(
"intRadiusBarrel")},
49 intRadiusEndcap_{
config.getParameter<
double>(
"intRadiusEndcap")},
50 stripBarrel_{
config.getParameter<
double>(
"stripBarrel")},
51 stripEndcap_{
config.getParameter<
double>(
"stripEndcap")},
52 extRadius_{
config.getParameter<
double>(
"extRadius")},
53 maxVtxDist_{
config.getParameter<
double>(
"maxVtxDist")},
54 drb_{
config.getParameter<
double>(
"maxVtxDistXY")}
57 produces<edm::ValueMap<double>>();
65 auto isoMap = std::make_unique<edm::ValueMap<double>>();
67 std::vector<double> retV(electronHandle->size(), 0);
80 for (
unsigned int i = 0;
i < electronHandle->size(); ++
i) {
81 double isoValue = myTkIsolation.
getPtTracks(&(electronHandle->at(
i)));
86 filler.insert(electronHandle, retV.begin(), retV.end());
const double stripEndcap_
const double intRadiusEndcap_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const edm::EDGetTokenT< reco::TrackCollection > trackProducer_
const edm::EDGetTokenT< reco::BeamSpot > beamspotProducer_
#define DEFINE_FWK_MODULE(type)
const double stripBarrel_
const edm::EDGetTokenT< reco::GsfElectronCollection > electronProducer_
EgammaElectronTkIsolationProducer(const edm::ParameterSet &)
double getPtTracks(const reco::GsfElectron *) const
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
const double intRadiusBarrel_