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 hltPFPuppi_cfi::algos, algos_, applyJec_, cms::cuda::assert(), edm::ParameterSet::getParameter(), input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, inputIsCorrected_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
overrideprivate |
Definition at line 88 of file MVAJetPuIdProducer.cc.
References algos_, jetMETDQMOfflineSource_cff::applyJec, applyJec_, cms::cuda::assert(), MVAJetPuId::computeIdVariables(), MVAJetPuId::computeMva(), reco::LeafCandidate::eta(), FactorizedJetCorrector::getCorrection(), mps_fire::i, iEvent, input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, inputIsCorrected_, jetMETDQMOfflineSource_cff::jec, jecCor_, metsig::jet, StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), PDWG_EXODelayedJetMET_cff::jets, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::phi(), produceJetIds_, edm::Handle< T >::product(), reco::LeafCandidate::pt(), rho, runMvas_, pfClustersFromCombinedCaloHF_cfi::scale, reco::Jet::scaleEnergy(), MVAJetPuId::set(), FactorizedJetCorrector::setJetA(), FactorizedJetCorrector::setJetEta(), FactorizedJetCorrector::setJetPt(), FactorizedJetCorrector::setRho(), trackerHitRTTI::vector, jetsAK4_CHS_cff::vertexes, and L1BJetProducer_cff::vtx.
|
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().