#include <RecoJets/FFTJetProducers/plugins/FFTJetCorrectionProducer.cc>
Private Member Functions | |
template<typename Jet > | |
void | applyCorrections (edm::Event &iEvent, const edm::EventSetup &iSetup) |
void | beginJob () override |
void | endJob () override |
template<typename Jet > | |
void | makeProduces (const std::string &alias, const std::string &tag) |
template<typename Jet > | |
void | performPileupSubtraction (Jet &) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
unsigned long | eventCount |
edm::EDGetTokenT< std::vector< reco::FFTAnyJet< reco::Jet > > > | input_jets_token_ |
const edm::InputTag | inputLabel |
const JetType | jetType |
const std::string | outputLabel |
const std::vector< std::string > | records |
std::vector< int > | sequenceMasks |
const bool | subtractPileup |
const bool | subtractPileupAs4Vec |
const bool | verbose |
const bool | writeUncertainties |
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 | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: producer for correcting jets created by FFTJetProducer
Implementation: [Notes on implementation]
Definition at line 87 of file FFTJetCorrectionProducer.cc.
|
explicit |
Definition at line 321 of file FFTJetCorrectionProducer.cc.
References SiStripOfflineCRack_cfg::alias, edm::ParameterSet::getUntrackedParameter(), input_jets_token_, inputLabel, jet_type_switch, makeProduces(), outputLabel, AlCaHLTBitMon_QueryRunRegistry::string, and writeUncertainties.
|
override |
Definition at line 340 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 160 of file FFTJetCorrectionProducer.cc.
References alignCSCRings::corr, gather_cfg::cout, TauDecayModes::dec, Exception, f, reco::FFTJet< Real >::f_recoScale(), reco::FFTJet< Real >::f_status(), reco::FFTJet< Real >::f_vec(), mps_fire::i, iEvent, instance, submitPVValidationJobs::isMC, dqmiolumiharvest::j, singleTopDQM_cfi::jets, personalPlayback::level, eostools::move(), recoTrackAccumulator_cfi::outputLabel, PILEUP_CALCULATION_MASK, PILEUP_SUBTRACTION_MASK_ANY, DiDispStaMuonMonitor_cfi::pt, alignCSCRings::s, mathSSE::sqrt(), fftjetproducer_cfi::subtractPileup, and verbose.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 348 of file FFTJetCorrectionProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 351 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 139 of file FFTJetCorrectionProducer.cc.
References SiStripOfflineCRack_cfg::alias, and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 144 of file FFTJetCorrectionProducer.cc.
References fftjetcms::adjustForPileup(), metsig::jet, PILEUP_SUBTRACTION_MASK_4VEC, PILEUP_SUBTRACTION_MASK_PT, mps_update::status, and fftjetproducer_cfi::subtractPileupAs4Vec.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 343 of file FFTJetCorrectionProducer.cc.
References applyCorrections(), iEvent, and jet_type_switch.
|
private |
Definition at line 132 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 135 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 107 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 113 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 110 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 116 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 129 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 122 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 123 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 126 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 119 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().