#include <L1Trigger/L1TNtuples/src/L1JetRecoTreeProducer.cc>
Public Attributes | |
L1Analysis::L1AnalysisRecoJetDataFormat * | jet_data |
L1Analysis::L1AnalysisRecoMetDataFormat * | met_data |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
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) |
virtual void | endJob () |
bool | jetId (const reco::PFJet &jet) |
Private Attributes | |
bool | caloMetBEMissing_ |
edm::EDGetTokenT< reco::CaloMETCollection > | caloMetBEToken_ |
bool | caloMetMissing_ |
edm::EDGetTokenT< reco::CaloMETCollection > | caloMetToken_ |
edm::Service< TFileService > | fs_ |
edm::EDGetTokenT< reco::JetCorrector > | jecToken_ |
double | jetetaMax_ |
double | jetptThreshold_ |
unsigned int | maxCl_ |
unsigned int | maxJet_ |
unsigned int | maxTrk_ |
unsigned int | maxVtx_ |
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 &) |
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 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 119 of file L1JetRecoTreeProducer.cc.
References caloMetBEToken_, caloMetToken_, fs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), jecToken_, jet_data, jetetaMax_, jetptThreshold_, TFileService::make(), maxJet_, met_data, pfJetToken_, pfMetToken_, and tree_.
L1JetRecoTreeProducer::~L1JetRecoTreeProducer | ( | ) |
Definition at line 151 of file L1JetRecoTreeProducer.cc.
|
privatevirtual |
Definition at line 165 of file L1JetRecoTreeProducer.cc.
References CaloMET_cfi::caloMet, CaloMET_cfi::caloMetBE, caloMetBEMissing_, caloMetBEToken_, caloMetMissing_, caloMetToken_, doCaloMet(), doCaloMetBE(), doPFJetCorr(), doPFJets(), doPFMet(), edm::Event::getByToken(), edm::HandleBase::isValid(), jecToken_, jet_data, met_data, L1Analysis::L1AnalysisRecoJetDataFormat::nJets, pfJetCorrMissing_, pfJetBenchmark_cfi::pfJets, pfJetsMissing_, pfJetToken_, PFMET_cfi::pfMet, pfMetMissing_, pfMetToken_, L1Analysis::L1AnalysisRecoMetDataFormat::Reset(), L1Analysis::L1AnalysisRecoJetDataFormat::Reset(), and tree_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 456 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 250 of file L1JetRecoTreeProducer.cc.
References L1Analysis::L1AnalysisRecoJetDataFormat::e, 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, L1Analysis::L1AnalysisRecoJetDataFormat::et, L1Analysis::L1AnalysisRecoJetDataFormat::eta, L1Analysis::L1AnalysisRecoJetDataFormat::isPF, jet_data, maxJet_, L1Analysis::L1AnalysisRecoJetDataFormat::nJets, L1Analysis::L1AnalysisRecoJetDataFormat::phi, and L1Analysis::L1AnalysisRecoJetDataFormat::towerArea.
|
private |
Definition at line 403 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 415 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 325 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, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 284 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, L1Analysis::L1AnalysisRecoJetDataFormat::isPF, 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, L1Analysis::L1AnalysisRecoJetDataFormat::phi, and L1Analysis::L1AnalysisRecoJetDataFormat::phMult.
Referenced by analyze().
|
private |
Definition at line 389 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(), L1Analysis::L1AnalysisRecoMetDataFormat::sumEt, and reco::MET::sumEt().
Referenced by analyze().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 462 of file L1JetRecoTreeProducer.cc.
References DEFINE_FWK_MODULE.
|
private |
Definition at line 427 of file L1JetRecoTreeProducer.cc.
References reco::PFJet::chargedEmEnergyFraction(), reco::PFJet::chargedHadronEnergyFraction(), reco::PFJet::chargedMultiplicity(), reco::PFJet::electronMultiplicity(), reco::LeafCandidate::eta(), reco::PFJet::muonEnergyFraction(), reco::PFJet::muonMultiplicity(), reco::PFJet::neutralEmEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), reco::PFJet::neutralMultiplicity(), and tmp.
|
private |
Definition at line 114 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 113 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 86 of file L1JetRecoTreeProducer.cc.
Referenced by L1JetRecoTreeProducer().
|
private |
Definition at line 95 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
L1Analysis::L1AnalysisRecoJetDataFormat* L1JetRecoTreeProducer::jet_data |
Definition at line 80 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJets(), doPFJetCorr(), doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 105 of file L1JetRecoTreeProducer.cc.
Referenced by doPFJetCorr(), and L1JetRecoTreeProducer().
|
private |
Definition at line 104 of file L1JetRecoTreeProducer.cc.
Referenced by doPFJetCorr(), and L1JetRecoTreeProducer().
|
private |
Definition at line 106 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 107 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJets(), doPFJetCorr(), doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 109 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 108 of file L1JetRecoTreeProducer.cc.
L1Analysis::L1AnalysisRecoMetDataFormat* L1JetRecoTreeProducer::met_data |
Definition at line 81 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloMet(), doCaloMetBE(), doPFJetCorr(), doPFMet(), and L1JetRecoTreeProducer().
|
private |
Definition at line 112 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 103 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 92 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 111 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 89 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().