#include <MultipleAlgoIterator.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 |
MultipleAlgoIterator (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | offsetCorrectJets () override |
void | rescaleRMS (double s) |
void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) override |
~MultipleAlgoIterator () 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 boost::shared_ptr< fastjet::GhostedAreaSpec > | ActiveAreaSpecPtr |
typedef boost::shared_ptr< fastjet::ClusterSequence > | ClusterSequencePtr |
typedef boost::shared_ptr< fastjet::JetDefinition > | JetDefPtr |
typedef boost::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_ |
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.
|
inline |
Definition at line 8 of file MultipleAlgoIterator.h.
References calculatePedestal(), coll, getEt(), getEta(), recoMuon::in, offsetCorrectJets(), rescaleRMS(), alignCSCRings::s, and subtractPedestal().
|
inlineoverride |
Definition at line 21 of file MultipleAlgoIterator.h.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 109 of file MultipleAlgoIterator.cc.
References reco::Candidate::et(), mps_fire::i, LogDebug, nt, edm::second(), and mathSSE::sqrt().
Referenced by MultipleAlgoIterator().
double MultipleAlgoIterator::getEt | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 186 of file MultipleAlgoIterator.cc.
References CaloTower::emEnergy(), randomXiThetaGunProducer_cfi::energy, stringResolutionProvider_cfi::et, edm::Ptr< T >::get(), CaloTower::hadEnergy(), CaloTower::id(), funct::sin(), and PV3DBase< T, PVType, FrameType >::theta().
Referenced by MultipleAlgoIterator().
double MultipleAlgoIterator::getEta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 194 of file MultipleAlgoIterator.cc.
References PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::Ptr< T >::get(), and CaloTower::id().
Referenced by MultipleAlgoIterator().
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 16 of file MultipleAlgoIterator.cc.
References def, reco::Candidate::et(), LogDebug, and edm::second().
Referenced by MultipleAlgoIterator().
void MultipleAlgoIterator::rescaleRMS | ( | double | s | ) |
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 65 of file MultipleAlgoIterator.cc.
References reco::Candidate::et(), and LogDebug.
Referenced by MultipleAlgoIterator().
bool MultipleAlgoIterator::dropZeroTowers_ |
Definition at line 20 of file MultipleAlgoIterator.h.
bool MultipleAlgoIterator::sumRecHits_ |
Definition at line 19 of file MultipleAlgoIterator.h.