#include <EgammaRecHitExtractor.h>
Public Member Functions | |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Track &track) const |
virtual reco::IsoDeposit | deposit (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::Candidate &c) const |
EgammaRecHitExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
EgammaRecHitExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &iC) | |
virtual void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) |
virtual | ~EgammaRecHitExtractor () |
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_ |
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_.
|
virtual |
Definition at line 107 of file EgammaRecHitExtractor.cc.
|
private |
Definition at line 166 of file EgammaRecHitExtractor.cc.
References reco::IsoDeposit::addDeposit(), reco::deltaPhi(), end, edm::SortedCollection< T, SORT >::end(), relval_parameters_module::energy, energyMin_, eta, PV3DBase< T, PVType, FrameType >::eta(), etMin_, extRadius_, spr::find(), edm::SortedCollection< T, SORT >::find(), flagsexclEB_, flagsexclEE_, CaloSubdetectorGeometry::getCells(), CaloGeometry::getPosition(), i, intRadius_, intStrip_, j, EcalRecHit::kGood, PV3DBase< T, PVType, FrameType >::mag(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), phi(), position, diffTwoXMLs::r2, severitiesexclEB_, severitiesexclEE_, EcalSeverityLevelAlgo::severityLevel(), useEt_, and vetoClustered_.
Referenced by deposit().
|
inlinevirtual |
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 mergeVDriftHistosByStation::name.
Referenced by deposit().
|
virtual |
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 110 of file EgammaRecHitExtractor.cc.
References funct::abs(), barrelEcalHitsToken_, collect(), deposit(), DetId::Ecal, EcalBarrel, EcalEndcap, endcapEcalHitsToken_, create_public_lumi_plots::exp, fakeNegativeDeposit_, edm::EventSetup::get(), reco::Candidate::get(), edm::Event::getByToken(), CaloGeometry::getSubdetectorGeometry(), intRadius_, metname, edm::ESHandle< class >::product(), sameTag_, funct::sin(), AlCaHLTBitMon_QueryRunRegistry::string, tryBoth_, and useEt_.
|
inlinevirtual |
fill vetoes: to exclude deposits at IsoDeposit creation stage check concrete extractors if it's no-op !
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 47 of file EgammaRecHitExtractor.h.
|
private |
Definition at line 67 of file EgammaRecHitExtractor.h.
Referenced by EgammaRecHitExtractor().
|
private |
Definition at line 69 of file EgammaRecHitExtractor.h.
Referenced by deposit().
|
private |
Definition at line 68 of file EgammaRecHitExtractor.h.
Referenced by EgammaRecHitExtractor().
|
private |
Definition at line 70 of file EgammaRecHitExtractor.h.
Referenced by deposit().
|
private |
Definition at line 63 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 62 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 64 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 71 of file EgammaRecHitExtractor.h.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 84 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 85 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 65 of file EgammaRecHitExtractor.h.
Referenced by collect(), deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 66 of file EgammaRecHitExtractor.h.
Referenced by collect().
|
private |
Definition at line 75 of file EgammaRecHitExtractor.h.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 82 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 83 of file EgammaRecHitExtractor.h.
Referenced by collect(), and EgammaRecHitExtractor().
|
private |
Definition at line 72 of file EgammaRecHitExtractor.h.
Referenced by deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 73 of file EgammaRecHitExtractor.h.
Referenced by collect(), deposit(), and EgammaRecHitExtractor().
|
private |
Definition at line 74 of file EgammaRecHitExtractor.h.
Referenced by collect().