45 produces < edm::ValueMap<double> >();
65 auto isoMap = std::make_unique<edm::ValueMap<double>>();
67 std::vector<double> retV(electronHandle->size(),0);
75 for(
unsigned int i = 0 ;
i < electronHandle->size(); ++
i ){
76 double isoValue = myTkIsolation.
getPtTracks(&(electronHandle->at(
i)));
81 filler.insert(electronHandle,retV.begin(),retV.end());
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< Track > TrackCollection
collection of Tracks
edm::InputTag trackProducer_
~EgammaElectronTkIsolationProducer() override
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag beamspotProducer_
void produce(edm::Event &, const edm::EventSetup &) override
edm::InputTag electronProducer_
T const * product() const
double getPtTracks(const reco::GsfElectron *) const
EgammaElectronTkIsolationProducer(const edm::ParameterSet &)