#include <PileUpSubtractor.h>
Public Types | |
typedef boost::shared_ptr < fastjet::ActiveAreaSpec > | ActiveAreaSpecPtr |
typedef boost::shared_ptr < fastjet::ClusterSequence > | ClusterSequencePtr |
typedef boost::shared_ptr < fastjet::RangeDefinition > | RangeDefPtr |
Public Member Functions | |
virtual void | calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) |
virtual void | calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) |
virtual double | getMeanAtTower (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 |
virtual void | offsetCorrectJets () |
PileUpSubtractor (const edm::ParameterSet &iConfig) | |
virtual void | reset (std::vector< edm::Ptr< reco::Candidate > > &input, std::vector< fastjet::PseudoJet > &towers, std::vector< fastjet::PseudoJet > &output) |
virtual void | setAlgorithm (ClusterSequencePtr &algorithm) |
virtual void | setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) |
~PileUpSubtractor () | |
Protected Attributes | |
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_ |
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 | radiusPU_ |
bool | reRunAlgo_ |
Definition at line 19 of file PileUpSubtractor.h.
typedef boost::shared_ptr<fastjet::ActiveAreaSpec> PileUpSubtractor::ActiveAreaSpecPtr |
Definition at line 24 of file PileUpSubtractor.h.
typedef boost::shared_ptr<fastjet::ClusterSequence> PileUpSubtractor::ClusterSequencePtr |
Definition at line 23 of file PileUpSubtractor.h.
typedef boost::shared_ptr<fastjet::RangeDefinition> PileUpSubtractor::RangeDefPtr |
Definition at line 25 of file PileUpSubtractor.h.
PileUpSubtractor::PileUpSubtractor | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 18 of file PileUpSubtractor.cc.
References doAreaFastjet_, doRhoFastjet_, fjActiveArea_, fjRangeDef_, and edm::ParameterSet::getParameter().
|
inline |
Definition at line 28 of file PileUpSubtractor.h.
|
virtual |
Reimplemented in ParametrizedSubtractor.
Definition at line 208 of file PileUpSubtractor.cc.
References allgeomid_, reco::deltaR(), spr::find(), fjInputs_, fjJets_, fjOriginalInputs_, geo_, CaloGeometry::getPosition(), ieta(), getHLTprescales::index, inputs_, iphi(), LogDebug, ntowersWithJets_, and radiusPU_.
|
virtual |
Reimplemented in ParametrizedSubtractor, and MultipleAlgoIterator.
Definition at line 101 of file PileUpSubtractor.cc.
References emean_, esigma_, geomtowers_, gt, i, ieta(), ietamax_, ietamin_, LogDebug, nSigmaPU_, nt, ntowersWithJets_, edm::second(), and mathSSE::sqrt().
|
virtual |
Reimplemented in ParametrizedSubtractor.
Definition at line 324 of file PileUpSubtractor.cc.
References emean_, ieta(), and edm::second().
|
virtual |
Reimplemented in ParametrizedSubtractor.
Definition at line 334 of file PileUpSubtractor.cc.
References emean_, esigma_, ieta(), and edm::second().
|
inlinevirtual |
|
virtual |
Reimplemented in ParametrizedSubtractor.
Definition at line 329 of file PileUpSubtractor.cc.
References esigma_, ieta(), and edm::second().
int PileUpSubtractor::ieta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 339 of file PileUpSubtractor.cc.
References edm::hlt::Exception, edm::Ptr< T >::get(), CaloTower::id(), and CaloTowerDetId::ieta().
Referenced by calculateOrphanInput(), calculatePedestal(), ParametrizedSubtractor::getMeanAtTower(), getMeanAtTower(), ParametrizedSubtractor::getPileUpAtTower(), getPileUpAtTower(), ParametrizedSubtractor::getSigmaAtTower(), getSigmaAtTower(), ParametrizedSubtractor::offsetCorrectJets(), offsetCorrectJets(), ParametrizedSubtractor::setupGeometryMap(), setupGeometryMap(), ParametrizedSubtractor::subtractPedestal(), and subtractPedestal().
int PileUpSubtractor::iphi | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 351 of file PileUpSubtractor.cc.
References edm::hlt::Exception, edm::Ptr< T >::get(), CaloTower::id(), and CaloTowerDetId::iphi().
Referenced by calculateOrphanInput(), ParametrizedSubtractor::subtractPedestal(), and subtractPedestal().
|
virtual |
Reimplemented in ParametrizedSubtractor, and MultipleAlgoIterator.
Definition at line 271 of file PileUpSubtractor.cc.
References emean_, esigma_, fjClusterSeq_, fjJets_, ieta(), jetOffset_, LogDebug, dt_dqm_sourceclient_common_cff::reco, and edm::second().
|
virtual |
Definition at line 41 of file PileUpSubtractor.cc.
References fjInputs_, fjJets_, fjOriginalInputs_, i, collect_tpl::input, inputs_, and convertSQLitetoXML_cfg::output.
|
virtual |
Definition at line 55 of file PileUpSubtractor.cc.
References algorithm(), and fjClusterSeq_.
|
virtual |
Reimplemented in ParametrizedSubtractor.
Definition at line 59 of file PileUpSubtractor.cc.
References allgeomid_, geo_, geomtowers_, edm::EventSetup::get(), CaloGeometry::getValidDetIds(), DetId::Hcal, i, ieta(), ietamax_, ietamin_, LogDebug, ntowersWithJets_, and edm::ESHandle< class >::product().
|
virtual |
Reimplemented in ParametrizedSubtractor, and MultipleAlgoIterator.
Definition at line 175 of file PileUpSubtractor.cc.
References emean_, esigma_, ieta(), getHLTprescales::index, iphi(), and LogDebug.
|
protected |
Definition at line 68 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput(), ParametrizedSubtractor::setupGeometryMap(), and setupGeometryMap().
|
protected |
Definition at line 57 of file PileUpSubtractor.h.
Referenced by ParametrizedSubtractor::offsetCorrectJets(), and PileUpSubtractor().
|
protected |
Definition at line 58 of file PileUpSubtractor.h.
Referenced by ParametrizedSubtractor::offsetCorrectJets(), and PileUpSubtractor().
|
protected |
Definition at line 72 of file PileUpSubtractor.h.
Referenced by calculatePedestal(), getMeanAtTower(), getPileUpAtTower(), offsetCorrectJets(), ParametrizedSubtractor::setupGeometryMap(), and subtractPedestal().
|
protected |
Definition at line 71 of file PileUpSubtractor.h.
Referenced by calculatePedestal(), getPileUpAtTower(), getSigmaAtTower(), offsetCorrectJets(), ParametrizedSubtractor::setupGeometryMap(), and subtractPedestal().
|
protected |
Definition at line 62 of file PileUpSubtractor.h.
Referenced by ParametrizedSubtractor::offsetCorrectJets(), and PileUpSubtractor().
|
protected |
Definition at line 49 of file PileUpSubtractor.h.
Referenced by ParametrizedSubtractor::offsetCorrectJets(), offsetCorrectJets(), and setAlgorithm().
|
protected |
Definition at line 51 of file PileUpSubtractor.h.
Referenced by ParametrizedSubtractor::calculateOrphanInput(), calculateOrphanInput(), ParametrizedSubtractor::offsetCorrectJets(), and reset().
|
protected |
Definition at line 52 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput(), ParametrizedSubtractor::offsetCorrectJets(), offsetCorrectJets(), and reset().
|
protected |
Definition at line 53 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput(), ParametrizedSubtractor::offsetCorrectJets(), and reset().
|
protected |
Definition at line 63 of file PileUpSubtractor.h.
Referenced by PileUpSubtractor().
|
protected |
Definition at line 65 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput(), ParametrizedSubtractor::getEt(), ParametrizedSubtractor::getEta(), ParametrizedSubtractor::setupGeometryMap(), and setupGeometryMap().
|
protected |
Definition at line 69 of file PileUpSubtractor.h.
Referenced by calculatePedestal(), ParametrizedSubtractor::setupGeometryMap(), and setupGeometryMap().
|
protected |
Definition at line 66 of file PileUpSubtractor.h.
Referenced by calculatePedestal(), ParametrizedSubtractor::setupGeometryMap(), and setupGeometryMap().
|
protected |
Definition at line 67 of file PileUpSubtractor.h.
Referenced by calculatePedestal(), ParametrizedSubtractor::setupGeometryMap(), and setupGeometryMap().
|
protected |
Definition at line 50 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput(), and reset().
|
protected |
Definition at line 74 of file PileUpSubtractor.h.
Referenced by getPileUpEnergy(), ParametrizedSubtractor::offsetCorrectJets(), and offsetCorrectJets().
|
protected |
Definition at line 59 of file PileUpSubtractor.h.
Referenced by ParametrizedSubtractor::offsetCorrectJets().
|
protected |
Definition at line 60 of file PileUpSubtractor.h.
Referenced by calculatePedestal(), ParametrizedSubtractor::getPU(), and ParametrizedSubtractor::offsetCorrectJets().
|
protected |
Definition at line 70 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput(), calculatePedestal(), ParametrizedSubtractor::setupGeometryMap(), and setupGeometryMap().
|
protected |
Definition at line 61 of file PileUpSubtractor.h.
Referenced by calculateOrphanInput().
|
protected |
Definition at line 56 of file PileUpSubtractor.h.