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