#include <JetValidation.h>
Private Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &iSetup) override |
void | beginJob () override |
void | endJob () override |
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::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 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<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) |
Definition at line 17 of file JetValidation.h.
JetValidation::JetValidation | ( | edm::ParameterSet const & | cfg | ) |
Definition at line 24 of file JetValidation.cc.
References looper::cfg, mix_2012_lumiLevel_15_20_50ns_PoissonOOTPU_cfi::histoFileName, ECF_cff::Njets, and HLT_2022v15_cff::PtMin.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 82 of file JetValidation.cc.
References gather_cfg::cout, PbPb_ZMuSkimMuonDPG_cff::deltaR, HGC3DClusterGenMatchSelector_cfi::dR, HLT_2022v15_cff::dRmin, MillePedeFileConverter_cfg::e, reco::CaloJet::emEnergyInEB(), reco::CaloJet::emEnergyInEE(), reco::CaloJet::emEnergyInHF(), reco::LeafCandidate::energy(), PVValHelper::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_2022v15_cff::jetTracks, EgHLTOffHistBins_cfi::mass, ECF_cff::Njets, BeamSpotPI::nTracks, DiDispStaMuonMonitor_cfi::pt, reco::LeafCandidate::pt(), HLT_2022v15_cff::PtMin, edm::EventID::run(), reco::JetTracksAssociation::tracksNumber(), and reco::JetTracksAssociation::tracksP4().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 35 of file JetValidation.cc.
References mix_2012_lumiLevel_15_20_50ns_PoissonOOTPU_cfi::histoFileName, and M_PI.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 194 of file JetValidation.cc.
|
private |
Definition at line 210 of file JetValidation.cc.
References gather_cfg::cout.
|
private |
|
private |
Definition at line 226 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.