#include <L1Trigger/L1TNtuples/src/L1JetRecoTreeProducer.cc>
Public Member Functions | |
L1JetRecoTreeProducer (const edm::ParameterSet &) | |
~L1JetRecoTreeProducer () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 | 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 () |
Private Attributes | |
edm::Service< TFileService > | fs_ |
edm::EDGetTokenT < reco::JetCorrector > | jecToken_ |
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 56 of file L1JetRecoTreeProducer.cc.
|
explicit |
Definition at line 109 of file L1JetRecoTreeProducer.cc.
References fs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HLT_FULL_cff::InputTag, jecToken_, jet_data, jetptThreshold_, TFileService::make(), maxJet_, met_data, pfJetToken_, pfMetToken_, and tree_.
L1JetRecoTreeProducer::~L1JetRecoTreeProducer | ( | ) |
Definition at line 136 of file L1JetRecoTreeProducer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 150 of file L1JetRecoTreeProducer.cc.
References doPFJetCorr(), doPFJets(), doPFMet(), edm::Event::getByToken(), edm::HandleBase::isValid(), jecToken_, jet_data, met_data, L1Analysis::L1AnalysisRecoJetDataFormat::nJets, pfJetCorrMissing_, pfJets_cff::pfJets, pfJetsMissing_, pfJetToken_, PFMET_cfi::pfMet, pfMetMissing_, pfMetToken_, L1Analysis::L1AnalysisRecoJetDataFormat::Reset(), L1Analysis::L1AnalysisRecoMetDataFormat::Reset(), and tree_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 346 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 211 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 302 of file L1JetRecoTreeProducer.cc.
References corr, L1Analysis::L1AnalysisRecoJetDataFormat::corrFactor, L1Analysis::L1AnalysisRecoJetDataFormat::etCorr, jet_data, maxJet_, and edm::Handle< T >::product().
Referenced by analyze().
|
private |
Definition at line 245 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::L1AnalysisRecoMetDataFormat::Ht, L1Analysis::L1AnalysisRecoJetDataFormat::isPF, jet_data, jetptThreshold_, maxJet_, L1Analysis::L1AnalysisRecoJetDataFormat::mef, met_data, L1Analysis::L1AnalysisRecoMetDataFormat::mHt, L1Analysis::L1AnalysisRecoMetDataFormat::mHtPhi, 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 331 of file L1JetRecoTreeProducer.cc.
References reco::LeafCandidate::et(), L1Analysis::L1AnalysisRecoMetDataFormat::met, met_data, L1Analysis::L1AnalysisRecoMetDataFormat::metPhi, reco::LeafCandidate::phi(), edm::Handle< T >::product(), L1Analysis::L1AnalysisRecoMetDataFormat::sumEt, and reco::MET::sumEt().
Referenced by analyze().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 352 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 80 of file L1JetRecoTreeProducer.cc.
Referenced by L1JetRecoTreeProducer().
|
private |
Definition at line 89 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
L1Analysis::L1AnalysisRecoJetDataFormat* L1JetRecoTreeProducer::jet_data |
Definition at line 74 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doCaloJets(), doPFJetCorr(), doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 96 of file L1JetRecoTreeProducer.cc.
Referenced by doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 97 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 98 of file L1JetRecoTreeProducer.cc.
Referenced by doCaloJets(), doPFJetCorr(), doPFJets(), and L1JetRecoTreeProducer().
|
private |
Definition at line 100 of file L1JetRecoTreeProducer.cc.
|
private |
Definition at line 99 of file L1JetRecoTreeProducer.cc.
L1Analysis::L1AnalysisRecoMetDataFormat* L1JetRecoTreeProducer::met_data |
Definition at line 75 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), doPFJets(), doPFMet(), and L1JetRecoTreeProducer().
|
private |
Definition at line 103 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 95 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 86 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 102 of file L1JetRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 91 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().
|
private |
Definition at line 83 of file L1JetRecoTreeProducer.cc.
Referenced by analyze(), and L1JetRecoTreeProducer().