26 photonProducer_ (config.getParameter<
edm::InputTag>(
"photonProducer")),
28 trackProducer_ (config.getParameter<
edm::InputTag>(
"trackProducer")),
29 beamspotProducer_ (config.getParameter<
edm::InputTag>(
"BeamspotProducer")),
31 ptMin_ (config.getParameter<double>(
"ptMin")),
32 intRadiusBarrel_ (config.getParameter<double>(
"intRadiusBarrel")),
33 intRadiusEndcap_ (config.getParameter<double>(
"intRadiusEndcap")),
34 stripBarrel_ (config.getParameter<double>(
"stripBarrel")),
35 stripEndcap_ (config.getParameter<double>(
"stripEndcap")),
36 extRadius_ (config.getParameter<double>(
"extRadius")),
37 maxVtxDist_ (config.getParameter<double>(
"maxVtxDist")),
38 drb_ (config.getParameter<double>(
"maxVtxDistXY"))
42 produces < edm::ValueMap<int> >();
73 auto isoMap = std::make_unique<edm::ValueMap<int>>();
75 std::vector<int> retV(photonHandle->size(),0);
79 for(
unsigned int i = 0 ;
i < photonHandle->size(); ++
i ){
80 int isoValue = myTkIsolation.getIso(&(photonHandle->at(
i))).first;
87 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_