#include <BeamMonitor.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob () |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
void | endJob (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
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 &) |
const char * | formatFitTime (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 |
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 71 of file BeamMonitor.cc.
References beam_dqm_sourceclient-live_cfg::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_, cppFunctionSkipper::operator, parameters_, processed_, pvSrc_, refBStime, refPVtime, resetFitNLumi_, BeamFitter::resetLSRange(), BeamFitter::resetPVFitter(), resetPVNLumi_, BeamFitter::resetRefTime(), BeamFitter::resetTrkVector(), theBeamFitter, and tracksLabel_.
BeamMonitor::~BeamMonitor | ( | ) |
|
protectedvirtual |
Implements edm::EDAnalyzer.
Definition at line 543 of file BeamMonitor.cc.
References bsSrc_, countEvt_, countLumi_, cutFlowTable, dbe_, MonitorElement::Fill(), newFWLiteAna::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_, i, jetTrigger_, edm::EventBase::luminosityBlock(), mapNPV, mapPVx, mapPVy, mapPVz, minVtxNdf_, minVtxWgt_, monitorName_, n, nextlumi_, onlineMode_, processed_, edm::Handle< T >::product(), pvSrc_, BeamFitter::readEvent(), refBS, resetFitNLumi_, MonitorElement::setBinLabel(), StartAverage_, AlCaHLTBitMon_QueryRunRegistry::string, edmStreamStallGrapher::t, theBeamFitter, testEve_cfg::tracks, tracksLabel_, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), triggerResults, and trigNames.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 126 of file BeamMonitor.cc.
References cutFlowTable, pyrootRender::da, dbe_, MonitorElement::Fill(), fitResults, MonitorElement::getName(), edm::ParameterSet::getParameter(), MonitorElement::getTH1(), MonitorElement::getTH2F(), h_d0_phi0, h_nTrk_lumi, h_nVtx, 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, timingPdfMaker::histo, hs, i, intervalInSec_, diffTwoXMLs::label, monitorName_, n, nFitElements_, AlCaHLTBitMon_ParallelJobs::options, parameters_, pvResults, reportSummary, reportSummaryContents, reportSummaryMap, MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), MonitorElement::setBinLabel(), and summaryContent_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 433 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().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 412 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 1353 of file BeamMonitor.cc.
References endLuminosityBlock(), and onlineMode_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 680 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().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 1333 of file BeamMonitor.cc.
References debug_, mapBeginBSLS, mapBeginBSTime, mapBeginPVLS, mapBeginPVTime, mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, and mapPVz.
|
private |
Definition at line 692 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_, python.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(), getTH1F(), MonitorElement::getTProfile(), h_d0_phi0, h_nTrk_lumi, 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, i, cuy::ii, python.multivaluedict::map(), mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, mapPVz, timingPdfMaker::mean, min_Ntrks_, minNrVertices_, monitorName_, 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, filesave_online::tmpfile, tmpTime, reco::BeamSpot::type(), MonitorElement::update(), create_public_lumi_plots::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 44 of file BeamMonitor.cc.
References b, CEST, plotBeamSpotDB::ptm, and create_public_lumi_plots::year.
Referenced by beginRun(), and scrollTH1().
|
private |
Definition at line 1299 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 1359 of file BeamMonitor.cc.
References newFWLiteAna::bin, buffTime, pyrootRender::da, formatFitTime(), and lastNZbin.
Referenced by FitAndFill().
|
private |
Definition at line 1379 of file BeamMonitor.cc.
References newFWLiteAna::bin, buffTime, hs, intervalInSec_, lastNZbin, and evf::evtn::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 163 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 127 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 172 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 170 of file BeamMonitor.h.
Referenced by beginRun().
|
private |
Definition at line 120 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 134 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), and FitAndFill().
|
private |
Definition at line 136 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 139 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 137 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 140 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 138 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
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 133 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 125 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 126 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 123 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 122 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 128 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 129 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 71 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 142 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 173 of file BeamMonitor.h.
Referenced by scrollTH1(), and testScroll().
|
private |
Definition at line 148 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 149 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 148 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 149 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 151 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 152 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 146 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 145 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 145 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 145 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 141 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 169 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 160 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 157 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 161 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 162 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 168 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 159 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 158 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 167 of file BeamMonitor.h.
Referenced by beginRun(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 69 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().