#include <VoronoiSubtractor.h>
Public Member Functions | |
virtual void | calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) |
virtual void | calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) |
bool | match (fastjet::PseudoJet, fastjet::PseudoJet) |
virtual void | offsetCorrectJets () |
virtual void | setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) |
VoronoiSubtractor (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
~VoronoiSubtractor () | |
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 | ~PileUpSubtractor () |
Private Attributes | |
bool | addNegativesFromCone_ |
edm::Handle< reco::VoronoiMap > | backgrounds_ |
edm::Handle< reco::CandidateView > | candidates_ |
std::vector< int > | droppedCandidates_ |
bool | dropZeroTowers_ |
double | infinitesimalPt_ |
double | rParam_ |
edm::EDGetTokenT < reco::CandidateView > | srcCand_ |
edm::EDGetTokenT < edm::ValueMap < reco::VoronoiBackground > > | srcVor_ |
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 | |
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_ |
RangeDefPtr | fjRangeDef_ |
CaloGeometry const * | geo_ |
std::map< int, int > | geomtowers_ |
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 8 of file VoronoiSubtractor.h.
VoronoiSubtractor::VoronoiSubtractor | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 13 of file VoronoiSubtractor.cc.
|
inline |
Definition at line 19 of file VoronoiSubtractor.h.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 183 of file VoronoiSubtractor.cc.
References LogDebug.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 177 of file VoronoiSubtractor.cc.
References LogDebug.
bool VoronoiSubtractor::match | ( | fastjet::PseudoJet | cand1, |
fastjet::PseudoJet | cand2 | ||
) |
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 40 of file VoronoiSubtractor.cc.
References addNegativesFromCone_, candidates_, droppedCandidates_, PileUpSubtractor::fjJets_, i, cmsHarvester::index, PileUpSubtractor::jetOffset_, LogDebug, match(), and reco::VoronoiBackground::pt().
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 27 of file VoronoiSubtractor.cc.
References backgrounds_, candidates_, droppedCandidates_, PileUpSubtractor::geo_, edm::Event::getByToken(), PileUpSubtractor::jetOffset_, LogDebug, srcCand_, and srcVor_.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 120 of file VoronoiSubtractor.cc.
References candidates_, droppedCandidates_, cmsHarvester::index, infinitesimalPt_, LogDebug, and reco::VoronoiBackground::pt().
|
private |
Definition at line 28 of file VoronoiSubtractor.h.
Referenced by offsetCorrectJets().
|
private |
Definition at line 23 of file VoronoiSubtractor.h.
Referenced by setupGeometryMap().
|
private |
Definition at line 22 of file VoronoiSubtractor.h.
Referenced by offsetCorrectJets(), setupGeometryMap(), and subtractPedestal().
|
private |
Definition at line 26 of file VoronoiSubtractor.h.
Referenced by offsetCorrectJets(), setupGeometryMap(), and subtractPedestal().
|
private |
Definition at line 27 of file VoronoiSubtractor.h.
|
private |
Definition at line 29 of file VoronoiSubtractor.h.
Referenced by subtractPedestal().
|
private |
Definition at line 30 of file VoronoiSubtractor.h.
|
private |
Definition at line 24 of file VoronoiSubtractor.h.
Referenced by setupGeometryMap().
|
private |
Definition at line 25 of file VoronoiSubtractor.h.
Referenced by setupGeometryMap().