Public Member Functions | |
PATJetUpdater (const edm::ParameterSet &iConfig) | |
void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override |
~PATJetUpdater () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | addBTagInfo_ |
bool | addDiscriminators_ |
bool | addJetCorrFactors_ |
bool | addTagInfos_ |
std::vector< std::string > | discriminatorLabels_ |
std::vector< edm::InputTag > | discriminatorTags_ |
std::vector< edm::EDGetTokenT < reco::JetFloatAssociation::Container > > | discriminatorTokens_ |
std::vector< edm::EDGetTokenT < edm::ValueMap < JetCorrFactors > > > | jetCorrFactorsTokens_ |
edm::EDGetTokenT< edm::View < reco::Jet > > | jetsToken_ |
bool | printWarning_ |
GreaterByPt< Jet > | pTComparator_ |
bool | sort_ |
std::vector< std::string > | tagInfoLabels_ |
std::vector< edm::InputTag > | tagInfoTags_ |
std::vector< edm::EDGetTokenT < edm::View< reco::BaseTagInfo > > > | tagInfoTokens_ |
pat::PATUserDataHelper< pat::Jet > | userDataHelper_ |
bool | useUserData_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Produces pat::Jet's.
The PATJetUpdater produces analysis-level pat::Jet's starting from a collection of pat::Jet's and updates information.
Definition at line 37 of file PATJetUpdater.cc.
|
explicit |
Definition at line 75 of file PATJetUpdater.cc.
References addJetCorrFactors_, edm::ParameterSet::getParameter(), jetCorrFactorsTokens_, jetsToken_, sort_, GlobalPosition_Frontier_DevDB_cff::tag, and edm::vector_transform().
|
override |
Definition at line 139 of file PATJetUpdater.cc.
|
static |
Definition at line 281 of file PATJetUpdater.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addOptional(), pat::PATUserDataHelper< ObjectType >::fillDescription(), HLT_FULL_cff::InputTag, and edm::ParameterSetDescription::setComment().
|
override |
Definition at line 141 of file PATJetUpdater.cc.
References pat::Jet::addBDiscriminatorPair(), addBTagInfo_, addDiscriminators_, pat::Jet::addJECFactors(), addJetCorrFactors_, pat::Jet::addTagInfo(), addTagInfos_, edm::View< T >::begin(), edm::RefToBase< T >::castTo(), pat::Jet::correctedP4(), discriminatorLabels_, discriminatorTokens_, edm::View< T >::end(), spr::find(), edm::Event::getByToken(), edm::Event::getRefBeforePut(), mps_fire::i, pat::Jet::initializeJEC(), edm::Ptr< T >::isNonnull(), pat::Jet::jec_, metsig::jet, jetCorrFactorsTokens_, fwrapper::jets, jetsToken_, isotrackApplyRegressor::k, jetCorrFactors_cfi::levels, match(), eostools::move(), jetProducer_cfi::patJets, printWarning_, pTComparator_, edm::View< T >::ptrAt(), edm::Event::put(), pat::PATObject< ObjectType >::refToOrig_, reco::LeafCandidate::setP4(), edm::View< T >::size(), sort_, tagInfoLabels_, tagInfoTokens_, userDataHelper_, useUserData_, and relativeConstraints::value.
|
private |
Definition at line 53 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 54 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 50 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 58 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 57 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 55 of file PATJetUpdater.cc.
|
private |
Definition at line 56 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 51 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 48 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 68 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 63 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 49 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 61 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 59 of file PATJetUpdater.cc.
|
private |
Definition at line 60 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 66 of file PATJetUpdater.cc.
Referenced by produce().
|
private |
Definition at line 65 of file PATJetUpdater.cc.
Referenced by produce().