#include <EgammaRecHitExtractor.h>
Public Member Functions | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &c) const override |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override |
EgammaRecHitExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
EgammaRecHitExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &iC) | |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override |
~EgammaRecHitExtractor () override | |
Public Member Functions inherited from reco::isodeposit::IsoDepositExtractor | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
make single IsoDeposit based on a CandidateBaseRef as input More... | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
make single IsoDeposit based on trackRef as input More... | |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::CandidateBaseRef &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
virtual std::vector< reco::IsoDeposit > | deposits (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackBaseRef &track) const |
virtual void | initEvent (const edm::Event &, const edm::EventSetup &) |
perform some constly initialization More... | |
virtual | ~IsoDepositExtractor () |
Destructor. More... | |
Private Member Functions | |
void | collect (reco::IsoDeposit &deposit, const reco::SuperClusterRef &sc, const CaloSubdetectorGeometry *subdet, const CaloGeometry *caloGeom, const EcalRecHitCollection &hits, const EcalSeverityLevelAlgo *sevLevel, bool barrel) const |
Private Attributes | |
edm::InputTag | barrelEcalHitsTag_ |
edm::EDGetTokenT< EcalRecHitCollection > | barrelEcalHitsToken_ |
edm::InputTag | endcapEcalHitsTag_ |
edm::EDGetTokenT< EcalRecHitCollection > | endcapEcalHitsToken_ |
double | energyMin_ |
double | etMin_ |
double | extRadius_ |
bool | fakeNegativeDeposit_ |
std::vector< int > | flagsexclEB_ |
std::vector< int > | flagsexclEE_ |
double | intRadius_ |
double | intStrip_ |
bool | sameTag_ |
std::vector< int > | severitiesexclEB_ |
std::vector< int > | severitiesexclEE_ |
bool | tryBoth_ |
bool | useEt_ |
bool | vetoClustered_ |
Definition at line 41 of file EgammaRecHitExtractor.h.
|
inline |
Definition at line 43 of file EgammaRecHitExtractor.h.
EgammaRecHitExtractor::EgammaRecHitExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 41 of file EgammaRecHitExtractor.cc.
References barrelEcalHitsTag_, edm::InputTag::encode(), endcapEcalHitsTag_, Exception, fakeNegativeDeposit_, flagsexclEB_, flagsexclEE_, edm::ParameterSet::getParameter(), intRadius_, sameTag_, severitiesexclEB_, severitiesexclEE_, AlCaHLTBitMon_QueryRunRegistry::string, tryBoth_, and useEt_.
|
override |
Definition at line 103 of file EgammaRecHitExtractor.cc.
|
private |
Definition at line 162 of file EgammaRecHitExtractor.cc.
References reco::IsoDeposit::addDeposit(), Reference_intrackfit_cff::barrel, reco::deltaPhi(), deposit(), mps_fire::end, HCALHighEnergyHPDFilter_cfi::energy, energyMin_, EgHLTOffHistBins_cfi::et, PVValHelper::eta, etMin_, extRadius_, spr::find(), flagsexclEB_, flagsexclEE_, CaloSubdetectorGeometry::getCells(), CaloGeometry::getPosition(), hfClusterShapes_cfi::hits, mps_fire::i, intRadius_, intStrip_, dqmiolumiharvest::j, EcalRecHit::kGood, position, diffTwoXMLs::r2, severitiesexclEB_, severitiesexclEE_, EcalSeverityLevelAlgo::severityLevel(), useEt_, and vetoClustered_.
Referenced by deposit().
|
overridevirtual |
make single IsoDeposit based on a candidate as input purely virtual: have to implement in concrete implementations
Reimplemented from reco::isodeposit::IsoDepositExtractor.
Definition at line 105 of file EgammaRecHitExtractor.cc.
References funct::abs(), reco::IsoDeposit::addCandEnergy(), reco::IsoDeposit::addDeposit(), barrelEcalHitsToken_, collect(), deposit(), DetId::Ecal, EcalBarrel, EcalEndcap, endcapEcalHitsToken_, JetChargeProducer_cfi::exp, fakeNegativeDeposit_, edm::EventSetup::get(), get, reco::Candidate::get(), CaloGeometry::getSubdetectorGeometry(), iEvent, intRadius_, metname, edm::ESHandle< T >::product(), sameTag_, reco::IsoDeposit::setVeto(), funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, tryBoth_, and useEt_.
|
inlineoverridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 48 of file EgammaRecHitExtractor.h.
References Exception, and Skims_PA_cff::name.
|
inlineoverridevirtual |
fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 46 of file EgammaRecHitExtractor.h.
|
private |
Definition at line 73 of file EgammaRecHitExtractor.h.
Referenced by EgammaRecHitExtractor().
|
private |
Definition at line 75 of file EgammaRecHitExtractor.h.
Referenced by deposit().
|
private |
Definition at line 74 of file EgammaRecHitExtractor.h.
Referenced by EgammaRecHitExtractor().
|
private |
Definition at line 76 of file EgammaRecHitExtractor.h.
Referenced by deposit().
|
private |
Definition at line 69 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 68 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 70 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 77 of file EgammaRecHitExtractor.h.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 90 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 91 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 71 of file EgammaRecHitExtractor.h.
Referenced by collect(), deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 72 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 81 of file EgammaRecHitExtractor.h.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 88 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 89 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 78 of file EgammaRecHitExtractor.h.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 79 of file EgammaRecHitExtractor.h.
Referenced by collect(), deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 80 of file EgammaRecHitExtractor.h.
Referenced by collect().