#include <BeamMonitor.h>
Public Member Functions | |
BeamMonitor (const edm::ParameterSet &) | |
Public Member Functions inherited from one::DQMEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
void | bookHistograms (DQMStore::IBooker &i, const edm::Run &r, const edm::EventSetup &c) override |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
Private Member Functions | |
void | FitAndFill (const edm::LuminosityBlock &lumiSeg, int &, int &, int &) |
void | formatFitTime (char *, const std::time_t &) |
void | RestartFitting () |
void | scrollTH1 (TH1 *, std::time_t) |
bool | testScroll (std::time_t &, std::time_t &) |
Definition at line 33 of file BeamMonitor.h.
BeamMonitor::BeamMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 86 of file BeamMonitor.cc.
References beginLumiOfBSFit_, beginLumiOfPVFit_, bsSrc_, debug_, deltaSigCut_, endLumiOfBSFit_, endLumiOfPVFit_, fitNLumi_, fitPVNLumi_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), hltSrc_, intervalInSec_, jetTrigger_, lastlumi_, maxZ_, min_Ntrks_, minNrVertices_, minVtxNdf_, minVtxWgt_, monitorName_, nextlumi_, nFits_, onlineMode_, processed_, pvSrc_, refBStime, refPVtime, resetFitNLumi_, resetPVNLumi_, theBeamFitter, and tracksLabel_.
|
overrideprotected |
Definition at line 612 of file BeamMonitor.cc.
References edm::HLTGlobalStatus::accept(), bsSrc_, countEvt_, countLumi_, cutFlowTable, MonitorElement::Fill(), runEdmFileComparison::found, edm::Event::getByToken(), MonitorElement::getTH1(), h_nVtx, h_nVtx_st, h_PVx, h_PVxz, h_PVy, h_PVyz, h_PVz, h_trkPt, h_trkVz, hltSrc_, mps_fire::i, jetTrigger_, edm::EventBase::luminosityBlock(), mapNPV, mapPVx, mapPVy, mapPVz, minVtxNdf_, minVtxWgt_, gen::n, nextlumi_, onlineMode_, processed_, edm::Handle< T >::product(), MetAnalyzer::pv(), pvSrc_, refBS, MonitorElement::Reset(), resetFitNLumi_, MonitorElement::setBinLabel(), edm::HLTGlobalStatus::size(), StartAverage_, AlCaHLTBitMon_QueryRunRegistry::string, lumiQTWidget::t, theBeamFitter, HiIsolationCommonParameters_cff::track, l1t::tracks, tracksLabel_, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), triggerResults, and trigNames.
|
overrideprotected |
Definition at line 501 of file BeamMonitor.cc.
References beginLumiOfBSFit_, beginLumiOfPVFit_, edm::LuminosityBlockBase::beginTime(), countLumi_, debug_, FitAndFill(), lastlumi_, edm::LuminosityBlockBase::luminosityBlock(), mapBeginBSLS, mapBeginBSTime, mapBeginPVLS, mapBeginPVTime, nextlumi_, onlineMode_, processed_, refBStime, refPVtime, StartAverage_, and edm::Timestamp::value().
|
overrideprotected |
Definition at line 196 of file BeamMonitor.cc.
References edm::RunBase::beginTime(), DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookFloat(), DQMStore::IBooker::bookProfile(), cutFlowTable, pyrootRender::da, debug_, dxBin_, dxMax_, dxMin_, dzBin_, dzMax_, dzMin_, MonitorElement::Fill(), fitResults, formatFitTime(), frun, ftimestamp, MonitorElement::getTH1(), MonitorElement::getTH2F(), h_d0_phi0, h_nTrk_lumi, h_nVtx, h_nVtx_lumi, h_nVtx_lumi_all, h_nVtx_st, h_PVx, h_PVxz, h_PVy, h_PVyz, h_PVz, h_sigmaX0, h_sigmaY0, h_sigmaZ0, h_trk_z0, h_trkPt, h_trkVz, h_vx_dz, h_vx_vy, h_vy_dz, h_x0, h_y0, h_z0, trackerHits::histo, hs, mps_fire::i, intervalInSec_, label, monitorName_, gen::n, nFitElements_, AlcaSiPixelAliHarvester0T_cff::options, phiBin_, phiMax_, phiMin_, pvResults, refTime, reportSummary, reportSummaryContents, reportSummaryMap, edm::RunBase::run(), MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), MonitorElement::setBinLabel(), DQMStore::IBooker::setCurrentFolder(), startTime, summaryContent_, tmpTime, edm::Timestamp::value(), vxBin_, vxMax_, vxMin_, trackingPlots::xtitle, and trackingPlots::ytitle.
|
overrideprotected |
Definition at line 748 of file BeamMonitor.cc.
References edm::LuminosityBlockBase::endTime(), edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nextlumi_, onlineMode_, refBStime, refPVtime, tmpTime, and edm::Timestamp::value().
|
overrideprotected |
Definition at line 1413 of file BeamMonitor.cc.
References debug_, mapBeginBSLS, mapBeginBSTime, mapBeginPVLS, mapBeginPVTime, mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, and mapPVz.
|
private |
Definition at line 760 of file BeamMonitor.cc.
References alpha, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthXError(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::BeamWidthYError(), begin, beginLumiOfBSFit_, beginLumiOfPVFit_, countLumi_, debug_, reco::BeamSpot::dxdz(), reco::BeamSpot::dxdzError(), reco::BeamSpot::dydz(), reco::BeamSpot::dydzError(), end, endLumiOfBSFit_, endLumiOfPVFit_, connectstrParser::f1, MonitorElement::Fill(), firstAverageFit_, fitNLumi_, fitPVNLumi_, fitResults, frun, MonitorElement::getMean(), MonitorElement::getMeanError(), MonitorElement::getRMS(), MonitorElement::getRMSError(), MonitorElement::getTH1(), MonitorElement::getTH1F(), MonitorElement::getTProfile(), h_d0_phi0, h_nTrk_lumi, h_nVtx_lumi, h_nVtx_lumi_all, h_nVtx_st, h_PVx, h_PVy, h_PVz, h_sigmaX0, h_sigmaY0, h_sigmaZ0, h_trk_z0, h_vx_dz, h_vx_vy, h_vy_dz, h_x0, h_y0, h_z0, hs, mps_fire::i, cuy::ii, genParticles_cff::map, mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, mapPVz, SiStripPI::mean, min_Ntrks_, minNrVertices_, gen::n, nFitElements_, nFits_, nthBSTrk_, onlineMode_, preBS, processed_, pvResults, refBStime, refPVtime, refTime, reportSummary, reportSummary_, reportSummaryContents, reportSummaryMap, MonitorElement::Reset(), resetFitNLumi_, resetHistos_, resetPVNLumi_, scrollTH1(), MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), MonitorElement::ShiftFillLast(), reco::BeamSpot::sigmaZ(), reco::BeamSpot::sigmaZ0Error(), mathSSE::sqrt(), StartAverage_, startTime, summaryContent_, summarySum_, testScroll(), theBeamFitter, tmpTime, reco::BeamSpot::type(), MonitorElement::update(), ApeEstimator_cff::width, reco::BeamSpot::x0(), reco::BeamSpot::x0Error(), reco::BeamSpot::y0(), reco::BeamSpot::y0Error(), reco::BeamSpot::z0(), and reco::BeamSpot::z0Error().
Referenced by beginLuminosityBlock().
|
private |
Definition at line 46 of file BeamMonitor.cc.
References b, CEST, constexpr, plotBeamSpotDB::ptm, ntuplemaker::time, and create_public_lumi_plots::year.
Referenced by bookHistograms(), and scrollTH1().
|
private |
Definition at line 1376 of file BeamMonitor.cc.
References beginLumiOfBSFit_, beginLumiOfPVFit_, countGapLumi_, countLumi_, debug_, h_PVx, h_PVy, h_PVz, mapBeginBSLS, mapBeginBSTime, mapBeginPVLS, mapBeginPVTime, mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, mapPVz, nthBSTrk_, refBStime, refPVtime, MonitorElement::Reset(), resetHistos_, StartAverage_, and theBeamFitter.
|
private |
Definition at line 1433 of file BeamMonitor.cc.
References stringResolutionProvider_cfi::bin, buffTime, pyrootRender::da, formatFitTime(), lastNZbin, and heppy_batch::val.
Referenced by FitAndFill().
|
private |
Definition at line 1454 of file BeamMonitor.cc.
References stringResolutionProvider_cfi::bin, buffTime, DEFINE_FWK_MODULE, hs, intervalInSec_, lastNZbin, and PFRecoTauDiscriminationByIsolation_cfi::offset.
Referenced by FitAndFill().
|
private |
Definition at line 94 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 96 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 76 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 92 of file BeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 115 of file BeamMonitor.h.
Referenced by RestartFitting().
|
private |
Definition at line 93 of file BeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 172 of file BeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 86 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), bookHistograms(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 105 of file BeamMonitor.h.
Referenced by BeamMonitor().
|
private |
Definition at line 60 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 62 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 61 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 72 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 74 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 73 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 95 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 97 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 114 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 81 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 82 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 136 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 181 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 179 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 129 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 126 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 143 of file BeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 127 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 128 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 144 of file BeamMonitor.h.
Referenced by analyze(), bookHistograms(), and FitAndFill().
|
private |
Definition at line 145 of file BeamMonitor.h.
Referenced by analyze(), bookHistograms(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 148 of file BeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 146 of file BeamMonitor.h.
Referenced by analyze(), bookHistograms(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 149 of file BeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 147 of file BeamMonitor.h.
Referenced by analyze(), bookHistograms(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 140 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 141 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 142 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 130 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 134 of file BeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 135 of file BeamMonitor.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 132 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 131 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 133 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 137 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 138 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 139 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 79 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 151 of file BeamMonitor.h.
Referenced by bookHistograms(), FitAndFill(), and testScroll().
|
private |
Definition at line 85 of file BeamMonitor.h.
Referenced by BeamMonitor(), bookHistograms(), and testScroll().
|
private |
Definition at line 88 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 98 of file BeamMonitor.h.
Referenced by BeamMonitor(), and beginLuminosityBlock().
|
private |
Definition at line 182 of file BeamMonitor.h.
Referenced by scrollTH1(), and testScroll().
|
private |
Definition at line 157 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 158 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 157 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 158 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 160 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 163 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 161 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 155 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 154 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 154 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 154 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 107 of file BeamMonitor.h.
Referenced by BeamMonitor().
|
private |
Definition at line 106 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 108 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 109 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 110 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 75 of file BeamMonitor.h.
Referenced by BeamMonitor(), and bookHistograms().
|
private |
Definition at line 99 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 103 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 104 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 102 of file BeamMonitor.h.
Referenced by FitAndFill(), and RestartFitting().
|
private |
Definition at line 87 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 68 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 70 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 69 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 123 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 117 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 150 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 78 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 122 of file BeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 100 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 101 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 178 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 169 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 166 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 170 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 171 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 83 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), and FitAndFill().
|
private |
Definition at line 112 of file BeamMonitor.h.
Referenced by FitAndFill(), and RestartFitting().
|
private |
Definition at line 84 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 113 of file BeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 177 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 168 of file BeamMonitor.h.
Referenced by bookHistograms(), and FitAndFill().
|
private |
Definition at line 167 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 90 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 176 of file BeamMonitor.h.
Referenced by bookHistograms(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 77 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 64 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 66 of file BeamMonitor.h.
Referenced by bookHistograms().
|
private |
Definition at line 65 of file BeamMonitor.h.
Referenced by bookHistograms().