#include <RecoJets/FFTJetProducers/plugins/FFTJetPileupEstimator.cc>
Public Member Functions | |
FFTJetPileupEstimator (const edm::ParameterSet &) | |
FFTJetPileupEstimator ()=delete | |
FFTJetPileupEstimator (const FFTJetPileupEstimator &)=delete | |
FFTJetPileupEstimator & | operator= (const FFTJetPileupEstimator &)=delete |
~FFTJetPileupEstimator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Protected Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Member Functions | |
std::unique_ptr< reco::FFTJetPileupSummary > | calibrateFromConfig (double uncalibrated) const |
std::unique_ptr< reco::FFTJetPileupSummary > | calibrateFromDB (double uncalibrated, const edm::EventSetup &iSetup) const |
template<class Ptr > | |
void | checkConfig (const Ptr &ptr, const char *message) |
Private Attributes | |
std::unique_ptr< fftjet::Functor1< double, double > > | calibrationCurve |
std::string | calibrationCurveName |
std::string | calibTableCategory |
std::string | calibTableRecord |
double | cdfvalue |
FFTJetLookupTableSequenceLoader | esLoader |
unsigned | filterNumber |
edm::InputTag | inputLabel |
edm::EDGetTokenT< reco::DiscretizedEnergyFlow > | inputToken |
bool | loadCalibFromDB |
std::string | outputLabel |
double | ptToDensityFactor |
std::unique_ptr< fftjet::Functor1< double, double > > | uncertaintyCurve |
std::string | uncertaintyCurveName |
std::vector< double > | uncertaintyZones |
std::string | uncertaintyZonesName |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Description: applies calibration curve and estimates the actual pileup
Implementation: [Notes on implementation]
Definition at line 46 of file FFTJetPileupEstimator.cc.
|
explicit |
Definition at line 106 of file FFTJetPileupEstimator.cc.
References DefaultFFTJetRcdMapper< DataType >::acquireToken(), calibrationCurve, calibTableRecord, checkConfig(), esLoader, fftjetcms::fftjet_Function_parser(), edm::ParameterSet::getParameter(), inputLabel, inputToken, outputLabel, and uncertaintyCurve.
|
delete |
|
delete |
|
override |
Definition at line 132 of file FFTJetPileupEstimator.cc.
|
private |
Definition at line 166 of file FFTJetPileupEstimator.cc.
References mps_fire::i, ptToDensityFactor, mitigatedMETSequence_cff::U, and uncertaintyZones.
Referenced by produce().
|
private |
Definition at line 194 of file FFTJetPileupEstimator.cc.
References calibrationCurveName, calibTableCategory, calibTableRecord, esLoader, h, DefaultFFTJetRcdMapper< DataType >::load(), ptToDensityFactor, mitigatedMETSequence_cff::U, uncertaintyCurveName, and uncertaintyZonesName.
Referenced by produce().
|
inlineprivate |
Definition at line 64 of file FFTJetPileupEstimator.cc.
Referenced by FFTJetPileupEstimator().
|
delete |
|
overrideprotected |
Definition at line 139 of file FFTJetPileupEstimator.cc.
References calibrateFromConfig(), calibrateFromDB(), cdfvalue, Exception, filterNumber, h, iEvent, input, inputToken, loadCalibFromDB, eostools::move(), fftjetcommon_cfi::nScales, outputLabel, and edmLumisInFiles::summary.
|
private |
Definition at line 77 of file FFTJetPileupEstimator.cc.
Referenced by FFTJetPileupEstimator().
|
private |
Definition at line 96 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromDB().
|
private |
Definition at line 94 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromDB().
|
private |
Definition at line 93 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromDB(), and FFTJetPileupEstimator().
|
private |
Definition at line 73 of file FFTJetPileupEstimator.cc.
Referenced by produce().
|
private |
Definition at line 100 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromDB(), and FFTJetPileupEstimator().
|
private |
Definition at line 75 of file FFTJetPileupEstimator.cc.
Referenced by produce().
|
private |
Definition at line 69 of file FFTJetPileupEstimator.cc.
Referenced by FFTJetPileupEstimator().
|
private |
Definition at line 70 of file FFTJetPileupEstimator.cc.
Referenced by FFTJetPileupEstimator(), and produce().
|
private |
Definition at line 98 of file FFTJetPileupEstimator.cc.
Referenced by produce().
|
private |
Definition at line 72 of file FFTJetPileupEstimator.cc.
Referenced by FFTJetPileupEstimator(), and produce().
|
private |
Definition at line 74 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromConfig(), and calibrateFromDB().
|
private |
Definition at line 78 of file FFTJetPileupEstimator.cc.
Referenced by FFTJetPileupEstimator().
|
private |
Definition at line 97 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromDB().
|
private |
Definition at line 76 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromConfig().
|
private |
Definition at line 95 of file FFTJetPileupEstimator.cc.
Referenced by calibrateFromDB().