![]() |
![]() |
#include <RecoJets/FFTJetProducers/plugins/FFTJetEFlowSmoother.cc>
Protected Member Functions | |
void | beginJob () override |
void | endJob () override |
void | produce (edm::Event &, const edm::EventSetup &) override |
![]() | |
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 |
![]() | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
![]() | |
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 &) |
Private Attributes | |
std::unique_ptr< MyFFTEngine > | anotherEngine |
std::unique_ptr< fftjet::Grid2d< fftjetcms::Real > > | convolvedFlow |
std::unique_ptr< fftjet::AbsConvolverBase< Real > > | convolver |
std::unique_ptr< MyFFTEngine > | engine |
std::unique_ptr< fftjet::AbsFrequencyKernel1d > | etaKernel |
double | etConversionFactor |
std::unique_ptr< std::vector< double > > | iniScales |
std::unique_ptr< fftjet::AbsFrequencyKernel > | kernel2d |
std::unique_ptr< fftjet::AbsFrequencyKernel1d > | phiKernel |
double | scalePower |
Description: Runs FFTJet filtering code for multiple scales and saves the results
Implementation: [Notes on implementation]
Definition at line 51 of file FFTJetEFlowSmoother.cc.
|
explicit |
Definition at line 96 of file FFTJetEFlowSmoother.cc.
References buildKernelConvolver(), fftjetcms::FFTJetInterface::checkConfig(), convolvedFlow, fftjetcms::FFTJetInterface::energyFlow, fftjetcms::fftjet_Grid2d_parser(), fftjetcms::fftjet_ScaleSet_parser(), edm::ParameterSet::getParameter(), iniScales, and fftjetcms::FFTJetInterface::outputLabel.
|
delete |
|
delete |
|
override |
Definition at line 186 of file FFTJetEFlowSmoother.cc.
|
overrideprotectedvirtual |
|
private |
Definition at line 119 of file FFTJetEFlowSmoother.cc.
References anotherEngine, convolver, fftjeteflowsmoother_cfi::convolverMaxBin, fftjeteflowsmoother_cfi::convolverMinBin, fftjetcms::FFTJetInterface::energyFlow, engine, fftjeteflowsmoother_cfi::etaDependentScaleFactors, etaKernel, Exception, fftjeteflowsmoother_cfi::fixEfficiency, edm::ParameterSet::getParameter(), kernel2d, fftjeteflowsmoother_cfi::kernelEtaScale, fftjeteflowsmoother_cfi::kernelPhiScale, M_PI, and phiKernel.
Referenced by FFTJetEFlowSmoother().
|
overrideprotectedvirtual |
|
delete |
|
overrideprotectedvirtual |
Implements edm::EDProducer.
Definition at line 189 of file FFTJetEFlowSmoother.cc.
References convolvedFlow, convolver, fftjetcms::FFTJetInterface::discretizeEnergyFlow(), fftjetcms::FFTJetInterface::energyFlow, etConversionFactor, DQMScaleToClient_cfi::factor, g, fftjetcms::FFTJetInterface::getEventScale(), h, LEDCalibrationChannels::ieta, iEvent, iniScales, LEDCalibrationChannels::iphi, fftjetcms::FFTJetInterface::loadInputCollection(), M_PI, eostools::move(), HLT_2022v12_cff::nEta, HLT_2022v12_cff::nPhi, fftjetcommon_cfi::nScales, fftjetcms::FFTJetInterface::outputLabel, funct::pow(), scalePower, and mitigatedMETSequence_cff::U.
|
private |
Definition at line 76 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 69 of file FFTJetEFlowSmoother.cc.
Referenced by FFTJetEFlowSmoother(), and produce().
|
private |
Definition at line 84 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 75 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 80 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 90 of file FFTJetEFlowSmoother.cc.
Referenced by produce().
|
private |
Definition at line 72 of file FFTJetEFlowSmoother.cc.
Referenced by FFTJetEFlowSmoother(), and produce().
|
private |
Definition at line 79 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 81 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 87 of file FFTJetEFlowSmoother.cc.
Referenced by produce().