#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_ |
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 46 of file PileupJetIdProducer.cc.
References algos_, DeDxTools::esConsumes(), edm::ParameterSet::getParameter(), input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, GBRForestsAndConstants::jec(), label, parameters_token_, GBRForestsAndConstants::produceJetIds(), GBRForestsAndConstants::runMvas(), AlCaHLTBitMon_QueryRunRegistry::string, and GBRForestsAndConstants::vAlgoGBRForestsAndConstants().
|
override |
Definition at line 68 of file PileupJetIdProducer.cc.
|
static |
Definition at line 228 of file PileupJetIdProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, and edm::ParameterSetDescription::setUnknown().
|
inlinestatic |
Definition at line 90 of file PileupJetIdProducer.h.
|
inlinestatic |
|
private |
Definition at line 237 of file PileupJetIdProducer.cc.
References edm::FileInPath::fullPath(), edm::EventSetup::getData(), jecCor_, jetCorPars_, parameters_token_, GBRForestsAndConstants::residualsFromTxt(), and GBRForestsAndConstants::residualsTxt().
Referenced by produce().
|
overrideprivate |
Definition at line 71 of file PileupJetIdProducer.cc.
References algos_, GBRForestsAndConstants::applyJec(), cms::cuda::assert(), reco::CompositePtrCandidate::clone(), PileupJetIdAlgo::computeIdVariables(), PileupJetIdAlgo::computeMva(), pat::Jet::correctedJet(), reco::LeafCandidate::eta(), edm::Event::getByToken(), mps_fire::i, PileupJetIdentifier::idFlag(), initJetEnergyCorrector(), input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, GBRForestsAndConstants::inputIsCorrected(), edm::EventBase::isRealData(), patTestJEC_cfi::jec, jecCor_, metsig::jet, reco::Jet::jetArea(), StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), fwrapper::jets, eostools::move(), PileupJetIdentifier::mva(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::phi(), GBRForestsAndConstants::produceJetIds(), edm::Handle< T >::product(), reco::LeafCandidate::pt(), edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, rho, GBRForestsAndConstants::runMvas(), pileupReCalc_HLTpaths::scale, PileupJetIdAlgo::set(), and GBRForestsAndConstants::usePuppi().
|
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().
|
private |
Definition at line 106 of file PileupJetIdProducer.h.
Referenced by initJetEnergyCorrector(), and PileupJetIdProducer().