Public Member Functions | |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const override |
reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &c) 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::TrackBaseRef &track) const |
make single IsoDeposit based on trackRef as input More... | |
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 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 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 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_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geometryToken_ |
double | intRadius_ |
double | intStrip_ |
bool | sameTag_ |
std::vector< int > | severitiesexclEB_ |
std::vector< int > | severitiesexclEE_ |
edm::ESGetToken< EcalSeverityLevelAlgo, EcalSeverityLevelAlgoRcd > | sevlvToken_ |
bool | tryBoth_ |
bool | useEt_ |
bool | vetoClustered_ |
Definition at line 43 of file EgammaRecHitExtractor.cc.
|
inline |
Definition at line 45 of file EgammaRecHitExtractor.cc.
EgammaRecHitExtractor::EgammaRecHitExtractor | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 107 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 171 of file EgammaRecHitExtractor.cc.
|
private |
Definition at line 217 of file EgammaRecHitExtractor.cc.
References reco::IsoDeposit::addDeposit(), Reference_intrackfit_cff::barrel, reco::deltaPhi(), deposit(), hcalRecHitTable_cff::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().
|
inlineoverridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 50 of file EgammaRecHitExtractor.cc.
References Exception, and Skims_PA_cff::name.
Referenced by collect(), and 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 173 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_, geometryToken_, reco::Candidate::get(), edm::EventSetup::getData(), CaloGeometry::getSubdetectorGeometry(), iEvent, intRadius_, metname, sameTag_, reco::IsoDeposit::setVeto(), sevlvToken_, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, tryBoth_, and useEt_.
|
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 48 of file EgammaRecHitExtractor.cc.
|
private |
Definition at line 75 of file EgammaRecHitExtractor.cc.
Referenced by EgammaRecHitExtractor().
|
private |
Definition at line 77 of file EgammaRecHitExtractor.cc.
Referenced by deposit().
|
private |
Definition at line 76 of file EgammaRecHitExtractor.cc.
Referenced by EgammaRecHitExtractor().
|
private |
Definition at line 78 of file EgammaRecHitExtractor.cc.
Referenced by deposit().
|
private |
Definition at line 71 of file EgammaRecHitExtractor.cc.
Referenced by collect().
|
private |
Definition at line 70 of file EgammaRecHitExtractor.cc.
Referenced by collect().
|
private |
Definition at line 72 of file EgammaRecHitExtractor.cc.
Referenced by collect().
|
private |
Definition at line 81 of file EgammaRecHitExtractor.cc.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 94 of file EgammaRecHitExtractor.cc.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 95 of file EgammaRecHitExtractor.cc.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 79 of file EgammaRecHitExtractor.cc.
Referenced by deposit().
|
private |
Definition at line 73 of file EgammaRecHitExtractor.cc.
Referenced by collect(), deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 74 of file EgammaRecHitExtractor.cc.
Referenced by collect().
|
private |
Definition at line 85 of file EgammaRecHitExtractor.cc.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 92 of file EgammaRecHitExtractor.cc.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 93 of file EgammaRecHitExtractor.cc.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 80 of file EgammaRecHitExtractor.cc.
Referenced by deposit().
|
private |
Definition at line 82 of file EgammaRecHitExtractor.cc.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 83 of file EgammaRecHitExtractor.cc.
Referenced by collect(), deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 84 of file EgammaRecHitExtractor.cc.
Referenced by collect().