#include <RecoJets/FFTJetProducers/plugins/FFTJetPileupProcessor.cc>
Protected Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Protected Member Functions inherited from fftjetcms::FFTJetInterface | |
template<class Ptr > | |
void | checkConfig (const Ptr &ptr, const char *message) |
void | discretizeEnergyFlow () |
FFTJetInterface (const edm::ParameterSet &) | |
double | getEventScale () const |
void | loadInputCollection (const edm::Event &) |
bool | storeInSinglePrecision () const |
const reco::Particle::Point & | vertexUsed () const |
Private Member Functions | |
void | buildKernelConvolver (const edm::ParameterSet &) |
void | loadFlatteningFactors (const edm::EventSetup &iSetup) |
void | mixExtraGrid () |
Private Attributes | |
std::unique_ptr< fftjet::Grid2d< fftjetcms::Real > > | convolvedFlow |
std::unique_ptr< fftjet::AbsConvolverBase< Real > > | convolver |
unsigned | convolverMaxBin |
unsigned | convolverMinBin |
unsigned | currentFileNum |
std::unique_ptr< MyFFTEngine > | engine |
FFTJetLookupTableSequenceLoader | esLoader |
std::vector< double > | etaFlatteningFactors |
std::vector< std::string > | externalGridFiles |
double | externalGridMaxEnergy |
std::unique_ptr< fftjet::EquidistantInLogSpace > | filterScales |
std::string | flatteningTableCategory |
std::string | flatteningTableName |
std::string | flatteningTableRecord |
std::ifstream | gridStream |
std::unique_ptr< fftjet::AbsFrequencyKernel > | kernel2d |
bool | loadFlatteningFactorsFromDB |
unsigned | nPercentiles |
std::vector< double > | percentileData |
double | pileupEtaPhiArea |
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 |
Protected Attributes inherited from fftjetcms::FFTJetInterface | |
const AnomalousTower | anomalous |
std::vector< unsigned > | candidateIndex |
const bool | doPVCorrection |
std::unique_ptr< fftjet::Grid2d< fftjetcms::Real > > | energyFlow |
const std::vector< double > | etaDependentMagnutideFactors |
std::vector< fftjetcms::VectorLike > | eventData |
edm::Handle< reco::CandidateView > | inputCollection |
const edm::InputTag | inputLabel |
const JetType | jetType |
const std::string | outputLabel |
const edm::InputTag | srcPVs |
Description: Runs FFTJet multiscale pileup filtering code and saves the results
Implementation: [Notes on implementation]
Definition at line 53 of file FFTJetPileupProcessor.cc.
|
explicit |
Definition at line 123 of file FFTJetPileupProcessor.cc.
References DefaultFFTJetRcdMapper< DataType >::acquireToken(), buildKernelConvolver(), fftjetcms::FFTJetInterface::checkConfig(), convolvedFlow, fftjetcms::FFTJetInterface::energyFlow, esLoader, etaFlatteningFactors, Exception, fftjetcms::fftjet_Grid2d_parser(), filterScales, flatteningTableRecord, edm::ParameterSet::getParameter(), fftjetcommon_cfi::maxScale, fftjetcommon_cfi::minScale, nPercentiles, fftjetcommon_cfi::nScales, fftjetcms::FFTJetInterface::outputLabel, percentileData, and mitigatedMETSequence_cff::U.
|
delete |
|
delete |
|
override |
Definition at line 201 of file FFTJetPileupProcessor.cc.
|
private |
Definition at line 174 of file FFTJetPileupProcessor.cc.
References convolver, convolverMaxBin, convolverMinBin, fftjetcms::FFTJetInterface::energyFlow, engine, Exception, edm::ParameterSet::getParameter(), kernel2d, fftjeteflowsmoother_cfi::kernelEtaScale, fftjeteflowsmoother_cfi::kernelPhiScale, and M_PI.
Referenced by FFTJetPileupProcessor().
|
private |
Definition at line 322 of file FFTJetPileupProcessor.cc.
References fftjetcms::FFTJetInterface::energyFlow, esLoader, PVValHelper::eta, etaFlatteningFactors, f, flatteningTableCategory, flatteningTableName, flatteningTableRecord, h, LEDCalibrationChannels::ieta, DefaultFFTJetRcdMapper< DataType >::load(), HLT_2023v12_cff::nEta, and mitigatedMETSequence_cff::U.
Referenced by produce().
|
private |
Definition at line 269 of file FFTJetPileupProcessor.cc.
References fftjetcms::add_Grid2d_data(), currentFileNum, fftjetcms::FFTJetInterface::energyFlow, Exception, externalGridFiles, externalGridMaxEnergy, g, gridStream, recoMuon::in, mkLumiAveragedPlots::nFiles, mergeAndRegister::ntries, fileinputsource_cfi::read, and mitigatedMETSequence_cff::U.
Referenced by produce().
|
delete |
|
overrideprotected |
Definition at line 204 of file FFTJetPileupProcessor.cc.
References convolvedFlow, convolver, convolverMaxBin, convolverMinBin, fftjetcms::FFTJetInterface::discretizeEnergyFlow(), fftjetcms::FFTJetInterface::energyFlow, etaFlatteningFactors, externalGridFiles, filterScales, g, iEvent, loadFlatteningFactors(), loadFlatteningFactorsFromDB, fftjetcms::FFTJetInterface::loadInputCollection(), mixExtraGrid(), nPercentiles, fftjetcommon_cfi::nScales, fftjetcms::FFTJetInterface::outputLabel, percentileData, pileupEtaPhiArea, submitPVResolutionJobs::q, jetUpdater_cfi::sort, and mitigatedMETSequence_cff::U.
|
private |
Definition at line 80 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 77 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 94 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 93 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 103 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid().
|
private |
Definition at line 71 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 117 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and loadFlatteningFactors().
|
private |
Definition at line 87 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), loadFlatteningFactors(), and produce().
|
private |
Definition at line 100 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid(), and produce().
|
private |
Definition at line 102 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid().
|
private |
Definition at line 83 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 114 of file FFTJetPileupProcessor.cc.
Referenced by loadFlatteningFactors().
|
private |
Definition at line 113 of file FFTJetPileupProcessor.cc.
Referenced by loadFlatteningFactors().
|
private |
Definition at line 112 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and loadFlatteningFactors().
|
private |
Definition at line 101 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid().
|
private |
Definition at line 74 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 115 of file FFTJetPileupProcessor.cc.
Referenced by produce().
|
private |
Definition at line 90 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 106 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 97 of file FFTJetPileupProcessor.cc.
Referenced by produce().