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 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_, 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(), HLT_2018_cff::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(), singleTopDQM_cfi::jets, eostools::move(), beam_dqm_sourceclient-live_cfg::mva, reco::LeafCandidate::phi(), produceJetIds_, edm::Handle< T >::product(), reco::LeafCandidate::pt(), rho, runMvas_, Scenarios_cff::scale, reco::Jet::scaleEnergy(), MVAJetPuId::set(), FactorizedJetCorrector::setJetA(), FactorizedJetCorrector::setJetEta(), FactorizedJetCorrector::setJetPt(), FactorizedJetCorrector::setRho(), jets_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().