#include <FFTJetInterface.h>
Public Member Functions | |
~FFTJetInterface () override | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Protected Member Functions | |
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) |
Protected Attributes | |
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 | |
FFTJetInterface ()=delete | |
FFTJetInterface (const FFTJetInterface &)=delete | |
FFTJetInterface & | operator= (const FFTJetInterface &)=delete |
Private Attributes | |
const double | completeEventScale |
edm::EDGetTokenT< reco::CandidateView > | inputToken |
const bool | insertCompleteEvent |
edm::EDGetTokenT< reco::VertexCollection > | srcPVsToken |
reco::Particle::Point | vertex_ |
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) |
Definition at line 52 of file FFTJetInterface.h.
|
inlineoverride |
|
explicitprotected |
Definition at line 21 of file FFTJetInterface.cc.
References fftjetcms::CALOJET, completeEventScale, doPVCorrection, Exception, inputLabel, inputToken, insertCompleteEvent, jetType, srcPVs, and srcPVsToken.
|
privatedelete |
Referenced by ~FFTJetInterface().
|
privatedelete |
|
inlineprotected |
Definition at line 61 of file FFTJetInterface.h.
References discretizeEnergyFlow(), getEventScale(), loadInputCollection(), and storeInSinglePrecision().
Referenced by FFTJetProducer::beginJob(), FFTJetEFlowSmoother::FFTJetEFlowSmoother(), FFTJetPatRecoProducer::FFTJetPatRecoProducer(), FFTJetPileupProcessor::FFTJetPileupProcessor(), and FFTJetProducer::FFTJetProducer().
|
protected |
Definition at line 100 of file FFTJetInterface.cc.
References energyFlow, etaDependentMagnutideFactors, eventData, g, and mps_fire::i.
Referenced by checkConfig(), FFTJetEFlowSmoother::produce(), FFTJetPileupProcessor::produce(), FFTJetPatRecoProducer::produce(), and FFTJetProducer::produce().
|
protected |
Definition at line 48 of file FFTJetInterface.cc.
References completeEventScale, and insertCompleteEvent.
Referenced by FFTJetPatRecoProducer::buildDenseProduct(), FFTJetPatRecoProducer::buildSparseProduct(), checkConfig(), FFTJetPatRecoProducer::FFTJetPatRecoProducer(), FFTJetProducer::loadSparseTreeData(), FFTJetEFlowSmoother::produce(), and FFTJetPatRecoProducer::produce().
|
protected |
Definition at line 54 of file FFTJetInterface.cc.
References anomalous, edm::View< T >::begin(), fftjetcms::CALOJET, candidateIndex, doPVCorrection, end, edm::View< T >::end(), eventData, edm::Event::getByToken(), diffTreeTool::index, inputCollection, inputToken, edm::isNotFinite(), jetType, reco::Candidate::p4(), CaloTower::p4(), reco::Candidate::pt(), anotherprimaryvertexanalyzer_cfi::pvCollection, srcPVsToken, and vertex_.
Referenced by checkConfig(), FFTJetEFlowSmoother::produce(), FFTJetPileupProcessor::produce(), FFTJetPatRecoProducer::produce(), and FFTJetProducer::produce().
|
privatedelete |
|
protected |
Definition at line 15 of file FFTJetInterface.cc.
Referenced by FFTJetPatRecoProducer::buildDenseProduct(), FFTJetPatRecoProducer::buildSparseProduct(), checkConfig(), FFTJetPatRecoProducer::FFTJetPatRecoProducer(), FFTJetPatRecoProducer::produce(), and FFTJetProducer::produce().
|
inlineprotected |
Definition at line 72 of file FFTJetInterface.h.
References vertex_.
Referenced by FFTJetProducer::writeJets().
|
protected |
Definition at line 93 of file FFTJetInterface.h.
Referenced by loadInputCollection().
|
protected |
Definition at line 99 of file FFTJetInterface.h.
Referenced by FFTJetProducer::determineGriddedConstituents(), FFTJetProducer::determineVectorConstituents(), and loadInputCollection().
|
private |
Definition at line 114 of file FFTJetInterface.h.
Referenced by FFTJetInterface(), and getEventScale().
|
protected |
Definition at line 84 of file FFTJetInterface.h.
Referenced by FFTJetInterface(), and loadInputCollection().
|
protected |
Definition at line 102 of file FFTJetInterface.h.
Referenced by FFTJetProducer::beginJob(), FFTJetProducer::buildGridAlg(), FFTJetEFlowSmoother::buildKernelConvolver(), FFTJetPileupProcessor::buildKernelConvolver(), FFTJetPatRecoProducer::buildKernelConvolver(), FFTJetPatRecoProducer::buildPeakFinder(), FFTJetProducer::determineGriddedConstituents(), discretizeEnergyFlow(), FFTJetEFlowSmoother::FFTJetEFlowSmoother(), FFTJetPatRecoProducer::FFTJetPatRecoProducer(), FFTJetPileupProcessor::FFTJetPileupProcessor(), FFTJetProducer::iterateJetReconstruction(), FFTJetPileupProcessor::loadFlatteningFactors(), FFTJetPileupProcessor::mixExtraGrid(), FFTJetEFlowSmoother::produce(), FFTJetPileupProcessor::produce(), FFTJetPatRecoProducer::produce(), FFTJetProducer::produce(), and FFTJetProducer::writeJets().
|
protected |
Definition at line 90 of file FFTJetInterface.h.
Referenced by discretizeEnergyFlow().
|
protected |
Definition at line 96 of file FFTJetInterface.h.
Referenced by FFTJetProducer::determineGriddedConstituents(), FFTJetProducer::determineVectorConstituents(), discretizeEnergyFlow(), FFTJetProducer::iterateJetReconstruction(), loadInputCollection(), and FFTJetProducer::produce().
|
protected |
Definition at line 105 of file FFTJetInterface.h.
Referenced by FFTJetProducer::determineGriddedConstituents(), FFTJetProducer::determineVectorConstituents(), and loadInputCollection().
|
protected |
Definition at line 75 of file FFTJetInterface.h.
Referenced by FFTJetInterface().
|
private |
Definition at line 117 of file FFTJetInterface.h.
Referenced by FFTJetInterface(), and loadInputCollection().
|
private |
Definition at line 113 of file FFTJetInterface.h.
Referenced by FFTJetInterface(), and getEventScale().
|
protected |
Definition at line 81 of file FFTJetInterface.h.
Referenced by FFTJetInterface(), and loadInputCollection().
|
protected |
Definition at line 78 of file FFTJetInterface.h.
Referenced by FFTJetPatRecoProducer::buildDenseProduct(), FFTJetPatRecoProducer::buildSparseProduct(), FFTJetEFlowSmoother::FFTJetEFlowSmoother(), FFTJetPatRecoProducer::FFTJetPatRecoProducer(), FFTJetPileupProcessor::FFTJetPileupProcessor(), FFTJetProducer::FFTJetProducer(), FFTJetEFlowSmoother::produce(), FFTJetPileupProcessor::produce(), FFTJetPatRecoProducer::produce(), FFTJetProducer::saveResults(), and FFTJetProducer::writeJets().
|
protected |
Definition at line 87 of file FFTJetInterface.h.
Referenced by FFTJetInterface().
|
private |
Definition at line 118 of file FFTJetInterface.h.
Referenced by FFTJetInterface(), and loadInputCollection().
|
private |
Definition at line 115 of file FFTJetInterface.h.
Referenced by loadInputCollection(), and vertexUsed().