44 produces < edm::ValueMap<double> >();
74 auto isoMap = std::make_unique<edm::ValueMap<double>>();
76 std::vector<double> retV(photonHandle->size(),0);
80 for(
unsigned int i = 0 ;
i < photonHandle->size(); ++
i ){
81 double isoValue = myTkIsolation.getIso(&(photonHandle->at(
i))).second;
86 filler.insert(photonHandle,retV.begin(),retV.end());
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< Track > TrackCollection
collection of Tracks
edm::InputTag trackProducer_
edm::InputTag photonProducer_
edm::InputTag beamspotProducer_
EgammaPhotonTkIsolationProducer(const edm::ParameterSet &)
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
T const * product() const
~EgammaPhotonTkIsolationProducer()
const Point & position() const
position