#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 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 ReflectedIterator.h.
|
inline |
Definition at line 8 of file ReflectedIterator.h.
References calculatePedestal(), coll, getEt(), getEta(), recoMuon::in, offsetCorrectJets(), rescaleRMS(), alignCSCRings::s, and subtractPedestal().
|
inlineoverride |
Definition at line 21 of file ReflectedIterator.h.
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 111 of file ReflectedIterator.cc.
References reco::e1, reco::e2, reco::Candidate::et(), mps_fire::i, LogDebug, nt, edm::second(), and mathSSE::sqrt().
Referenced by ReflectedIterator().
double ReflectedIterator::getEt | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 184 of file ReflectedIterator.cc.
References CaloTower::emEnergy(), stringResolutionProvider_cfi::et, edm::Ptr< T >::get(), CaloTower::hadEnergy(), CaloTower::id(), funct::sin(), and PV3DBase< T, PVType, FrameType >::theta().
Referenced by ReflectedIterator().
double ReflectedIterator::getEta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 192 of file ReflectedIterator.cc.
References PVValHelper::eta, PV3DBase< T, PVType, FrameType >::eta(), edm::Ptr< T >::get(), and CaloTower::id().
Referenced by ReflectedIterator().
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 16 of file ReflectedIterator.cc.
References def, reco::Candidate::et(), LogDebug, and edm::second().
Referenced by ReflectedIterator().
void ReflectedIterator::rescaleRMS | ( | double | s | ) |
|
overridevirtual |
Reimplemented from PileUpSubtractor.
Definition at line 67 of file ReflectedIterator.cc.
References reco::Candidate::et(), and LogDebug.
Referenced by ReflectedIterator().
bool ReflectedIterator::dropZeroTowers_ |
Definition at line 20 of file ReflectedIterator.h.
bool ReflectedIterator::sumRecHits_ |
Definition at line 19 of file ReflectedIterator.h.