#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::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_ |
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 46 of file PileupJetIdProducer.cc.
References algos_, edm::ParameterSet::getParameter(), input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, label, GBRForestsAndConstants::produceJetIds(), GBRForestsAndConstants::runMvas(), AlCaHLTBitMon_QueryRunRegistry::string, and GBRForestsAndConstants::vAlgoGBRForestsAndConstants().
|
override |
Definition at line 67 of file PileupJetIdProducer.cc.
|
static |
Definition at line 227 of file PileupJetIdProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
inlinestatic |
Definition at line 90 of file PileupJetIdProducer.h.
|
inlinestatic |
Definition at line 86 of file PileupJetIdProducer.h.
References muonDTDigis_cfi::pset.
|
private |
Definition at line 236 of file PileupJetIdProducer.cc.
References edm::FileInPath::fullPath(), edm::EventSetup::get(), get, HLTBitAnalyser_cfi::isData, GBRForestsAndConstants::jec(), jecCor_, jetCorPars_, GBRForestsAndConstants::residualsFromTxt(), and GBRForestsAndConstants::residualsTxt().
Referenced by produce().
|
overrideprivate |
Definition at line 70 of file PileupJetIdProducer.cc.
References algos_, 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_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, GBRForestsAndConstants::inputIsCorrected(), jetMETDQMOfflineSource_cff::jec, jecCor_, metsig::jet, StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), singleTopDQM_cfi::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(), L1EGammaCrystalsEmulatorProducer_cfi::scale, PileupJetIdAlgo::set(), GBRForestsAndConstants::usePuppi(), jets_cff::vertexes, and extraflags_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.
Referenced by PileupJetIdProducer(), and produce().
|
private |
Definition at line 105 of file PileupJetIdProducer.h.
Referenced by PileupJetIdProducer(), and produce().
|
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 99 of file PileupJetIdProducer.h.
Referenced by initJetEnergyCorrector(), and produce().
|
private |
Definition at line 100 of file PileupJetIdProducer.h.
Referenced by initJetEnergyCorrector().