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