#include <BeamMonitor.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) override |
void | endJob (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
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) |
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 &) |
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 &) |
Definition at line 33 of file BeamMonitor.h.
BeamMonitor::BeamMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 85 of file BeamMonitor.cc.
References d0_phi_analyzer_cff::BeamFitter, beginLumiOfBSFit_, beginLumiOfPVFit_, bsSrc_, edm::EDConsumerBase::consumesCollector(), dbe_, 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_, Utilities::operator, parameters_, processed_, pvSrc_, refBStime, refPVtime, resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), resetPVNLumi_, BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), theBeamFitter, and tracksLabel_.
BeamMonitor::~BeamMonitor | ( | ) |
|
overrideprotected |
Definition at line 569 of file BeamMonitor.cc.
References edm::HLTGlobalStatus::accept(), bsSrc_, countEvt_, countLumi_, cutFlowTable, dbe_, MonitorElement::Fill(), runEdmFileComparison::found, edm::Event::getByToken(), BeamFitter::getCutFlow(), MonitorElement::getName(), 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_, monitorName_, gen::n, nextlumi_, onlineMode_, processed_, edm::Handle< T >::product(), MetAnalyzer::pv(), pvSrc_, BeamFitter::readEvent(), refBS, 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.
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 140 of file BeamMonitor.cc.
References cutFlowTable, pyrootRender::da, dbe_, AlignmentTrackSelector_cfi::dzMax, AlignmentTrackSelector_cfi::dzMin, MonitorElement::Fill(), fitResults, MonitorElement::getName(), edm::ParameterSet::getParameter(), 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_, diffTwoXMLs::label, monitorName_, gen::n, nFitElements_, AlcaSiPixelAliHarvester0T_cff::options, parameters_, conversionPostprocessing_cfi::phiBin, AlignmentTrackSelector_cfi::phiMax, AlignmentTrackSelector_cfi::phiMin, pvResults, reportSummary, reportSummaryContents, reportSummaryMap, MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), MonitorElement::setBinLabel(), summaryContent_, trackingPlots::xtitle, and trackingPlots::ytitle.
|
overrideprotected |
Definition at line 458 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 436 of file BeamMonitor.cc.
References edm::RunBase::beginTime(), gather_cfg::cout, pyrootRender::da, debug_, formatFitTime(), frun, ftimestamp, hs, refTime, edm::RunBase::run(), startTime, tmpTime, and edm::Timestamp::value().
|
protected |
Definition at line 1386 of file BeamMonitor.cc.
References endLuminosityBlock(), and onlineMode_.
|
overrideprotected |
Definition at line 707 of file BeamMonitor.cc.
References edm::LuminosityBlockBase::endTime(), edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nextlumi_, onlineMode_, refBStime, refPVtime, tmpTime, and edm::Timestamp::value().
Referenced by endJob().
|
overrideprotected |
Definition at line 1366 of file BeamMonitor.cc.
References debug_, mapBeginBSLS, mapBeginBSTime, mapBeginPVLS, mapBeginPVTime, mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, and mapPVz.
|
private |
Definition at line 719 of file BeamMonitor.cc.
References alpha, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthXError(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::BeamWidthYError(), begin, beginLumiOfBSFit_, beginLumiOfPVFit_, countLumi_, dbe_, 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, BeamFitter::getBeamSpot(), BeamFitter::getBSvector(), BeamFitter::getCutFlow(), BeamFitter::getFitLSRange(), MonitorElement::getMean(), MonitorElement::getMeanError(), MonitorElement::getName(), BeamFitter::getPVvectorSize(), BeamFitter::getRefTime(), MonitorElement::getRMS(), MonitorElement::getRMSError(), BeamFitter::getRunNumber(), MonitorElement::getTH1(), 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, RecoTauDiscriminantConfiguration::mean, min_Ntrks_, minNrVertices_, monitorName_, gen::n, nFitElements_, nFits_, nthBSTrk_, onlineMode_, preBS, processed_, pvResults, refBStime, refPVtime, refTime, reportSummary, reportSummary_, reportSummaryContents, reportSummaryMap, MonitorElement::Reset(), resetFitNLumi_, resetHistos_, resetPVNLumi_, BeamFitter::resizeBSvector(), BeamFitter::resizePVvector(), BeamFitter::runPVandTrkFitter(), scrollTH1(), MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), BeamFitter::setFitLSRange(), BeamFitter::SetPVInfo(), BeamFitter::setRefTime(), BeamFitter::setRun(), MonitorElement::ShiftFillLast(), reco::BeamSpot::sigmaZ(), reco::BeamSpot::sigmaZ0Error(), mathSSE::sqrt(), StartAverage_, startTime, BeamFitter::subtractFromCutFlow(), summaryContent_, summarySum_, testScroll(), theBeamFitter, createPayload::tmpfile, 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 45 of file BeamMonitor.cc.
References b, CEST, plotBeamSpotDB::ptm, ntuplemaker::time, and create_public_lumi_plots::year.
Referenced by beginRun(), and scrollTH1().
|
private |
Definition at line 1332 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(), BeamFitter::resetCutFlow(), resetHistos_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), StartAverage_, and theBeamFitter.
|
private |
Definition at line 1392 of file BeamMonitor.cc.
References stringResolutionProvider_cfi::bin, buffTime, pyrootRender::da, formatFitTime(), lastNZbin, and heppy_batch::val.
Referenced by FitAndFill().
|
private |
Definition at line 1413 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 87 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 89 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 68 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 85 of file BeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 108 of file BeamMonitor.h.
Referenced by RestartFitting().
|
private |
Definition at line 86 of file BeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 165 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginJob(), and FitAndFill().
|
private |
Definition at line 78 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), beginRun(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 98 of file BeamMonitor.h.
Referenced by BeamMonitor().
|
private |
Definition at line 88 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 90 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 107 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 73 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 74 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 129 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 174 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 172 of file BeamMonitor.h.
Referenced by beginRun().
|
private |
Definition at line 122 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 119 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 136 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 120 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 121 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 137 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), and FitAndFill().
|
private |
Definition at line 138 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 141 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 139 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 142 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 140 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 133 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 134 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 135 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 123 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 127 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 128 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 125 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 124 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 126 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 130 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 131 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 132 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 71 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 144 of file BeamMonitor.h.
Referenced by beginJob(), beginRun(), FitAndFill(), and testScroll().
|
private |
Definition at line 77 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginJob(), and testScroll().
|
private |
Definition at line 80 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 91 of file BeamMonitor.h.
Referenced by BeamMonitor(), and beginLuminosityBlock().
|
private |
Definition at line 175 of file BeamMonitor.h.
Referenced by scrollTH1(), and testScroll().
|
private |
Definition at line 150 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 151 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 150 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 151 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 153 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 156 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 154 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 148 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 147 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 147 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 147 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 100 of file BeamMonitor.h.
Referenced by BeamMonitor().
|
private |
Definition at line 99 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 101 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 102 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 103 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 67 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginJob(), and FitAndFill().
|
private |
Definition at line 92 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 96 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 97 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 95 of file BeamMonitor.h.
Referenced by FitAndFill(), and RestartFitting().
|
private |
Definition at line 79 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), endJob(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 66 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginJob(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
private |
Definition at line 116 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 110 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 143 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 70 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 115 of file BeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 93 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 94 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 171 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 162 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 159 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 163 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 164 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 75 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), and FitAndFill().
|
private |
Definition at line 105 of file BeamMonitor.h.
Referenced by FitAndFill(), and RestartFitting().
|
private |
Definition at line 76 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 106 of file BeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 170 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 161 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 160 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 83 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), FitAndFill(), RestartFitting(), and ~BeamMonitor().
|
private |
Definition at line 169 of file BeamMonitor.h.
Referenced by beginRun(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 69 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().