#include <RecoJets/FFTJetProducers/plugins/FFTJetCorrectionProducer.cc>
Public Member Functions | |
FFTJetCorrectionProducer (const edm::ParameterSet &) | |
~FFTJetCorrectionProducer () | |
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 () |
Private Member Functions | |
template<typename Jet > | |
void | applyCorrections (edm::Event &iEvent, const edm::EventSetup &iSetup) |
virtual void | beginJob () override |
virtual void | endJob () override |
template<typename Jet > | |
void | makeProduces (const std::string &alias, const std::string &tag) |
template<typename Jet > | |
void | performPileupSubtraction (Jet &) |
virtual 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 | |
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) |
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) |
Description: producer for correcting jets created by FFTJetProducer
Implementation: [Notes on implementation]
Definition at line 92 of file FFTJetCorrectionProducer.cc.
|
explicit |
Definition at line 362 of file FFTJetCorrectionProducer.cc.
References HLT_25ns14e33_v1_cff::alias, edm::ParameterSet::getUntrackedParameter(), input_jets_token_, inputLabel, jet_type_switch, makeProduces(), outputLabel, AlCaHLTBitMon_QueryRunRegistry::string, and writeUncertainties.
FFTJetCorrectionProducer::~FFTJetCorrectionProducer | ( | ) |
Definition at line 384 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 174 of file FFTJetCorrectionProducer.cc.
References coll, corr, gather_cfg::cout, TauDecayModes::dec, edm::hlt::Exception, f, reco::FFTJet< Real >::f_recoScale(), reco::FFTJet< Real >::f_status(), reco::FFTJet< Real >::f_vec(), edm::Event::getByToken(), i, instance, edm::EventBase::isRealData(), j, fwrapper::jets, testEve_cfg::level, PILEUP_CALCULATION_MASK, PILEUP_SUBTRACTION_MASK_ANY, EnergyCorrector::pt, edm::Event::put(), alignCSCRings::s, python.multivaluedict::sort(), and mathSSE::sqrt().
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 397 of file FFTJetCorrectionProducer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 402 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 147 of file FFTJetCorrectionProducer.cc.
References GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 155 of file FFTJetCorrectionProducer.cc.
References fftjetcms::adjustForPileup(), PILEUP_SUBTRACTION_MASK_4VEC, PILEUP_SUBTRACTION_MASK_PT, and ntuplemaker::status.
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 390 of file FFTJetCorrectionProducer.cc.
References applyCorrections(), and jet_type_switch.
|
private |
Definition at line 139 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 142 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 114 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 120 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 117 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().
|
private |
Definition at line 123 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 136 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 129 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 130 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 133 of file FFTJetCorrectionProducer.cc.
|
private |
Definition at line 126 of file FFTJetCorrectionProducer.cc.
Referenced by FFTJetCorrectionProducer().