#include <RecoJets/FFTJetProducer/plugins/FFTJetPatRecoProducer.cc>
Protected Types | |
typedef fftjet::ProximityClusteringTree< fftjet::Peak, long > | ClusteringTree |
typedef fftjet::ClusteringSequencer< Real > | Sequencer |
typedef fftjet::SparseClusteringTree< fftjet::Peak, long > | SparseTree |
typedef fftjet::ClusteringTreeSparsifier< fftjet::Peak, long > | Sparsifier |
Protected Member Functions | |
void | beginJob () override |
template<class Real > | |
void | buildDenseProduct (edm::Event &) const |
void | buildKernelConvolver (const edm::ParameterSet &) |
fftjet::PeakFinder | buildPeakFinder (const edm::ParameterSet &) |
template<class Real > | |
void | buildSparseProduct (edm::Event &) const |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Protected Attributes | |
std::unique_ptr< MyFFTEngine > | anotherEngine |
ClusteringTree * | clusteringTree |
const double | completeEventDataCutoff |
std::unique_ptr< fftjet::AbsConvolverBase< Real > > | convolver |
std::unique_ptr< fftjet::AbsDistanceCalculator< fftjet::Peak > > | distanceCalc |
std::unique_ptr< MyFFTEngine > | engine |
std::unique_ptr< fftjet::AbsFrequencyKernel1d > | etaKernel |
std::unique_ptr< fftjet::AbsFrequencyKernel > | kernel2d |
const bool | makeClusteringTree |
std::unique_ptr< fftjet::Functor1< bool, fftjet::Peak > > | peakSelector |
std::unique_ptr< fftjet::AbsFrequencyKernel1d > | phiKernel |
std::unique_ptr< Sequencer > | sequencer |
SparseTree | sparseTree |
std::unique_ptr< Sparsifier > | sparsifier |
const bool | sparsify |
const bool | storeDiscretizationGrid |
const bool | verifyDataConversion |
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 |
Private Member Functions | |
FFTJetPatRecoProducer ()=delete | |
FFTJetPatRecoProducer (const FFTJetPatRecoProducer &)=delete | |
FFTJetPatRecoProducer & | operator= (const FFTJetPatRecoProducer &)=delete |
Private Attributes | |
std::ofstream | externalGridStream |
fftjet::Grid2d< float > * | extGrid |
bool | storeGridsExternally |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Description: Runs FFTJet pattern recognition stage and saves the results
Implementation: [Notes on implementation]
Definition at line 63 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 71 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 73 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 72 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 74 of file FFTJetPatRecoProducer.cc.
|
explicit |
Definition at line 152 of file FFTJetPatRecoProducer.cc.
References buildKernelConvolver(), buildPeakFinder(), fftjetcms::FFTJetInterface::checkConfig(), clusteringTree, convolver, fwrapper::cs, distanceCalc, fftjetcms::FFTJetInterface::energyFlow, Exception, fftjetpatrecoproducer_cfi::externalGridFile, externalGridStream, fftjetcms::fftjet_ClusteringTreeSparsifier_parser(), fftjetcms::fftjet_DistanceCalculator_parser(), fftjetcms::fftjet_Grid2d_parser(), fftjetcms::fftjet_PeakSelector_parser(), fftjetcms::fftjet_ScaleSet_parser(), fftjetcms::FFTJetInterface::getEventScale(), edm::ParameterSet::getParameter(), mps_fire::i, makeClusteringTree, fftjetpatrecoproducer_cfi::maxAdaptiveScales, fftjetpatrecoproducer_cfi::minAdaptiveRatioLog, MillePedeFileConverter_cfg::out, fftjetcms::FFTJetInterface::outputLabel, peakSelector, sequencer, sparsifier, fftjetpatrecoproducer_cfi::SparsifierConfiguration, storeDiscretizationGrid, storeGridsExternally, fftjetcms::FFTJetInterface::storeInSinglePrecision(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetdijetfilter_cfi::TreeDistanceCalculator.
|
override |
Definition at line 356 of file FFTJetPatRecoProducer.cc.
References clusteringTree, and extGrid.
|
privatedelete |
|
privatedelete |
|
overrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 496 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 396 of file FFTJetPatRecoProducer.cc.
References trackerTree::check(), clusteringTree, fftjetcms::densePeakTreeFromStorable(), fftjetcms::densePeakTreeToStorable(), distanceCalc, Exception, fftjetcms::FFTJetInterface::getEventScale(), eostools::move(), fftjetcms::FFTJetInterface::outputLabel, edm::Event::put(), sequencer, fftjetcms::FFTJetInterface::storeInSinglePrecision(), and verifyDataConversion.
|
protected |
Definition at line 258 of file FFTJetPatRecoProducer.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 FFTJetPatRecoProducer().
|
protected |
Definition at line 339 of file FFTJetPatRecoProducer.cc.
References fftjetcms::FFTJetInterface::energyFlow, Exception, edm::ParameterSet::getParameter(), and fftjetpatrecoproducer_cfi::peakFinderMaxEta.
Referenced by FFTJetPatRecoProducer().
|
protected |
Definition at line 369 of file FFTJetPatRecoProducer.cc.
References trackerTree::check(), Exception, fftjetcms::FFTJetInterface::getEventScale(), eostools::move(), fftjetcms::FFTJetInterface::outputLabel, edm::Event::put(), sequencer, fftjetcms::sparsePeakTreeFromStorable(), fftjetcms::sparsePeakTreeToStorable(), sparseTree, fftjetcms::FFTJetInterface::storeInSinglePrecision(), and verifyDataConversion.
|
overrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 502 of file FFTJetPatRecoProducer.cc.
References DEFINE_FWK_MODULE, externalGridStream, and storeGridsExternally.
|
privatedelete |
|
overrideprotected |
Definition at line 423 of file FFTJetPatRecoProducer.cc.
References trackerTree::check(), clusteringTree, completeEventDataCutoff, fftjetcms::convert_Grid2d_to_float(), fftjetcms::copy_Grid2d_data(), fftjetcms::FFTJetInterface::discretizeEnergyFlow(), fftjetcms::FFTJetInterface::energyFlow, Exception, externalGridStream, extGrid, fftjetcommon_cfi::flow, g, fftjetcms::FFTJetInterface::getEventScale(), iEvent, fftjetcms::FFTJetInterface::loadInputCollection(), makeClusteringTree, eostools::move(), fftjetcms::FFTJetInterface::outputLabel, edm::Event::put(), sequencer, sparseTree, sparsifier, sparsify, storeDiscretizationGrid, storeGridsExternally, fftjetcms::FFTJetInterface::storeInSinglePrecision(), and verifyDataConversion.
|
protected |
Definition at line 101 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 91 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), FFTJetPatRecoProducer(), produce(), and ~FFTJetPatRecoProducer().
|
protected |
Definition at line 123 of file FFTJetPatRecoProducer.cc.
Referenced by produce().
|
protected |
Definition at line 109 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver(), and FFTJetPatRecoProducer().
|
protected |
Definition at line 115 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), and FFTJetPatRecoProducer().
|
protected |
Definition at line 100 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 105 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 144 of file FFTJetPatRecoProducer.cc.
Referenced by endJob(), FFTJetPatRecoProducer(), and produce().
|
private |
Definition at line 146 of file FFTJetPatRecoProducer.cc.
Referenced by produce(), and ~FFTJetPatRecoProducer().
|
protected |
Definition at line 104 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 126 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 112 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer().
|
protected |
Definition at line 106 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 96 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), buildSparseProduct(), FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 118 of file FFTJetPatRecoProducer.cc.
Referenced by buildSparseProduct(), and produce().
|
protected |
Definition at line 97 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 136 of file FFTJetPatRecoProducer.cc.
Referenced by produce().
|
protected |
Definition at line 133 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer(), and produce().
|
private |
Definition at line 145 of file FFTJetPatRecoProducer.cc.
Referenced by endJob(), FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 130 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), buildSparseProduct(), and produce().