54 ptMin_(
config.getParameter<
double>(
"ptMin")),
55 intRadiusBarrel_(
config.getParameter<
double>(
"intRadiusBarrel")),
56 intRadiusEndcap_(
config.getParameter<
double>(
"intRadiusEndcap")),
57 stripBarrel_(
config.getParameter<
double>(
"stripBarrel")),
58 stripEndcap_(
config.getParameter<
double>(
"stripEndcap")),
59 extRadius_(
config.getParameter<
double>(
"extRadius")),
60 maxVtxDist_(
config.getParameter<
double>(
"maxVtxDist")),
61 drb_(
config.getParameter<
double>(
"maxVtxDistXY")) {
63 produces<edm::ValueMap<double>>();
74 auto isoMap = std::make_unique<edm::ValueMap<double>>();
76 std::vector<double> retV(photonHandle->size(), 0);
89 for (
unsigned int i = 0;
i < photonHandle->size(); ++
i) {
90 double isoValue = myTkIsolation.
getIso(&(photonHandle->at(
i))).second;
95 filler.insert(photonHandle, retV.begin(), retV.end());
const edm::EDGetTokenT< reco::BeamSpot > beamspotProducer_
const edm::EDGetTokenT< edm::View< reco::Candidate > > photonProducer_
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
const double stripEndcap_
std::pair< int, float > getIso(const reco::Candidate *) const
EgammaPhotonTkIsolationProducer(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
const edm::EDGetTokenT< reco::TrackCollection > trackProducer_
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
const double intRadiusEndcap_
const double stripBarrel_
const double intRadiusBarrel_