#include <JetValidation.h>
Public Member Functions | |
JetValidation (edm::ParameterSet const &cfg) | |
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 () |
Private Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &iSetup) |
void | beginJob () |
void | endJob () |
void | FillHist1D (const TString &histName, const Double_t &x) |
void | FillHist2D (const TString &histName, const Double_t &x, const Double_t &y) |
void | FillHistProfile (const TString &histName, const Double_t &x, const Double_t &y) |
Private Attributes | |
std::string | calAlgo |
double | dRmatch |
std::string | genAlgo |
std::string | histoFileName |
std::string | jetTracksAssociator |
TFile * | m_file |
std::map< TString, TH1 * > | m_HistNames1D |
std::map< TString, TH2 * > | m_HistNames2D |
std::map< TString, TProfile * > | m_HistNamesProfile |
bool | MCarlo |
int | Njets |
double | PtMin |
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) |
Definition at line 17 of file JetValidation.h.
JetValidation::JetValidation | ( | edm::ParameterSet const & | cfg | ) |
Definition at line 24 of file JetValidation.cc.
References edm::ParameterSet::getParameter(), diJetCalib::histoFileName, and HLT_25ns10e33_v2_cff::PtMin.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 81 of file JetValidation.cc.
References gather_cfg::cout, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, alignCSCRings::e, reco::CaloJet::emEnergyInEB(), reco::CaloJet::emEnergyInEE(), reco::CaloJet::emEnergyInHF(), reco::LeafCandidate::energy(), eta, reco::LeafCandidate::eta(), edm::EventID::event(), edm::Event::getByLabel(), reco::CaloJet::hadEnergyInHB(), reco::CaloJet::hadEnergyInHE(), reco::CaloJet::hadEnergyInHF(), reco::CaloJet::hadEnergyInHO(), edm::EventBase::id(), HLT_25ns10e33_v2_cff::jetTracks, nTracks(), reco::LeafCandidate::phi(), phi(), EnergyCorrector::pt, reco::LeafCandidate::pt(), HLT_25ns10e33_v2_cff::PtMin, edm::EventID::run(), reco::JetTracksAssociation::tracksNumber(), and reco::JetTracksAssociation::tracksP4().
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 36 of file JetValidation.cc.
References diJetCalib::histoFileName, and M_PI.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 202 of file JetValidation.cc.
|
private |
|
private |
|
private |
Definition at line 237 of file JetValidation.cc.
References gather_cfg::cout.
|
private |
Definition at line 40 of file JetValidation.h.
|
private |
Definition at line 35 of file JetValidation.h.
|
private |
Definition at line 39 of file JetValidation.h.
|
private |
Definition at line 38 of file JetValidation.h.
|
private |
Definition at line 41 of file JetValidation.h.
|
private |
Definition at line 32 of file JetValidation.h.
|
private |
Definition at line 29 of file JetValidation.h.
|
private |
Definition at line 30 of file JetValidation.h.
|
private |
Definition at line 31 of file JetValidation.h.
|
private |
Definition at line 37 of file JetValidation.h.
|
private |
Definition at line 36 of file JetValidation.h.
|
private |
Definition at line 34 of file JetValidation.h.