#include <EgammaTowerExtractor.h>
Public Types | |
enum | HcalDepth { AllDepths =-1, Undefined =0, Depth1 =1, Depth2 =2 } |
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 |
EgammaTowerExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &&iC) | |
EgammaTowerExtractor (const edm::ParameterSet &par, edm::ConsumesCollector &iC) | |
void | fillVetos (const edm::Event &ev, const edm::EventSetup &evSetup, const reco::TrackCollection &tracks) override |
~EgammaTowerExtractor () 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 Attributes | |
edm::EDGetTokenT< CaloTowerCollection > | caloTowerToken |
int | depth_ |
double | etLow_ |
double | extRadius2_ |
double | intRadius_ |
Definition at line 35 of file EgammaTowerExtractor.h.
|
inline |
Definition at line 42 of file EgammaTowerExtractor.h.
|
inline |
Definition at line 44 of file EgammaTowerExtractor.h.
References AllDepths, Depth1, Depth2, depth_, Exception, extRadius2_, and ~EgammaTowerExtractor().
|
override |
|
inlineoverridevirtual |
make single IsoDeposit based on track as input purely virtual: have to implement in concrete implementations
Implements reco::isodeposit::IsoDepositExtractor.
Definition at line 63 of file EgammaTowerExtractor.h.
References EnergyCorrector::c, ev, Exception, and dataset::name.
|
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 33 of file EgammaTowerExtractor.cc.
References edm::SortedCollection< T, SORT >::begin(), reco::isodeposit::Direction::deltaR2(), edm::SortedCollection< T, SORT >::end(), JetChargeProducer_cfi::exp, reco::Candidate::get(), edm::Event::getByToken(), SimDataFormats::CaloAnalysis::sc, and funct::sin().
|
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 61 of file EgammaTowerExtractor.h.
|
private |
Definition at line 77 of file EgammaTowerExtractor.h.
|
private |
Definition at line 78 of file EgammaTowerExtractor.h.
Referenced by EgammaTowerExtractor().
|
private |
Definition at line 74 of file EgammaTowerExtractor.h.
|
private |
Definition at line 72 of file EgammaTowerExtractor.h.
Referenced by EgammaTowerExtractor().
|
private |
Definition at line 73 of file EgammaTowerExtractor.h.