Public Member Functions | |
MVAJetPuIdProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
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) |
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<> | |
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 |
Definition at line 23 of file MVAJetPuIdProducer.cc.
|
explicit |
Definition at line 50 of file MVAJetPuIdProducer.cc.
References hltMVAJetPuId_cff::algos, algos_, applyJec_, 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(), DEFINE_FWK_MODULE, HLT_2018_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
overrideprivate |
Definition at line 88 of file MVAJetPuIdProducer.cc.
References algos_, jetMETDQMOfflineSource_cff::applyJec, applyJec_, reco::CompositePtrCandidate::clone(), MVAJetPuId::computeIdVariables(), MVAJetPuId::computeMva(), reco::LeafCandidate::eta(), edm::Event::getByToken(), FactorizedJetCorrector::getCorrection(), mps_fire::i, photons_cff::ids, input_jet_token_, input_rho_token_, input_vertex_token_, input_vm_pujetid_token_, inputIsCorrected_, jetMETDQMOfflineSource_cff::jec, jecCor_, metsig::jet, reco::Jet::jetArea(), StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), singleTopDQM_cfi::jets, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::phi(), produceJetIds_, edm::Handle< T >::product(), reco::LeafCandidate::pt(), edm::Event::put(), edm::View< T >::refAt(), rho, runMvas_, Scenarios_cff::scale, reco::Jet::scaleEnergy(), MVAJetPuId::set(), FactorizedJetCorrector::setJetA(), FactorizedJetCorrector::setJetEta(), FactorizedJetCorrector::setJetPt(), FactorizedJetCorrector::setRho(), edm::View< T >::size(), hltMVAJetPuId_cff::vertexes, and badGlobalMuonTaggersAOD_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().