#include <RecoJets/FFTJetProducers/plugins/FFTJetEFlowSmoother.cc>
Public Member Functions | |
FFTJetEFlowSmoother (const edm::ParameterSet &) | |
~FFTJetEFlowSmoother () | |
Public Member Functions inherited from fftjetcms::FFTJetInterface | |
virtual | ~FFTJetInterface () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Private Member Functions | |
void | buildKernelConvolver (const edm::ParameterSet &) |
FFTJetEFlowSmoother () | |
FFTJetEFlowSmoother (const FFTJetEFlowSmoother &) | |
FFTJetEFlowSmoother & | operator= (const FFTJetEFlowSmoother &) |
Private Attributes | |
std::auto_ptr< MyFFTEngine > | anotherEngine |
std::auto_ptr< fftjet::Grid2d < fftjetcms::Real > > | convolvedFlow |
std::auto_ptr < fftjet::AbsConvolverBase < Real > > | convolver |
std::auto_ptr< MyFFTEngine > | engine |
std::auto_ptr < fftjet::AbsFrequencyKernel1d > | etaKernel |
double | etConversionFactor |
std::auto_ptr< std::vector < double > > | iniScales |
std::auto_ptr < fftjet::AbsFrequencyKernel > | kernel2d |
std::auto_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 50 of file FFTJetEFlowSmoother.cc.
|
explicit |
Definition at line 97 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.
FFTJetEFlowSmoother::~FFTJetEFlowSmoother | ( | ) |
Definition at line 206 of file FFTJetEFlowSmoother.cc.
|
private |
|
private |
|
overrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 272 of file FFTJetEFlowSmoother.cc.
|
private |
Definition at line 125 of file FFTJetEFlowSmoother.cc.
References anotherEngine, convolver, fftjetcms::FFTJetInterface::energyFlow, engine, etaKernel, edm::hlt::Exception, edm::ParameterSet::getParameter(), kernel2d, M_PI, and phiKernel.
Referenced by FFTJetEFlowSmoother().
|
overrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 278 of file FFTJetEFlowSmoother.cc.
|
private |
|
overrideprotectedvirtual |
Implements edm::EDProducer.
Definition at line 212 of file FFTJetEFlowSmoother.cc.
References convolvedFlow, convolver, fftjetcms::FFTJetInterface::discretizeEnergyFlow(), fftjetcms::FFTJetInterface::energyFlow, etConversionFactor, g, fftjetcms::FFTJetInterface::getEventScale(), h, iniScales, fftjetcms::FFTJetInterface::loadInputCollection(), M_PI, HLT_25ns14e33_v1_cff::nEta, HLT_25ns14e33_v1_cff::nPhi, fftjetcms::FFTJetInterface::outputLabel, funct::pow(), edm::Event::put(), and scalePower.
|
private |
Definition at line 77 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 70 of file FFTJetEFlowSmoother.cc.
Referenced by FFTJetEFlowSmoother(), and produce().
|
private |
Definition at line 85 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver(), and produce().
|
private |
Definition at line 76 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 81 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 91 of file FFTJetEFlowSmoother.cc.
Referenced by produce().
|
private |
Definition at line 73 of file FFTJetEFlowSmoother.cc.
Referenced by FFTJetEFlowSmoother(), and produce().
|
private |
Definition at line 80 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 82 of file FFTJetEFlowSmoother.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 88 of file FFTJetEFlowSmoother.cc.
Referenced by produce().