#include <RecoJets/FFTJetProducer/plugins/FFTJetPatRecoProducer.cc>
Public Member Functions | |
FFTJetPatRecoProducer (const edm::ParameterSet &) | |
~FFTJetPatRecoProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from fftjetcms::FFTJetInterface | |
virtual | ~FFTJetInterface () |
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 () |
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 () |
void | produce (edm::Event &, const edm::EventSetup &) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
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 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 |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from fftjetcms::FFTJetInterface | |
enum | JetType { BASICJET = 0, GENJET, CALOJET, PFJET, TRACKJET, JPTJET } |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from fftjetcms::FFTJetInterface | |
static JetType | parse_jet_type (const std::string &name) |
Description: Runs FFTJet pattern recognition stage and saves the results
Implementation: [Notes on implementation]
Definition at line 67 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 75 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 77 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 76 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 78 of file FFTJetPatRecoProducer.cc.
|
explicit |
Definition at line 156 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, and fftjetcms::FFTJetInterface::storeInSinglePrecision().
FFTJetPatRecoProducer::~FFTJetPatRecoProducer | ( | ) |
Definition at line 360 of file FFTJetPatRecoProducer.cc.
References clusteringTree, and extGrid.
|
private |
|
private |
|
protectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 501 of file FFTJetPatRecoProducer.cc.
|
protected |
Definition at line 400 of file FFTJetPatRecoProducer.cc.
References CastorDataFrameFilter_impl::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 262 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 343 of file FFTJetPatRecoProducer.cc.
References fftjetcms::FFTJetInterface::energyFlow, edm::hlt::Exception, and edm::ParameterSet::getParameter().
Referenced by FFTJetPatRecoProducer().
|
protected |
Definition at line 373 of file FFTJetPatRecoProducer.cc.
References CastorDataFrameFilter_impl::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.
|
protectedvirtual |
Reimplemented from edm::EDProducer.
Definition at line 507 of file FFTJetPatRecoProducer.cc.
References externalGridStream, and storeGridsExternally.
|
private |
|
protectedvirtual |
Implements edm::EDProducer.
Definition at line 427 of file FFTJetPatRecoProducer.cc.
References CastorDataFrameFilter_impl::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 105 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 95 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), FFTJetPatRecoProducer(), produce(), and ~FFTJetPatRecoProducer().
|
protected |
Definition at line 127 of file FFTJetPatRecoProducer.cc.
Referenced by produce().
|
protected |
Definition at line 113 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver(), and FFTJetPatRecoProducer().
|
protected |
Definition at line 119 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), and FFTJetPatRecoProducer().
|
protected |
Definition at line 104 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 109 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
private |
Definition at line 148 of file FFTJetPatRecoProducer.cc.
Referenced by endJob(), FFTJetPatRecoProducer(), and produce().
|
private |
Definition at line 150 of file FFTJetPatRecoProducer.cc.
Referenced by produce(), and ~FFTJetPatRecoProducer().
|
protected |
Definition at line 108 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 130 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 116 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer().
|
protected |
Definition at line 110 of file FFTJetPatRecoProducer.cc.
Referenced by buildKernelConvolver().
|
protected |
Definition at line 100 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), buildSparseProduct(), FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 122 of file FFTJetPatRecoProducer.cc.
Referenced by buildSparseProduct(), and produce().
|
protected |
Definition at line 101 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 140 of file FFTJetPatRecoProducer.cc.
Referenced by produce().
|
protected |
Definition at line 137 of file FFTJetPatRecoProducer.cc.
Referenced by FFTJetPatRecoProducer(), and produce().
|
private |
Definition at line 149 of file FFTJetPatRecoProducer.cc.
Referenced by endJob(), FFTJetPatRecoProducer(), and produce().
|
protected |
Definition at line 134 of file FFTJetPatRecoProducer.cc.
Referenced by buildDenseProduct(), buildSparseProduct(), and produce().