#include <RecoJets/FFTJetProducers/plugins/FFTJetPileupProcessor.cc>
Protected Member Functions | |
void | beginJob () override |
void | endJob () override |
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 |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
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 |
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 |
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 buildKernelConvolver(), fftjetcms::FFTJetInterface::checkConfig(), convolvedFlow, fftjetcms::FFTJetInterface::energyFlow, etaFlatteningFactors, Exception, fftjetcms::fftjet_Grid2d_parser(), filterScales, edm::ParameterSet::getParameter(), nPercentiles, fftjetcms::FFTJetInterface::outputLabel, and percentileData.
|
delete |
|
delete |
|
override |
Definition at line 199 of file FFTJetPileupProcessor.cc.
|
overrideprotectedvirtual |
|
private |
Definition at line 172 of file FFTJetPileupProcessor.cc.
References convolver, convolverMaxBin, convolverMinBin, fftjetcms::FFTJetInterface::energyFlow, engine, Exception, edm::ParameterSet::getParameter(), kernel2d, and M_PI.
Referenced by FFTJetPileupProcessor().
|
overrideprotectedvirtual |
|
private |
Definition at line 326 of file FFTJetPileupProcessor.cc.
References fftjetcms::FFTJetInterface::energyFlow, PVValHelper::eta, etaFlatteningFactors, validate-o2o-wbm::f, flatteningTableCategory, flatteningTableName, flatteningTableRecord, h, StaticFFTJetRcdMapper< Mapper >::instance(), and HLT_FULL_cff::nEta.
Referenced by produce().
|
private |
Definition at line 267 of file FFTJetPileupProcessor.cc.
References fftjetcms::add_Grid2d_data(), currentFileNum, fftjetcms::FFTJetInterface::energyFlow, Exception, externalGridFiles, externalGridMaxEnergy, g, gridStream, recoMuon::in, cmsBatch::nFiles, mergeAndRegister::ntries, and SiPixelLorentzAngle_cfi::read.
Referenced by produce().
|
delete |
|
overrideprotectedvirtual |
Implements edm::EDProducer.
Definition at line 202 of file FFTJetPileupProcessor.cc.
References convolvedFlow, convolver, convolverMaxBin, convolverMinBin, fftjetcms::FFTJetInterface::discretizeEnergyFlow(), fftjetcms::FFTJetInterface::energyFlow, etaFlatteningFactors, externalGridFiles, filterScales, g, loadFlatteningFactors(), loadFlatteningFactorsFromDB, fftjetcms::FFTJetInterface::loadInputCollection(), mixExtraGrid(), nPercentiles, fftjetcms::FFTJetInterface::outputLabel, percentileData, pileupEtaPhiArea, edm::Event::put(), and submitPVResolutionJobs::q.
|
private |
Definition at line 82 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 79 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 96 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 95 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 105 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid().
|
private |
Definition at line 73 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 89 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), loadFlatteningFactors(), and produce().
|
private |
Definition at line 102 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid(), and produce().
|
private |
Definition at line 104 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid().
|
private |
Definition at line 85 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 116 of file FFTJetPileupProcessor.cc.
Referenced by loadFlatteningFactors().
|
private |
Definition at line 115 of file FFTJetPileupProcessor.cc.
Referenced by loadFlatteningFactors().
|
private |
Definition at line 114 of file FFTJetPileupProcessor.cc.
Referenced by loadFlatteningFactors().
|
private |
Definition at line 103 of file FFTJetPileupProcessor.cc.
Referenced by mixExtraGrid().
|
private |
Definition at line 76 of file FFTJetPileupProcessor.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 117 of file FFTJetPileupProcessor.cc.
Referenced by produce().
|
private |
Definition at line 92 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 108 of file FFTJetPileupProcessor.cc.
Referenced by FFTJetPileupProcessor(), and produce().
|
private |
Definition at line 99 of file FFTJetPileupProcessor.cc.
Referenced by produce().