#include <EgammaElectronTkIsolationProducer.h>
EgammaElectronTkIsolationProducer::EgammaElectronTkIsolationProducer |
( |
const edm::ParameterSet & |
config | ) |
|
|
explicit |
Definition at line 27 of file EgammaElectronTkIsolationProducer.cc.
References beamspotProducer_, conf_, drb_, electronProducer_, extRadius_, edm::ParameterSet::getParameter(), intRadiusBarrel_, intRadiusEndcap_, maxVtxDist_, ptMin_, stripBarrel_, stripEndcap_, and trackProducer_.
45 produces < edm::ValueMap<double> >();
T getParameter(std::string const &) const
edm::InputTag trackProducer_
edm::InputTag beamspotProducer_
edm::InputTag electronProducer_
EgammaElectronTkIsolationProducer::~EgammaElectronTkIsolationProducer |
( |
| ) |
|
|
override |
Definition at line 53 of file EgammaElectronTkIsolationProducer.cc.
References beamspotProducer_, drb_, electronProducer_, extRadius_, objects.autophobj::filler, edm::Event::getByLabel(), ElectronTkIsolation::getPtTracks(), mps_fire::i, intRadiusBarrel_, intRadiusEndcap_, maxVtxDist_, eostools::move(), edm::Handle< T >::product(), ptMin_, edm::Event::put(), stripBarrel_, stripEndcap_, findElectronsInSiStrips_cfi::trackCollection, trackProducer_, and l1t::tracks.
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());
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::vector< Track > TrackCollection
collection of Tracks
edm::InputTag trackProducer_
math::XYZPoint Point
point in the space
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
edm::InputTag beamspotProducer_
edm::InputTag electronProducer_
T const * product() const
edm::InputTag EgammaElectronTkIsolationProducer::beamspotProducer_ |
|
private |
double EgammaElectronTkIsolationProducer::drb_ |
|
private |
edm::InputTag EgammaElectronTkIsolationProducer::electronProducer_ |
|
private |
double EgammaElectronTkIsolationProducer::extRadius_ |
|
private |
double EgammaElectronTkIsolationProducer::intRadiusBarrel_ |
|
private |
double EgammaElectronTkIsolationProducer::intRadiusEndcap_ |
|
private |
double EgammaElectronTkIsolationProducer::maxVtxDist_ |
|
private |
double EgammaElectronTkIsolationProducer::ptMin_ |
|
private |
double EgammaElectronTkIsolationProducer::stripBarrel_ |
|
private |
double EgammaElectronTkIsolationProducer::stripEndcap_ |
|
private |