#include <MultipleAlgoIterator.h>
Public Member Functions | |
void | calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) override |
void | calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) override |
double | getEt (const reco::CandidatePtr &in) const |
double | getEta (const reco::CandidatePtr &in) const |
MultipleAlgoIterator (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | offsetCorrectJets () override |
void | rescaleRMS (double s) |
void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) override |
Public Member Functions inherited from PileUpSubtractor | |
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 () |
Private Attributes | |
bool | dropZeroTowers_ |
double | minimumTowersFraction_ |
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 MultipleAlgoIterator.h.
MultipleAlgoIterator::MultipleAlgoIterator | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 11 of file MultipleAlgoIterator.cc.
References LogDebug, and minimumTowersFraction_.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 172 of file MultipleAlgoIterator.cc.
References PileUpSubtractor::allgeomid_, reco::deltaR(), l1ctLayer1_cff::dr, reco::Candidate::energy(), spr::find(), PileUpSubtractor::fjInputs_, PileUpSubtractor::fjJets_, PileUpSubtractor::fjOriginalInputs_, PileUpSubtractor::geo_, PileUpSubtractor::geomtowers_, CaloGeometry::getPosition(), PileUpSubtractor::ieta(), PileUpSubtractor::inputs_, PileUpSubtractor::iphi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, minimumTowersFraction_, PileUpSubtractor::ntowersWithJets_, PileUpSubtractor::puPtMin_, reco::Candidate::px(), reco::Candidate::py(), reco::Candidate::pz(), and PileUpSubtractor::radiusPU_.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 108 of file MultipleAlgoIterator.cc.
References StorageManager_cfg::e1, PileUpSubtractor::emean_, PileUpSubtractor::esigma_, reco::Candidate::et(), PileUpSubtractor::geomtowers_, getEt(), submitPVValidationJobs::gt, mps_fire::i, PileUpSubtractor::ieta(), PileUpSubtractor::ietamax_, PileUpSubtractor::ietamin_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, PileUpSubtractor::nSigmaPU_, nt, PileUpSubtractor::ntowersWithJets_, edm::second(), mathSSE::sqrt(), and sumRecHits_.
double MultipleAlgoIterator::getEt | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 225 of file MultipleAlgoIterator.cc.
References CaloTower::emEnergy(), hcalRecHitTable_cff::energy, EgHLTOffHistBins_cfi::et, PileUpSubtractor::geo_, CaloGeometry::getPosition(), CaloTower::hadEnergy(), CaloTower::id(), recoMuon::in, and funct::sin().
Referenced by calculatePedestal(), and subtractPedestal().
double MultipleAlgoIterator::getEta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 233 of file MultipleAlgoIterator.cc.
References PVValHelper::eta, PileUpSubtractor::geo_, CaloGeometry::getPosition(), CaloTower::id(), and recoMuon::in.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 25 of file MultipleAlgoIterator.cc.
References spu::def(), PileUpSubtractor::doAreaFastjet_, PileUpSubtractor::doRhoFastjet_, PileUpSubtractor::emean_, PileUpSubtractor::esigma_, reco::Candidate::et(), PileUpSubtractor::fjActiveArea_, PileUpSubtractor::fjClusterSeq_, PileUpSubtractor::fjInputs_, PileUpSubtractor::fjJetDefinition_, PileUpSubtractor::fjJets_, PileUpSubtractor::fjOriginalInputs_, PileUpSubtractor::ieta(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, PileUpSubtractor::jetOffset_, PileUpSubtractor::jetPtMin_, LogDebug, PileUpSubtractor::nSigmaPU_, rescaleRMS(), edm::second(), subtractPedestal(), and HLT_2024v12_cff::towers.
void MultipleAlgoIterator::rescaleRMS | ( | double | s | ) |
Definition at line 19 of file MultipleAlgoIterator.cc.
References PileUpSubtractor::esigma_, and alignCSCRings::s.
Referenced by offsetCorrectJets().
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 66 of file MultipleAlgoIterator.cc.
References dropZeroTowers_, PileUpSubtractor::emean_, PileUpSubtractor::esigma_, reco::Candidate::et(), getEt(), PileUpSubtractor::ieta(), PileUpSubtractor::iphi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, and sumRecHits_.
Referenced by offsetCorrectJets().
|
private |
Definition at line 20 of file MultipleAlgoIterator.h.
Referenced by subtractPedestal().
|
private |
Definition at line 18 of file MultipleAlgoIterator.h.
Referenced by calculateOrphanInput(), and MultipleAlgoIterator().
|
private |
Definition at line 19 of file MultipleAlgoIterator.h.
Referenced by calculatePedestal(), and subtractPedestal().