Go to the documentation of this file.
54 produces<reco::RecoEcalCandidateIsolationMap>();
63 descriptions.
add(
"hltEgammaHLTEleL1TrackIsolProducer",
desc);
72 auto recoEcalCandMap = std::make_unique<reco::RecoEcalCandidateIsolationMap>(
ecalCands);
74 for (
size_t candNr = 0; candNr <
ecalCands->size(); candNr++) {
77 for (
size_t eleNr = 0; eleNr < eles->size(); eleNr++) {
78 if ((*eles)[eleNr].superCluster() == recoEcalCandRef->superCluster()) {
87 recoEcalCandMap->insert(recoEcalCandRef, isol);
EgammaL1TkIsolation isolAlgo_
std::vector< RecoEcalCandidate > RecoEcalCandidateCollection
collectin of RecoEcalCandidate objects
const edm::EDGetTokenT< reco::RecoEcalCandidateCollection > ecalCandsToken_
U second(std::pair< T, U > const &p)
const edm::EDGetTokenT< L1TrackCollection > l1TrksToken_
edm::Ref< ElectronCollection > ElectronRef
reference to an object in a collection of Electron objects
~EgammaHLTEleL1TrackIsolProducer() override=default
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static edm::ParameterSetDescription makePSetDescription()
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
EgammaHLTEleL1TrackIsolProducer(const edm::ParameterSet &)
bool isNonnull() const
Checks for non-null.
std::vector< Electron > ElectronCollection
collectin of Electron objects
const edm::EDGetTokenT< reco::ElectronCollection > elesToken_
void produce(edm::StreamID sid, edm::Event &, const edm::EventSetup &) const override
std::vector< L1Track > L1TrackCollection
std::pair< int, double > calIsol(const reco::TrackBase &trk, const L1TrackCollection &l1Tks) const