![]() |
![]() |
#include <METAnalyzer.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
Get the analysis. More... | |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
Inizialize parameters for histo binning. More... | |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
Initialize run-based parameters. More... | |
void | endRun (const edm::Run &iRun, const edm::EventSetup &iSetup) override |
Finish up a run. More... | |
void | fillMESet (const edm::Event &, std::string, const reco::MET &, const pat::MET &, const reco::PFMET &, const reco::CaloMET &, const reco::Candidate::PolarLorentzVector &, std::map< std::string, MonitorElement * > &, std::vector< bool >, std::vector< bool >) |
void | fillMonitorElement (const edm::Event &, std::string, std::string, const reco::MET &, const pat::MET &, const reco::PFMET &, const reco::CaloMET &, const reco::Candidate::PolarLorentzVector &, std::map< std::string, MonitorElement * > &, bool, bool, std::vector< bool >, std::vector< bool >) |
void | makeRatePlot (std::string, double) |
METAnalyzer (const edm::ParameterSet &) | |
Constructor. More... | |
~METAnalyzer () override | |
Destructor. More... | |
![]() | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Private Member Functions | |
void | bookMESet (std::string, DQMStore::IBooker &, std::map< std::string, MonitorElement * > &) |
void | bookMonitorElement (std::string, DQMStore::IBooker &, std::map< std::string, MonitorElement * > &, bool, bool, bool) |
Jan. '14: modified by
M. Artur Weber R. Schoefbeck V. Sordini
Definition at line 93 of file METAnalyzer.h.
METAnalyzer::METAnalyzer | ( | const edm::ParameterSet & | pSet | ) |
Constructor.
Definition at line 42 of file METAnalyzer.cc.
References edm::ParameterSet::getParameter(), JetIDSelectionFunctor::LOOSE, PFJetIDSelectionFunctor::LOOSE, JetIDSelectionFunctor::PURE09, AlCaHLTBitMon_QueryRunRegistry::string, and PFJetIDSelectionFunctor::WINTER16.
|
override |
Destructor.
Definition at line 185 of file METAnalyzer.cc.
|
override |
Get the analysis.
Definition at line 1116 of file METAnalyzer.cc.
References edm::HLTGlobalStatus::accept(), isolatedTracks_cfi::caloJets, ALCARECOTkAlJpsiMuMu_cff::charge, reco::JetCorrector::correction(), gather_cfg::cout, cmsPerfPublish::DirName, PVValHelper::dxy, PVValHelper::dz, PVValHelper::eta, edm::Event::getByToken(), cutBasedMuonId_MuonPOG_V0_cff::globalTrack, mps_fire::i, susybsm::HSCParticleType::innerTrack, edm::HandleBase::isValid(), LogDebug, LogTrace, edm::EventBase::luminosityBlock(), SiStripPI::max, RazorAnalyzer::met, Reconstruction_hiPF_cff::Muons, hemisphereProducer_cfi::patJets, muons_cfi::pfIsolationR04, pfJetBenchmark_cfi::pfJets, position, edm::Handle< T >::product(), EnergyCorrector::pt, hiDetachedQuadStep_cff::pt1, hiDetachedQuadStep_cff::pt2, Scenarios_cff::scale, AlCaHLTBitMon_QueryRunRegistry::string, L1GlobalTriggerReadoutRecord::technicalTriggerWord(), edm::triggerResults(), and particleFlowSuperClusterECAL_cfi::vertexCollection.
|
override |
Inizialize parameters for histo binning.
Definition at line 193 of file METAnalyzer.cc.
References cmsPerfPublish::DirName, DQMStore::IBooker::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 222 of file METAnalyzer.cc.
|
private |
Definition at line 248 of file METAnalyzer.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), gather_cfg::cout, mps_fire::i, M_PI, MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), MonitorElement::setLumiFlag(), AlCaHLTBitMon_QueryRunRegistry::string, and findQualityFiles::v.
|
override |
Initialize run-based parameters.
Definition at line 882 of file METAnalyzer.cc.
References gather_cfg::cout, runEdmFileComparison::found, edm::EventSetup::get(), L1GtTriggerMenu::gtTechnicalTriggerMap(), mps_fire::i, edm::ESHandle< T >::product(), cond::persistency::search(), electronDataDiscovery::search2(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Finish up a run.
Definition at line 1031 of file METAnalyzer.cc.
References cmsPerfPublish::DirName, TrackerOfflineValidation_Dqm_cff::dirName, MonitorElement::getRootObject(), MonitorElement::getTH1F(), mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
void METAnalyzer::fillMESet | ( | const edm::Event & | , |
std::string | , | ||
const reco::MET & | , | ||
const pat::MET & | , | ||
const reco::PFMET & | , | ||
const reco::CaloMET & | , | ||
const reco::Candidate::PolarLorentzVector & | , | ||
std::map< std::string, MonitorElement * > & | , | ||
std::vector< bool > | , | ||
std::vector< bool > | |||
) |
Definition at line 1672 of file METAnalyzer.cc.
References mps_fire::i, and AlCaHLTBitMon_QueryRunRegistry::string.
void METAnalyzer::fillMonitorElement | ( | const edm::Event & | , |
std::string | , | ||
std::string | , | ||
const reco::MET & | , | ||
const pat::MET & | , | ||
const reco::PFMET & | , | ||
const reco::CaloMET & | , | ||
const reco::Candidate::PolarLorentzVector & | , | ||
std::map< std::string, MonitorElement * > & | , | ||
bool | , | ||
bool | , | ||
std::vector< bool > | , | ||
std::vector< bool > | |||
) |
Definition at line 1701 of file METAnalyzer.cc.
References EnergyCorrector::c, pat::MET::ChargedEMEtFraction(), pat::MET::ChargedHadEtFraction(), reco::PFMET::chargedHadronEt(), reco::PFMET::chargedHadronEtFraction(), reco::PFMET::electronEt(), reco::CaloMET::emEtFraction(), reco::CaloMET::emEtInEB(), reco::CaloMET::emEtInEE(), reco::CaloMET::emEtInHF(), reco::LeafCandidate::et(), reco::LeafCandidate::eta(), reco::CaloMET::etFractionHadronic(), HcalObjRepresent::Fill(), edm::Event::getByToken(), reco::CaloMET::hadEtInHB(), reco::CaloMET::hadEtInHE(), reco::CaloMET::hadEtInHF(), reco::CaloMET::hadEtInHO(), reco::PFMET::HFEMEt(), reco::PFMET::HFEMEtFraction(), reco::PFMET::HFHadronEt(), reco::PFMET::HFHadronEtFraction(), mps_fire::i, edm::EventBase::luminosityBlock(), reco::MET::mEtSig(), reco::PFMET::muonEt(), pat::MET::MuonEtFraction(), pat::MET::NeutralEMFraction(), pat::MET::NeutralHadEtFraction(), reco::PFMET::neutralHadronEt(), reco::PFMET::neutralHadronEtFraction(), pfLinker_cff::particleFlow, reco::PFCandidate::particleId(), reco::LeafCandidate::phi(), reco::PFMET::photonEt(), reco::PFMET::photonEtFraction(), reco::LeafCandidate::pt(), reco::LeafCandidate::px(), reco::LeafCandidate::py(), mathSSE::sqrt(), reco::MET::sumEt(), pat::MET::Type6EtFraction(), and pat::MET::Type7EtFraction().