#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 | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
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... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
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 HLT_FULL_cff::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, validate-o2o-wbm::f, reco::FFTJet< Real >::f_recoScale(), reco::FFTJet< Real >::f_status(), reco::FFTJet< Real >::f_vec(), edm::Event::getByToken(), mps_fire::i, instance, submitPVValidationJobs::isMC, edm::EventBase::isRealData(), dqmiolumiharvest::j, fwrapper::jets, testEve_cfg::level, eostools::move(), PILEUP_CALCULATION_MASK, PILEUP_SUBTRACTION_MASK_ANY, DiDispStaMuonMonitor_cfi::pt, edm::Event::put(), alignCSCRings::s, mathSSE::sqrt(), 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 GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 144 of file FFTJetCorrectionProducer.cc.
References fftjetcms::adjustForPileup(), PILEUP_SUBTRACTION_MASK_4VEC, PILEUP_SUBTRACTION_MASK_PT, and mps_update::status.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 343 of file FFTJetCorrectionProducer.cc.
References applyCorrections(), 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().