#include <RecoJets/FFTJetProducer/plugins/FFTJetPatRecoProducer.cc>
Public Member Functions | |
FFTJetPatRecoProducer (const edm::ParameterSet &) | |
~FFTJetPatRecoProducer () | |
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 | |
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 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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
Protected Attributes | |
std::auto_ptr< MyFFTEngine > | anotherEngine |
ClusteringTree * | clusteringTree |
const double | completeEventDataCutoff |
std::auto_ptr < fftjet::AbsConvolverBase < Real > > | convolver |
std::auto_ptr < fftjet::AbsDistanceCalculator < fftjet::Peak > > | distanceCalc |
std::auto_ptr< MyFFTEngine > | engine |
std::auto_ptr < fftjet::AbsFrequencyKernel1d > | etaKernel |
std::auto_ptr < fftjet::AbsFrequencyKernel > | kernel2d |
const bool | makeClusteringTree |
std::auto_ptr < fftjet::Functor1< bool, fftjet::Peak > > | peakSelector |
std::auto_ptr < fftjet::AbsFrequencyKernel1d > | phiKernel |
std::auto_ptr< Sequencer > | sequencer |
SparseTree | sparseTree |
std::auto_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::auto_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 () | |
FFTJetPatRecoProducer (const FFTJetPatRecoProducer &) | |
FFTJetPatRecoProducer & | operator= (const FFTJetPatRecoProducer &) |
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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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, edm::hlt::Exception, 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(), i, makeClusteringTree, dbtoconf::out, fftjetcms::FFTJetInterface::outputLabel, peakSelector, sequencer, sparsifier, storeDiscretizationGrid, storeGridsExternally, fftjetcms::FFTJetInterface::storeInSinglePrecision(), and AlCaHLTBitMon_QueryRunRegistry::string.
FFTJetPatRecoProducer::~FFTJetPatRecoProducer | ( | ) |
Definition at line 356 of file FFTJetPatRecoProducer.cc.
References clusteringTree, and extGrid.
|
private |
|
private |
|
overrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 497 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 396 of file FFTJetPatRecoProducer.cc.
References DDVectorGetter::check(), clusteringTree, fftjetcms::densePeakTreeFromStorable(), fftjetcms::densePeakTreeToStorable(), distanceCalc, edm::hlt::Exception, fftjetcms::FFTJetInterface::getEventScale(), fftjetcms::FFTJetInterface::outputLabel, edm::Event::put(), sequencer, fftjetcms::FFTJetInterface::storeInSinglePrecision(), MainPageGenerator::tree, and verifyDataConversion.
|
protected |
Definition at line 258 of file FFTJetPatRecoProducer.cc.
References anotherEngine, convolver, fftjetcms::FFTJetInterface::energyFlow, engine, etaKernel, edm::hlt::Exception, edm::ParameterSet::getParameter(), kernel2d, M_PI, and phiKernel.
Referenced by FFTJetPatRecoProducer().
|
protected |
Definition at line 339 of file FFTJetPatRecoProducer.cc.
References fftjetcms::FFTJetInterface::energyFlow, edm::hlt::Exception, and edm::ParameterSet::getParameter().
Referenced by FFTJetPatRecoProducer().
|
protected |
Definition at line 369 of file FFTJetPatRecoProducer.cc.
References DDVectorGetter::check(), edm::hlt::Exception, fftjetcms::FFTJetInterface::getEventScale(), fftjetcms::FFTJetInterface::outputLabel, edm::Event::put(), sequencer, fftjetcms::sparsePeakTreeFromStorable(), fftjetcms::sparsePeakTreeToStorable(), sparseTree, fftjetcms::FFTJetInterface::storeInSinglePrecision(), MainPageGenerator::tree, and verifyDataConversion.
|
overrideprotectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 503 of file FFTJetPatRecoProducer.cc.
References externalGridStream, and storeGridsExternally.
|
private |
|
overrideprotectedvirtual |
Implements edm::EDProducer.
Definition at line 423 of file FFTJetPatRecoProducer.cc.
References assert(), DDVectorGetter::check(), clusteringTree, completeEventDataCutoff, fftjetcms::convert_Grid2d_to_float(), fftjetcms::copy_Grid2d_data(), fftjetcms::FFTJetInterface::discretizeEnergyFlow(), fftjetcms::FFTJetInterface::energyFlow, edm::hlt::Exception, externalGridStream, extGrid, g, fftjetcms::FFTJetInterface::getEventScale(), iEvent, fftjetcms::FFTJetInterface::loadInputCollection(), makeClusteringTree, 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().