#include <L1Trigger/L1TNtuples/src/L1JetRecoTreeProducer.cc>
Public Attributes | |
L1Analysis::L1AnalysisRecoJetDataFormat * | jet_data |
L1Analysis::L1AnalysisRecoMetDataFormat * | met_data |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob (void) override |
bool | caloJetID (const reco::CaloJet &jet) |
void | doCaloJetCorr (edm::Handle< reco::CaloJetCollection > caloJets, edm::Handle< reco::JetCorrector > caloJetCorr) |
void | doCaloJets (edm::Handle< reco::CaloJetCollection > caloJets) |
void | doCaloMet (edm::Handle< reco::CaloMETCollection > caloMet) |
void | doCaloMetBE (edm::Handle< reco::CaloMETCollection > caloMetBE) |
void | doPFJetCorr (edm::Handle< reco::PFJetCollection > pfJets, edm::Handle< reco::JetCorrector > pfJetCorr) |
void | doPFJets (edm::Handle< reco::PFJetCollection > pfJets) |
void | doPFMet (edm::Handle< reco::PFMETCollection > pfMet) |
void | doPFMetNoMu (edm::Handle< reco::PFMETCollection > pfMet, edm::Handle< reco::MuonCollection >) |
void | endJob () override |
bool | pfJetID (const reco::PFJet &jet) |
Private Attributes | |
edm::EDGetTokenT< reco::JetCorrector > | caloJECToken_ |
bool | caloJetCorrMissing_ |
bool | caloJetIDMissing_ |
edm::EDGetTokenT< edm::ValueMap< reco::JetID > > | caloJetIDToken_ |
bool | caloJetsMissing_ |
edm::EDGetTokenT< reco::CaloJetCollection > | caloJetToken_ |
bool | caloMetBEMissing_ |
edm::EDGetTokenT< reco::CaloMETCollection > | caloMetBEToken_ |
bool | caloMetMissing_ |
edm::EDGetTokenT< reco::CaloMETCollection > | caloMetToken_ |
edm::Service< TFileService > | fs_ |
double | jetetaMax_ |
double | jetptThreshold_ |
unsigned int | maxCl_ |
unsigned int | maxJet_ |
unsigned int | maxTrk_ |
unsigned int | maxVtx_ |
bool | muonsMissing_ |
edm::EDGetTokenT< reco::MuonCollection > | muonToken_ |
edm::EDGetTokenT< reco::JetCorrector > | pfJECToken_ |
bool | pfJetCorrMissing_ |
bool | pfJetsMissing_ |
edm::EDGetTokenT< reco::PFJetCollection > | pfJetToken_ |
bool | pfMetMissing_ |
edm::EDGetTokenT< reco::PFMETCollection > | pfMetToken_ |
TTree * | tree_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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<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) |
Description: Produces tree containing reco quantities
Definition at line 58 of file L1JetRecoTreeProducer.cc.
|
explicit |
Definition at line 125 of file L1JetRecoTreeProducer.cc.
References caloJECToken_, caloJetIDToken_, caloJetToken_, caloMetBEToken_, caloMetToken_, fs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_2018_cff::InputTag, jet_data, jetetaMax_, jetptThreshold_, TFileService::make(), maxJet_, met_data, muonToken_, pfJECToken_, pfJetToken_, pfMetToken_, and tree_.
|
override |
Definition at line 167 of file L1JetRecoTreeProducer.cc.
|
overrideprivate |
Definition at line 177 of file L1JetRecoTreeProducer.cc.
References caloJECToken_, caloJetCorrMissing_, caloJetIDMissing_, caloJetIDToken_, isolatedTracks_cfi::caloJets, caloJetsMissing_, caloJetToken_, heavyionUCCDQM_cfi::caloMet, CaloMET_cfi::caloMetBE, caloMetBEMissing_, caloMetBEToken_, caloMetMissing_, caloMetToken_, doCaloJetCorr(), doCaloJets(), doCaloMet(), doCaloMetBE(), doPFJetCorr(), doPFJets(), doPFMet(), doPFMetNoMu(), edm::Event::getByToken(), 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::Reset(), L1Analysis::L1AnalysisRecoMetDataFormat::Reset(), and tree_.
|
overrideprivatevirtual |
|
private |
Definition at line 517 of file L1JetRecoTreeProducer.cc.
References createJobs::tmp.
Referenced by doCaloJetCorr(), and doCaloJets().
|
private |
Definition at line 404 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoJetDataFormat::caloCorrFactor, L1Analysis::L1AnalysisRecoJetDataFormat::caloEtCorr, L1Analysis::L1AnalysisRecoMetDataFormat::caloHt, caloJetID(), caloJetIDMissing_, reco::JetCorrector::correction(), jet_data, jetetaMax_, jetptThreshold_, maxJet_, met_data, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 306 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoJetDataFormat::caloE, L1Analysis::L1AnalysisRecoJetDataFormat::caloEt, L1Analysis::L1AnalysisRecoJetDataFormat::caloEta, caloJetID(), caloJetIDMissing_, 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 471 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoMetDataFormat::caloMet, L1Analysis::L1AnalysisRecoMetDataFormat::caloMetPhi, L1Analysis::L1AnalysisRecoMetDataFormat::caloSumEt, reco::LeafCandidate::et(), met_data, reco::LeafCandidate::phi(), edm::Handle< T >::product(), and reco::MET::sumEt().
Referenced by analyze().
|
private |
Definition at line 480 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoMetDataFormat::caloMetBE, L1Analysis::L1AnalysisRecoMetDataFormat::caloMetPhiBE, L1Analysis::L1AnalysisRecoMetDataFormat::caloSumEtBE, reco::LeafCandidate::et(), met_data, reco::LeafCandidate::phi(), edm::Handle< T >::product(), and reco::MET::sumEt().
Referenced by analyze().
|
private |
Definition at line 369 of file L1JetRecoTreeProducer.cc.
References 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, pfJetID(), and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 334 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(), L1Analysis::L1AnalysisRecoJetDataFormat::phi, and L1Analysis::L1AnalysisRecoJetDataFormat::phMult.
Referenced by analyze().
|
private |
Definition at line 429 of file L1JetRecoTreeProducer.cc.
References reco::LeafCandidate::et(), L1Analysis::L1AnalysisRecoMetDataFormat::met, met_data, L1Analysis::L1AnalysisRecoMetDataFormat::metPhi, L1Analysis::L1AnalysisRecoMetDataFormat::metPx, L1Analysis::L1AnalysisRecoMetDataFormat::metPy, reco::LeafCandidate::phi(), edm::Handle< T >::product(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::MET::sumEt(), and L1Analysis::L1AnalysisRecoMetDataFormat::sumEt.
Referenced by analyze().
|
private |
Definition at line 440 of file L1JetRecoTreeProducer.cc.
References reco::LeafCandidate::et(), met_data, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMu, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMuPhi, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMuPx, L1Analysis::L1AnalysisRecoMetDataFormat::pfMetNoMuPy, reco::LeafCandidate::phi(), edm::Handle< T >::product(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), and reco::LeafCandidate::setP4().
Referenced by analyze().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 527 of file L1JetRecoTreeProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 489 of file L1JetRecoTreeProducer.cc.
References reco::PFJet::chargedEmEnergyFraction(), reco::PFJet::chargedHadronEnergyFraction(), reco::PFJet::chargedMultiplicity(), reco::LeafCandidate::eta(), reco::PFJet::muonEnergyFraction(), reco::PFJet::neutralEmEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), reco::PFJet::neutralMultiplicity(), and createJobs::tmp.
Referenced by doPFJetCorr(), and doPFJets().
|
private |
Definition at line 97 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 117 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJetCorr(), and doCaloJets().
|
private |
Definition at line 95 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 94 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 120 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 119 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 100 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 87 of file L1JetRecoTreeProducer.cc.
Referenced by L1JetRecoTreeProducer().
L1Analysis::L1AnalysisRecoJetDataFormat* L1JetRecoTreeProducer::jet_data |
Definition at line 82 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJetCorr(), doCaloJets(), doPFJetCorr(), doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 108 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJetCorr(), doPFJetCorr(), and L1JetRecoTreeProducer().
|
private |
Definition at line 107 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJetCorr(), doPFJetCorr(), and L1JetRecoTreeProducer().
|
private |
Definition at line 109 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 110 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJetCorr(), doCaloJets(), doPFJetCorr(), doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 112 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 111 of file L1JetRecoTreeProducer.cc.
L1Analysis::L1AnalysisRecoMetDataFormat* L1JetRecoTreeProducer::met_data |
Definition at line 83 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJetCorr(), doCaloMet(), doCaloMetBE(), doPFJetCorr(), doPFMet(), doPFMetNoMu(), and L1JetRecoTreeProducer().
|
private |
Definition at line 122 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 103 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 96 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 114 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 106 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 93 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 118 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 90 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().