#include <ReflectedIterator.h>
Public Member Functions | |
void | calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) override |
double | getEt (const reco::CandidatePtr &in) const |
double | getEta (const reco::CandidatePtr &in) const |
void | offsetCorrectJets () override |
ReflectedIterator (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | rescaleRMS (double s) |
void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) override |
~ReflectedIterator () override | |
Public Member Functions inherited from PileUpSubtractor | |
virtual void | calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) |
virtual double | getCone (double cone, double eta, double phi, double &et, double &pu) |
virtual double | getMeanAtTower (const reco::CandidatePtr &in) const |
int | getN (const reco::CandidatePtr &in) const |
int | getNwithJets (const reco::CandidatePtr &in) const |
virtual double | getPileUpAtTower (const reco::CandidatePtr &in) const |
virtual double | getPileUpEnergy (int ijet) const |
virtual double | getSigmaAtTower (const reco::CandidatePtr &in) const |
int | ieta (const reco::CandidatePtr &in) const |
int | iphi (const reco::CandidatePtr &in) const |
PileUpSubtractor (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
virtual void | reset (std::vector< edm::Ptr< reco::Candidate > > &input, std::vector< fastjet::PseudoJet > &towers, std::vector< fastjet::PseudoJet > &output) |
virtual void | setDefinition (JetDefPtr const &jetDef) |
virtual void | setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual | ~PileUpSubtractor () |
Public Attributes | |
bool | dropZeroTowers_ |
bool | sumRecHits_ |
Additional Inherited Members | |
Public Types inherited from PileUpSubtractor | |
typedef std::shared_ptr< fastjet::GhostedAreaSpec > | ActiveAreaSpecPtr |
typedef std::shared_ptr< fastjet::ClusterSequence > | ClusterSequencePtr |
typedef std::shared_ptr< fastjet::JetDefinition > | JetDefPtr |
typedef std::shared_ptr< fastjet::RangeDefinition > | RangeDefPtr |
Protected Attributes inherited from PileUpSubtractor | |
int | activeAreaRepeats |
std::vector< HcalDetId > | allgeomid_ |
bool | doAreaFastjet_ |
bool | doRhoFastjet_ |
std::map< int, double > | emean_ |
std::map< int, double > | esigma_ |
ActiveAreaSpecPtr | fjActiveArea_ |
ClusterSequencePtr | fjClusterSeq_ |
std::vector< fastjet::PseudoJet > * | fjInputs_ |
JetDefPtr | fjJetDefinition_ |
std::vector< fastjet::PseudoJet > * | fjJets_ |
std::vector< fastjet::PseudoJet > | fjOriginalInputs_ |
CaloGeometry const * | geo_ |
std::map< int, int > | geomtowers_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geoToken_ |
double | ghostArea |
double | ghostEtaMax |
int | ietamax_ |
int | ietamin_ |
std::vector< edm::Ptr< reco::Candidate > > * | inputs_ |
std::vector< double > | jetOffset_ |
double | jetPtMin_ |
double | nSigmaPU_ |
std::map< int, int > | ntowersWithJets_ |
double | puPtMin_ |
double | radiusPU_ |
bool | reRunAlgo_ |
Definition at line 6 of file ReflectedIterator.h.
|
inline |
Definition at line 8 of file ReflectedIterator.h.
|
inlineoverride |
Definition at line 23 of file ReflectedIterator.h.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 99 of file ReflectedIterator.cc.
References StorageManager_cfg::e1, reco::Candidate::et(), gctpf::getEt(), submitPVValidationJobs::gt, mps_fire::i, hcalRecHitTable_cff::ieta, LogDebug, nt, edm::second(), and mathSSE::sqrt().
double ReflectedIterator::getEt | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 163 of file ReflectedIterator.cc.
References CaloTower::emEnergy(), hcalRecHitTable_cff::energy, EgHLTOffHistBins_cfi::et, CaloTower::hadEnergy(), CaloTower::id(), recoMuon::in, and funct::sin().
double ReflectedIterator::getEta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 171 of file ReflectedIterator.cc.
References PVValHelper::eta, CaloTower::id(), and recoMuon::in.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 14 of file ReflectedIterator.cc.
References spu::def(), reco::Candidate::et(), hcalRecHitTable_cff::ieta, LogDebug, edm::second(), and HLT_2023v12_cff::towers.
void ReflectedIterator::rescaleRMS | ( | double | s | ) |
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 57 of file ReflectedIterator.cc.
References reco::Candidate::et(), gctpf::getEt(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, and LogDebug.
bool ReflectedIterator::dropZeroTowers_ |
Definition at line 22 of file ReflectedIterator.h.
bool ReflectedIterator::sumRecHits_ |
Definition at line 21 of file ReflectedIterator.h.