#include <EgammaElectronTkIsolationProducer.h>
◆ EgammaElectronTkIsolationProducer()
EgammaElectronTkIsolationProducer::EgammaElectronTkIsolationProducer |
( |
const edm::ParameterSet & |
config | ) |
|
|
explicit |
Definition at line 25 of file EgammaElectronTkIsolationProducer.cc.
42 produces<edm::ValueMap<double>>();
References beamspotProducer_, conf_, drb_, electronProducer_, extRadius_, edm::ParameterSet::getParameter(), intRadiusBarrel_, intRadiusEndcap_, maxVtxDist_, ptMin_, stripBarrel_, stripEndcap_, and trackProducer_.
◆ ~EgammaElectronTkIsolationProducer()
EgammaElectronTkIsolationProducer::~EgammaElectronTkIsolationProducer |
( |
| ) |
|
|
override |
◆ produce()
Definition at line 47 of file EgammaElectronTkIsolationProducer.cc.
58 auto isoMap = std::make_unique<edm::ValueMap<double>>();
60 std::vector<double> retV(electronHandle->size(), 0);
77 for (
unsigned int i = 0;
i < electronHandle->size(); ++
i) {
78 double isoValue = myTkIsolation.getPtTracks(&(electronHandle->at(
i)));
83 filler.insert(electronHandle, retV.begin(), retV.end());
References beamspotProducer_, drb_, electronProducer_, extRadius_, trigObjTnPSource_cfi::filler, ElectronTkIsolation::getPtTracks(), mps_fire::i, iEvent, intRadiusBarrel_, intRadiusEndcap_, maxVtxDist_, eostools::move(), ptMin_, stripBarrel_, stripEndcap_, duplicaterechits_cfi::trackCollection, trackProducer_, and PDWG_EXOHSCP_cff::tracks.
◆ beamspotProducer_
edm::InputTag EgammaElectronTkIsolationProducer::beamspotProducer_ |
|
private |
◆ conf_
◆ drb_
double EgammaElectronTkIsolationProducer::drb_ |
|
private |
◆ electronProducer_
edm::InputTag EgammaElectronTkIsolationProducer::electronProducer_ |
|
private |
◆ extRadius_
double EgammaElectronTkIsolationProducer::extRadius_ |
|
private |
◆ intRadiusBarrel_
double EgammaElectronTkIsolationProducer::intRadiusBarrel_ |
|
private |
◆ intRadiusEndcap_
double EgammaElectronTkIsolationProducer::intRadiusEndcap_ |
|
private |
◆ maxVtxDist_
double EgammaElectronTkIsolationProducer::maxVtxDist_ |
|
private |
◆ ptMin_
double EgammaElectronTkIsolationProducer::ptMin_ |
|
private |
◆ stripBarrel_
double EgammaElectronTkIsolationProducer::stripBarrel_ |
|
private |
◆ stripEndcap_
double EgammaElectronTkIsolationProducer::stripEndcap_ |
|
private |
◆ trackProducer_