Public Member Functions | |
MVAJetPuIdProducer (const edm::ParameterSet &) | |
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 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, MVAJetPuId * > > | algos_ |
bool | applyJec_ |
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_ |
bool | inputIsCorrected_ |
std::string | jec_ |
FactorizedJetCorrector * | jecCor_ |
std::vector < JetCorrectorParameters > | jetCorPars_ |
edm::InputTag | jetids_ |
edm::InputTag | jets_ |
bool | produceJetIds_ |
bool | residualsFromTxt_ |
edm::FileInPath | residualsTxt_ |
edm::InputTag | rho_ |
bool | runMvas_ |
edm::InputTag | vertexes_ |
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 |
Definition at line 23 of file MVAJetPuIdProducer.cc.
|
explicit |
Definition at line 50 of file MVAJetPuIdProducer.cc.
References Puppi_cff::algos, algos_, applyJec_, cms::cuda::assert(), edm::ParameterSet::getParameter(), input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, inputIsCorrected_, jec_, jecCor_, jetids_, jets_, label, produceJetIds_, residualsFromTxt_, residualsTxt_, rho_, runMvas_, AlCaHLTBitMon_QueryRunRegistry::string, and vertexes_.
|
static |
Definition at line 205 of file MVAJetPuIdProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addVPSet(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
overrideprivate |
Definition at line 88 of file MVAJetPuIdProducer.cc.
References algos_, applyJec_, cms::cuda::assert(), reco::CompositePtrCandidate::clone(), MVAJetPuId::computeIdVariables(), MVAJetPuId::computeMva(), reco::LeafCandidate::eta(), edm::Event::getByToken(), FactorizedJetCorrector::getCorrection(), mps_fire::i, input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, inputIsCorrected_, patTestJEC_cfi::jec, jecCor_, metsig::jet, reco::Jet::jetArea(), StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), fwrapper::jets, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::phi(), produceJetIds_, reco::LeafCandidate::pt(), edm::Event::put(), dt_dqm_sourceclient_common_cff::reco, rho, runMvas_, pileupReCalc_HLTpaths::scale, reco::Jet::scaleEnergy(), MVAJetPuId::set(), FactorizedJetCorrector::setJetA(), FactorizedJetCorrector::setJetEta(), FactorizedJetCorrector::setJetPt(), FactorizedJetCorrector::setRho(), and trackerHitRTTI::vector.
|
private |
Definition at line 37 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 44 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 47 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 45 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 46 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 35 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 41 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 42 of file MVAJetPuIdProducer.cc.
|
private |
Definition at line 34 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 34 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 39 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 40 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 34 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 34 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().