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 addBTagInfo_, addDiscriminators_, addJetCorrFactors_, addTagInfos_, discriminatorLabels_, discriminatorTags_, discriminatorTokens_, edm::ParameterSet::getParameter(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, jetCorrFactorsTokens_, jetsToken_, label, sort_, AlCaHLTBitMon_QueryRunRegistry::string, makeGlobalPositionRcd_cfg::tag, tagInfoLabels_, tagInfoTags_, tagInfoTokens_, userDataHelper_, useUserData_, 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(), ProducerED_cfi::InputTag, and edm::ParameterSetDescription::setComment().
|
override |
Definition at line 141 of file PATJetUpdater.cc.
References pat::PATUserDataHelper< ObjectType >::add(), 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(), mps_fire::i, heavyIonCSV_trainingSettings::idx, iEvent, pat::Jet::initializeJEC(), pat::Jet::jec_, metsig::jet, jetCorrFactorsTokens_, PDWG_EXODelayedJetMET_cff::jets, jetsToken_, dqmdumpme::k, GCP_tree_cfg::levels, eostools::move(), hemisphereProducer_cfi::patJets, printWarning_, pTComparator_, edm::View< T >::ptrAt(), pat::PATObject< ObjectType >::refToOrig_, reco::LeafCandidate::setP4(), edm::View< T >::size(), jetUpdater_cfi::sort, sort_, tagInfoLabels_, tagInfoTokens_, userDataHelper_, and useUserData_.
|
private |
Definition at line 53 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 54 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and 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 PATJetUpdater(), and produce().
|
private |
Definition at line 57 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 55 of file PATJetUpdater.cc.
Referenced by PATJetUpdater().
|
private |
Definition at line 56 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and 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 PATJetUpdater(), and produce().
|
private |
Definition at line 59 of file PATJetUpdater.cc.
Referenced by PATJetUpdater().
|
private |
Definition at line 60 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 66 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().
|
private |
Definition at line 65 of file PATJetUpdater.cc.
Referenced by PATJetUpdater(), and produce().