#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(), runTauDisplay::dr, spr::find(), PileUpSubtractor::fjInputs_, PileUpSubtractor::fjJets_, PileUpSubtractor::fjOriginalInputs_, PileUpSubtractor::geo_, PileUpSubtractor::geomtowers_, CaloGeometry::getPosition(), PileUpSubtractor::ieta(), PileUpSubtractor::inputs_, PileUpSubtractor::iphi(), LogDebug, minimumTowersFraction_, PileUpSubtractor::ntowersWithJets_, PileUpSubtractor::puPtMin_, and PileUpSubtractor::radiusPU_.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 108 of file MultipleAlgoIterator.cc.
References PileUpSubtractor::emean_, PileUpSubtractor::esigma_, PileUpSubtractor::geomtowers_, getEt(), submitPVValidationJobs::gt, mps_fire::i, PileUpSubtractor::ieta(), PileUpSubtractor::ietamax_, PileUpSubtractor::ietamin_, 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(), relval_parameters_module::energy, PileUpSubtractor::geo_, edm::Ptr< T >::get(), CaloGeometry::getPosition(), CaloTower::hadEnergy(), CaloTower::id(), funct::sin(), and PV3DBase< T, PVType, FrameType >::theta().
Referenced by calculatePedestal(), and subtractPedestal().
double MultipleAlgoIterator::getEta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 233 of file MultipleAlgoIterator.cc.
References PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), PileUpSubtractor::geo_, edm::Ptr< T >::get(), CaloGeometry::getPosition(), and CaloTower::id().
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 25 of file MultipleAlgoIterator.cc.
References spu::def(), PileUpSubtractor::doAreaFastjet_, PileUpSubtractor::doRhoFastjet_, PileUpSubtractor::emean_, PileUpSubtractor::esigma_, PileUpSubtractor::fjActiveArea_, PileUpSubtractor::fjClusterSeq_, PileUpSubtractor::fjInputs_, PileUpSubtractor::fjJetDefinition_, PileUpSubtractor::fjJets_, PileUpSubtractor::fjOriginalInputs_, PileUpSubtractor::ieta(), PileUpSubtractor::jetOffset_, PileUpSubtractor::jetPtMin_, LogDebug, PileUpSubtractor::nSigmaPU_, dt_dqm_sourceclient_common_cff::reco, rescaleRMS(), edm::second(), subtractPedestal(), and HLT_FULL_cff::towers.
void MultipleAlgoIterator::rescaleRMS | ( | double | s | ) |
Definition at line 19 of file MultipleAlgoIterator.cc.
References PileUpSubtractor::esigma_.
Referenced by offsetCorrectJets().
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 66 of file MultipleAlgoIterator.cc.
References dropZeroTowers_, PileUpSubtractor::emean_, PileUpSubtractor::esigma_, getEt(), PileUpSubtractor::ieta(), PileUpSubtractor::iphi(), 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().