#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 | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
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 > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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 44 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 65 of file PileupJetIdProducer.cc.
|
static |
Definition at line 225 of file PileupJetIdProducer.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
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 234 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 68 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(), Scenarios_cff::scale, PileupJetIdAlgo::set(), GBRForestsAndConstants::usePuppi(), jets_cff::vertexes, and badGlobalMuonTaggersAOD_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().