#include <CMGTools/PileupJetIdProducer/src/PileupJetIdProducer.cc>
Public Member Functions | |
PileupJetIdProducer (const edm::ParameterSet &, GBRForestsAndConstants const *) | |
~PileupJetIdProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< GBRForestsAndConstants > > | |
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) |
static void | globalEndJob (GBRForestsAndConstants *) |
static std::unique_ptr< GBRForestsAndConstants > | initializeGlobalCache (edm::ParameterSet const &pset) |
Private Member Functions | |
void | initJetEnergyCorrector (const edm::EventSetup &iSetup, bool isData) |
void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< std::pair< std::string, std::unique_ptr< PileupJetIdAlgo > > > | algos_ |
edm::ValueMap< float > | constituentWeights_ |
edm::EDGetTokenT< edm::ValueMap< float > > | input_constituent_weights_token_ |
edm::EDGetTokenT< edm::View< reco::Jet > > | input_jet_token_ |
edm::EDGetTokenT< double > | input_rho_token_ |
edm::EDGetTokenT< reco::VertexCollection > | input_vertex_token_ |
edm::EDGetTokenT< edm::ValueMap< StoredPileupJetIdentifier > > | input_vm_pujetid_token_ |
std::unique_ptr< FactorizedJetCorrector > | jecCor_ |
std::vector< JetCorrectorParameters > | jetCorPars_ |
edm::ESGetToken< JetCorrectorParametersCollection, JetCorrectionsRecord > | parameters_token_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< GBRForestsAndConstants > > | |
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 |
Description: [one line class summary]
Implementation: [Notes on implementation]
Description: Produces a value map of jet –> pileup jet ID
Implementation: [Notes on implementation]
Definition at line 79 of file PileupJetIdProducer.h.
|
explicit |
Definition at line 51 of file PileupJetIdProducer.cc.
References algos_, deDxTools::esConsumes(), edm::ParameterSet::getParameter(), input_constituent_weights_token_, input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, GBRForestsAndConstants::jec(), label, parameters_token_, GBRForestsAndConstants::produceJetIds(), GBRForestsAndConstants::runMvas(), PileupJetID_cfi::srcConstituentWeights, AlCaHLTBitMon_QueryRunRegistry::string, and GBRForestsAndConstants::vAlgoGBRForestsAndConstants().
|
override |
Definition at line 78 of file PileupJetIdProducer.cc.
|
static |
Definition at line 246 of file PileupJetIdProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
inlinestatic |
Definition at line 90 of file PileupJetIdProducer.h.
|
inlinestatic |
|
private |
Definition at line 255 of file PileupJetIdProducer.cc.
References edm::FileInPath::fullPath(), edm::EventSetup::getData(), HLTBitAnalyser_cfi::isData, jecCor_, jetCorPars_, parameters_token_, GBRForestsAndConstants::residualsFromTxt(), and GBRForestsAndConstants::residualsTxt().
Referenced by produce().
|
overrideprivate |
Definition at line 81 of file PileupJetIdProducer.cc.
References algos_, GBRForestsAndConstants::applyConstituentWeight(), jetMETDQMOfflineSource_cff::applyJec, GBRForestsAndConstants::applyJec(), cms::cuda::assert(), PileupJetIdAlgo::computeIdVariables(), PileupJetIdAlgo::computeMva(), pat::Jet::correctedJet(), reco::LeafCandidate::eta(), mps_fire::i, PileupJetIdentifier::idFlag(), iEvent, initJetEnergyCorrector(), input_constituent_weights_token_, input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, GBRForestsAndConstants::inputIsCorrected(), edm::EDGetTokenT< T >::isUninitialized(), jetMETDQMOfflineSource_cff::jec, jecCor_, metsig::jet, StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), PDWG_EXODelayedJetMET_cff::jets, eostools::move(), PileupJetIdentifier::mva(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::phi(), GBRForestsAndConstants::produceJetIds(), edm::Handle< T >::product(), reco::LeafCandidate::pt(), rho, GBRForestsAndConstants::runMvas(), l1tEGammaCrystalsEmulatorProducer_cfi::scale, PileupJetIdAlgo::set(), jetsAK4_CHS_cff::vertexes, and L1BJetProducer_cff::vtx.
|
private |
Definition at line 97 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 102 of file PileupJetIdProducer.h.
|
private |
Definition at line 103 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 104 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 107 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 105 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 106 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 99 of file PileupJetIdProducer.h.
Referenced by initJetEnergyCorrector(), and produce().
|
private |
Definition at line 100 of file PileupJetIdProducer.h.
Referenced by initJetEnergyCorrector().
|
private |
Definition at line 108 of file PileupJetIdProducer.h.
Referenced by initJetEnergyCorrector(), and PileupJetIdProducer().