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