25 photonProducer_(config.getParameter<
edm::
InputTag>(
"photonProducer")),
27 trackProducer_(config.getParameter<
edm::
InputTag>(
"trackProducer")),
28 beamspotProducer_(config.getParameter<
edm::
InputTag>(
"BeamspotProducer")),
30 ptMin_(config.getParameter<double>(
"ptMin")),
31 intRadiusBarrel_(config.getParameter<double>(
"intRadiusBarrel")),
32 intRadiusEndcap_(config.getParameter<double>(
"intRadiusEndcap")),
33 stripBarrel_(config.getParameter<double>(
"stripBarrel")),
34 stripEndcap_(config.getParameter<double>(
"stripEndcap")),
35 extRadius_(config.getParameter<double>(
"extRadius")),
36 maxVtxDist_(config.getParameter<double>(
"maxVtxDist")),
37 drb_(config.getParameter<double>(
"maxVtxDistXY"))
41 produces<edm::ValueMap<int>>();
69 auto isoMap = std::make_unique<edm::ValueMap<int>>();
71 std::vector<int> retV(photonHandle->size(), 0);
84 for (
unsigned int i = 0;
i < photonHandle->size(); ++
i) {
85 int isoValue = myTkIsolation.getIso(&(photonHandle->at(
i))).first;
90 filler.insert(photonHandle, retV.begin(), retV.end());
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
~EgammaPhotonTkNumIsolationProducer() override
std::vector< Track > TrackCollection
collection of Tracks
const double intRadiusBarrel_
EgammaPhotonTkNumIsolationProducer(const edm::ParameterSet &)
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
const double stripBarrel_
T const * product() const
const edm::InputTag trackProducer_
const edm::InputTag photonProducer_
const Point & position() const
position
const edm::InputTag beamspotProducer_
const double intRadiusEndcap_
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
const double stripEndcap_