Public Member Functions | |
MVAJetPuIdProducer (const edm::ParameterSet &) | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () 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 24 of file MVAJetPuIdProducer.cc.
|
explicit |
Definition at line 54 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 211 of file MVAJetPuIdProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addVPSet(), DEFINE_FWK_MODULE, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
|
overrideprivate |
Definition at line 94 of file MVAJetPuIdProducer.cc.
References algos_, hltMVAJetPuId_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_, patTestJEC_cfi::jec, jecCor_, metsig::jet, reco::Jet::jetArea(), StoredPileupJetIdentifier::jetEta(), PileupJetIdentifier::jetPhi(), StoredPileupJetIdentifier::jetPt(), fwrapper::jets, eostools::move(), DetachedQuadStep_cff::mva, RecoTauHPSTancTauProdcuer_cfi::mvas, 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 39 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 38 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 49 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 48 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 38 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 37 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 43 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 44 of file MVAJetPuIdProducer.cc.
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 38 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 41 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 42 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().
|
private |
Definition at line 38 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer(), and produce().
|
private |
Definition at line 36 of file MVAJetPuIdProducer.cc.
Referenced by MVAJetPuIdProducer().