#include <L1Trigger/L1TNtuples/src/L1JetRecoTreeProducer.cc>
Public Attributes | |
L1Analysis::L1AnalysisRecoJetDataFormat * | jet_data |
L1Analysis::L1AnalysisRecoMetDataFormat * | met_data |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Produces tree containing reco quantities
Definition at line 60 of file L1JetRecoTreeProducer.cc.
|
explicit |
Definition at line 136 of file L1JetRecoTreeProducer.cc.
References caloJECToken_, caloJetIDToken_, caloJetToken_, caloMetBEToken_, caloMetToken_, corrPuppiJetToken_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), ProducerED_cfi::InputTag, jet_data, jetetaMax_, jetptThreshold_, TFileService::kSharedResource, TFileService::make(), maxJet_, met_data, muonToken_, pfJECToken_, pfJetToken_, pfMetToken_, puppiJetToken_, puppiMetToken_, and tree_.
|
override |
Definition at line 189 of file L1JetRecoTreeProducer.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 199 of file L1JetRecoTreeProducer.cc.
References caloJECToken_, caloJetCorrMissing_, caloJetIDMissing_, caloJetIDToken_, isolatedTracks_cfi::caloJets, caloJetsMissing_, caloJetToken_, heavyionUCCDQM_cfi::caloMet, CaloMET_cfi::caloMetBE, caloMetBEMissing_, caloMetBEToken_, caloMetMissing_, caloMetToken_, corrPuppiJetsMissing_, corrPuppiJetToken_, doCaloJetCorr(), doCaloJets(), doCaloMet(), doCaloMetBE(), doCorrPUPPIJets(), doPFJetCorr(), doPFJets(), doPFMet(), doPFMetNoMu(), doPUPPIJets(), doPUPPIMetNoMu(), doZPt(), iEvent, edm::HandleBase::isValid(), jet_data, met_data, PDWG_BPHSkim_cff::muons, muonsMissing_, muonToken_, L1Analysis::L1AnalysisRecoJetDataFormat::nCaloJets, L1Analysis::L1AnalysisRecoJetDataFormat::nJets, pfJECToken_, pfJetCorrMissing_, pfJetBenchmark_cfi::pfJets, pfJetsMissing_, pfJetToken_, RecoPFMET_cff::pfMet, pfMetMissing_, pfMetToken_, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nJets, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nUncorrJets, puppiJetsMissing_, puppiJetToken_, puppiMetMissing_, puppiMetToken_, L1Analysis::L1AnalysisRecoMetDataFormat::Reset(), L1Analysis::L1AnalysisRecoJetDataFormat::Reset(), and tree_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 781 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 774 of file L1JetRecoTreeProducer.cc.
References createJobs::tmp.
Referenced by doCaloJetCorr(), and doCaloJets().
|
private |
Definition at line 550 of file L1JetRecoTreeProducer.cc.
References funct::abs(), L1Analysis::L1AnalysisRecoJetDataFormat::caloCorrFactor, L1Analysis::L1AnalysisRecoJetDataFormat::caloEtCorr, L1Analysis::L1AnalysisRecoMetDataFormat::caloHt, caloJetID(), caloJetIDMissing_, isolatedTracks_cfi::caloJets, reco::JetCorrector::correction(), jet_data, jetetaMax_, jetptThreshold_, maxJet_, met_data, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 391 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoJetDataFormat::caloE, L1Analysis::L1AnalysisRecoJetDataFormat::caloEt, L1Analysis::L1AnalysisRecoJetDataFormat::caloEta, caloJetID(), caloJetIDMissing_, isolatedTracks_cfi::caloJets, L1Analysis::L1AnalysisRecoJetDataFormat::caloPhi, L1Analysis::L1AnalysisRecoJetDataFormat::eEmEB, L1Analysis::L1AnalysisRecoJetDataFormat::eEmEE, L1Analysis::L1AnalysisRecoJetDataFormat::eEMF, L1Analysis::L1AnalysisRecoJetDataFormat::eEmHF, L1Analysis::L1AnalysisRecoJetDataFormat::eHadHB, L1Analysis::L1AnalysisRecoJetDataFormat::eHadHE, L1Analysis::L1AnalysisRecoJetDataFormat::eHadHF, L1Analysis::L1AnalysisRecoJetDataFormat::eHadHO, L1Analysis::L1AnalysisRecoJetDataFormat::eMaxEcalTow, L1Analysis::L1AnalysisRecoJetDataFormat::eMaxHcalTow, jet_data, maxJet_, L1Analysis::L1AnalysisRecoJetDataFormat::n60, L1Analysis::L1AnalysisRecoJetDataFormat::nCaloJets, and L1Analysis::L1AnalysisRecoJetDataFormat::towerArea.
Referenced by analyze().
|
private |
Definition at line 648 of file L1JetRecoTreeProducer.cc.
References heavyionUCCDQM_cfi::caloMet, L1Analysis::L1AnalysisRecoMetDataFormat::caloMet, L1Analysis::L1AnalysisRecoMetDataFormat::caloMetPhi, L1Analysis::L1AnalysisRecoMetDataFormat::caloSumEt, reco::LeafCandidate::et(), met_data, reco::LeafCandidate::phi(), and reco::MET::sumEt().
Referenced by analyze().
|
private |
Definition at line 657 of file L1JetRecoTreeProducer.cc.
References CaloMET_cfi::caloMetBE, L1Analysis::L1AnalysisRecoMetDataFormat::caloMetBE, L1Analysis::L1AnalysisRecoMetDataFormat::caloMetPhiBE, L1Analysis::L1AnalysisRecoMetDataFormat::caloSumEtBE, reco::LeafCandidate::et(), met_data, reco::LeafCandidate::phi(), and reco::MET::sumEt().
Referenced by analyze().
|
private |
Definition at line 498 of file L1JetRecoTreeProducer.cc.
References funct::abs(), jet_data, jetetaMax_, jetptThreshold_, maxJet_, met_data, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_cemef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_chef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_chMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_cmef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_cMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_e, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_eef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_elMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_eta, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_etCorr, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_hfemef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_hfemMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_hfhef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_hfhMult, L1Analysis::L1AnalysisRecoMetDataFormat::puppi_Ht, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_mef, L1Analysis::L1AnalysisRecoMetDataFormat::puppi_mHt, L1Analysis::L1AnalysisRecoMetDataFormat::puppi_mHtPhi, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_muMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nemef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nhef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nhMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nJets, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nMult, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_pef, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_phi, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_phMult, and puppiJetID().
Referenced by analyze().
|
private |
Definition at line 454 of file L1JetRecoTreeProducer.cc.
References funct::abs(), reco::JetCorrector::correction(), L1Analysis::L1AnalysisRecoJetDataFormat::corrFactor, L1Analysis::L1AnalysisRecoJetDataFormat::etCorr, L1Analysis::L1AnalysisRecoMetDataFormat::Ht, jet_data, jetetaMax_, jetptThreshold_, maxJet_, met_data, L1Analysis::L1AnalysisRecoMetDataFormat::mHt, L1Analysis::L1AnalysisRecoMetDataFormat::mHtPhi, l1tJetFileWriter_cfi::nJets, pfJetID(), pfJetBenchmark_cfi::pfJets, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 419 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoJetDataFormat::cemef, L1Analysis::L1AnalysisRecoJetDataFormat::chef, L1Analysis::L1AnalysisRecoJetDataFormat::chMult, L1Analysis::L1AnalysisRecoJetDataFormat::cmef, L1Analysis::L1AnalysisRecoJetDataFormat::cMult, L1Analysis::L1AnalysisRecoJetDataFormat::e, L1Analysis::L1AnalysisRecoJetDataFormat::eef, L1Analysis::L1AnalysisRecoJetDataFormat::elMult, L1Analysis::L1AnalysisRecoJetDataFormat::et, L1Analysis::L1AnalysisRecoJetDataFormat::eta, L1Analysis::L1AnalysisRecoJetDataFormat::hfemef, L1Analysis::L1AnalysisRecoJetDataFormat::hfemMult, L1Analysis::L1AnalysisRecoJetDataFormat::hfhef, L1Analysis::L1AnalysisRecoJetDataFormat::hfhMult, jet_data, maxJet_, L1Analysis::L1AnalysisRecoJetDataFormat::mef, L1Analysis::L1AnalysisRecoJetDataFormat::muMult, L1Analysis::L1AnalysisRecoJetDataFormat::nemef, L1Analysis::L1AnalysisRecoJetDataFormat::nhef, L1Analysis::L1AnalysisRecoJetDataFormat::nhMult, L1Analysis::L1AnalysisRecoJetDataFormat::nJets, L1Analysis::L1AnalysisRecoJetDataFormat::nMult, L1Analysis::L1AnalysisRecoJetDataFormat::pef, pfJetID(), pfJetBenchmark_cfi::pfJets, L1Analysis::L1AnalysisRecoJetDataFormat::phi, and L1Analysis::L1AnalysisRecoJetDataFormat::phMult.
Referenced by analyze().
|
private |
Definition at line 575 of file L1JetRecoTreeProducer.cc.
References reco::LeafCandidate::et(), L1Analysis::L1AnalysisRecoMetDataFormat::met, met_data, L1Analysis::L1AnalysisRecoMetDataFormat::metPhi, L1Analysis::L1AnalysisRecoMetDataFormat::metPx, L1Analysis::L1AnalysisRecoMetDataFormat::metPy, RecoPFMET_cff::pfMet, reco::LeafCandidate::phi(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::MET::sumEt(), and L1Analysis::L1AnalysisRecoMetDataFormat::sumEt.
Referenced by analyze().
|
private |
Definition at line 586 of file L1JetRecoTreeProducer.cc.
References reco::LeafCandidate::et(), met_data, PDWG_BPHSkim_cff::muons, RecoPFMET_cff::pfMet, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMu, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMuPhi, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMuPx, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMuPy, reco::LeafCandidate::phi(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::setP4().
Referenced by analyze().
|
private |
Definition at line 489 of file L1JetRecoTreeProducer.cc.
References jet_data, maxJet_, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_et, L1Analysis::L1AnalysisRecoJetDataFormat::puppi_nUncorrJets, and puppiJetID().
Referenced by analyze().
|
private |
Definition at line 617 of file L1JetRecoTreeProducer.cc.
References reco::LeafCandidate::et(), met_data, PDWG_BPHSkim_cff::muons, reco::LeafCandidate::phi(), edm::Handle< T >::product(), L1Analysis::L1AnalysisRecoMetDataFormat::puppi_metNoMu, L1Analysis::L1AnalysisRecoMetDataFormat::puppi_metNoMuPhi, L1Analysis::L1AnalysisRecoMetDataFormat::puppi_metNoMuPx, L1Analysis::L1AnalysisRecoMetDataFormat::puppi_metNoMuPy, reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::setP4().
Referenced by analyze().
|
private |
Definition at line 666 of file L1JetRecoTreeProducer.cc.
References funct::abs(), change_name::diff, met_data, PDWG_BPHSkim_cff::muons, GetRecoTauVFromDQM_MC_cff::next, reco::LeafCandidate::p4(), DiDispStaMuonMonitor_cfi::pt, HLTMuonOfflineAnalyzer_cfi::zMass, and L1Analysis::L1AnalysisRecoMetDataFormat::zPt.
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 784 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 710 of file L1JetRecoTreeProducer.cc.
References funct::abs(), metsig::jet, and createJobs::tmp.
Referenced by doPFJetCorr(), and doPFJets().
|
private |
Definition at line 746 of file L1JetRecoTreeProducer.cc.
References funct::abs(), metsig::jet, and createJobs::tmp.
Referenced by doCorrPUPPIJets(), and doPUPPIJets().
|
private |
Definition at line 104 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 125 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 127 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJetCorr(), and doCaloJets().
|
private |
Definition at line 102 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 126 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 101 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 131 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 109 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 130 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 108 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 116 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 100 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
L1Analysis::L1AnalysisRecoJetDataFormat* L1JetRecoTreeProducer::jet_data |
Definition at line 90 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJetCorr(), doCaloJets(), doCorrPUPPIJets(), doPFJetCorr(), doPFJets(), doPUPPIJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 118 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJetCorr(), doCorrPUPPIJets(), doPFJetCorr(), and L1JetRecoTreeProducer().
|
private |
Definition at line 117 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJetCorr(), doCorrPUPPIJets(), doPFJetCorr(), and L1JetRecoTreeProducer().
|
private |
Definition at line 119 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 120 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJetCorr(), doCaloJets(), doCorrPUPPIJets(), doPFJetCorr(), doPFJets(), doPUPPIJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 122 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 121 of file L1JetRecoTreeProducer.cc.
L1Analysis::L1AnalysisRecoMetDataFormat* L1JetRecoTreeProducer::met_data |
Definition at line 91 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJetCorr(), doCaloMet(), doCaloMetBE(), doCorrPUPPIJets(), doPFJetCorr(), doPFMet(), doPFMetNoMu(), doPUPPIMetNoMu(), doZPt(), and L1JetRecoTreeProducer().
|
private |
Definition at line 133 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 103 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 124 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 114 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 98 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 128 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 106 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 115 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 99 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 129 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 107 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 95 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().