#include <ParametrizedSubtractor.h>
Public Member Functions | |
virtual void | calculateOrphanInput (std::vector< fastjet::PseudoJet > &orphanInput) |
virtual void | calculatePedestal (std::vector< fastjet::PseudoJet > const &coll) |
double | getEt (const reco::CandidatePtr &in) const |
double | getEta (const reco::CandidatePtr &in) const |
virtual double | getMeanAtTower (const reco::CandidatePtr &in) const |
virtual double | getPileUpAtTower (const reco::CandidatePtr &in) const |
double | getPU (int ieta, bool addMean, bool addSigma) const |
virtual double | getSigmaAtTower (const reco::CandidatePtr &in) const |
virtual void | offsetCorrectJets () |
ParametrizedSubtractor (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
void | rescaleRMS (double s) |
virtual void | setupGeometryMap (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | subtractPedestal (std::vector< fastjet::PseudoJet > &coll) |
~ParametrizedSubtractor () | |
Public Member Functions inherited from PileUpSubtractor | |
virtual double | getCone (double cone, double eta, double phi, double &et, double &pu) |
int | getN (const reco::CandidatePtr &in) const |
int | getNwithJets (const reco::CandidatePtr &in) const |
virtual double | getPileUpEnergy (int ijet) 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 () |
Public Attributes | |
int | bin_ |
const CentralityBins * | cbins_ |
double | centrality_ |
edm::EDGetTokenT < reco::Centrality > | centTag_ |
bool | dropZeroTowers_ |
TF1 * | fMean |
TF1 * | fPU |
TF1 * | fRMS |
TH1D * | hC |
std::vector< TH1D * > | hEta |
std::vector< TH1D * > | hEtaMean |
std::vector< TH1D * > | hEtaRMS |
bool | interpolate_ |
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 | |
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 14 of file ParametrizedSubtractor.h.
ParametrizedSubtractor::ParametrizedSubtractor | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 25 of file ParametrizedSubtractor.cc.
|
inline |
Definition at line 30 of file ParametrizedSubtractor.h.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 154 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 105 of file ParametrizedSubtractor.cc.
double ParametrizedSubtractor::getEt | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 230 of file ParametrizedSubtractor.cc.
double ParametrizedSubtractor::getEta | ( | const reco::CandidatePtr & | in | ) | const |
Definition at line 247 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 254 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 264 of file ParametrizedSubtractor.cc.
double ParametrizedSubtractor::getPU | ( | int | ieta, |
bool | addMean, | ||
bool | addSigma | ||
) | const |
Definition at line 269 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 259 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 161 of file ParametrizedSubtractor.cc.
void ParametrizedSubtractor::rescaleRMS | ( | double | s | ) |
Definition at line 17 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 52 of file ParametrizedSubtractor.cc.
|
virtual |
Reimplemented from PileUpSubtractor.
Definition at line 109 of file ParametrizedSubtractor.cc.
int ParametrizedSubtractor::bin_ |
Definition at line 35 of file ParametrizedSubtractor.h.
const CentralityBins* ParametrizedSubtractor::cbins_ |
Definition at line 37 of file ParametrizedSubtractor.h.
double ParametrizedSubtractor::centrality_ |
Definition at line 36 of file ParametrizedSubtractor.h.
edm::EDGetTokenT<reco::Centrality> ParametrizedSubtractor::centTag_ |
Definition at line 38 of file ParametrizedSubtractor.h.
bool ParametrizedSubtractor::dropZeroTowers_ |
Definition at line 34 of file ParametrizedSubtractor.h.
TF1* ParametrizedSubtractor::fMean |
Definition at line 44 of file ParametrizedSubtractor.h.
TF1* ParametrizedSubtractor::fPU |
Definition at line 43 of file ParametrizedSubtractor.h.
TF1* ParametrizedSubtractor::fRMS |
Definition at line 45 of file ParametrizedSubtractor.h.
TH1D* ParametrizedSubtractor::hC |
Definition at line 46 of file ParametrizedSubtractor.h.
std::vector<TH1D*> ParametrizedSubtractor::hEta |
Definition at line 39 of file ParametrizedSubtractor.h.
std::vector<TH1D*> ParametrizedSubtractor::hEtaMean |
Definition at line 40 of file ParametrizedSubtractor.h.
std::vector<TH1D*> ParametrizedSubtractor::hEtaRMS |
Definition at line 41 of file ParametrizedSubtractor.h.
bool ParametrizedSubtractor::interpolate_ |
Definition at line 33 of file ParametrizedSubtractor.h.
bool ParametrizedSubtractor::sumRecHits_ |
Definition at line 32 of file ParametrizedSubtractor.h.