#include <BeamMonitor.h>
Public Member Functions | |
BeamMonitor (const edm::ParameterSet &) | |
~BeamMonitor () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Definition at line 30 of file BeamMonitor.h.
BeamMonitor::BeamMonitor | ( | const edm::ParameterSet & | ps | ) |
Definition at line 77 of file BeamMonitor.cc.
References beginLumiOfBSFit_, beginLumiOfPVFit_, bsSrc_, 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_, cmsCodeRules.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 544 of file BeamMonitor.cc.
References DQMStore::book1D(), bsSrc_, countEvt_, countLumi_, cutFlowTable, dbe_, MonitorElement::Fill(), newFWLiteAna::found, edm::Event::getByLabel(), 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(), DQMStore::setCurrentFolder(), StartAverage_, matplotRender::t, theBeamFitter, testEve_cfg::tracks, tracksLabel_, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerName(), edm::Event::triggerNames(), and trigNames.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 127 of file BeamMonitor.cc.
References DQMStore::book1D(), DQMStore::book2D(), DQMStore::bookFloat(), DQMStore::bookProfile(), cutFlowTable, pyrootRender::da, dbe_, jptDQMConfig_cff::dzMax, jptDQMConfig_cff::dzMin, MonitorElement::Fill(), fitResults, DQMStore::get(), 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, trackerHits::histo, hs, i, intervalInSec_, label, monitorName_, n, nFitElements_, loadConditions::options, parameters_, jptDQMConfig_cff::phiMax, jptDQMConfig_cff::phiMin, pvResults, DQMStore::removeElement(), reportSummary, reportSummaryContents, reportSummaryMap, MonitorElement::setAxisTitle(), MonitorElement::setBinContent(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), and summaryContent_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 434 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 413 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 1357 of file BeamMonitor.cc.
References endLuminosityBlock(), and onlineMode_.
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 681 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 1337 of file BeamMonitor.cc.
References debug_, mapBeginBSLS, mapBeginBSTime, mapBeginPVLS, mapBeginPVTime, mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, and mapPVz.
|
private |
Definition at line 693 of file BeamMonitor.cc.
References alpha, reco::BeamSpot::BeamWidthX(), reco::BeamSpot::BeamWidthXError(), reco::BeamSpot::BeamWidthY(), reco::BeamSpot::BeamWidthYError(), begin, beginLumiOfBSFit_, beginLumiOfPVFit_, DQMStore::book1D(), 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(), 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, python.multivaluedict::map(), mapLSBSTrkSize, mapLSCF, mapLSPVStoreSize, mapNPV, mapPVx, mapPVy, mapPVz, plotscripts::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(), DQMStore::setCurrentFolder(), 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(), tablePrinter::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 50 of file BeamMonitor.cc.
References b, CEST, and plotBeamSpotDB::ptm.
Referenced by beginRun(), and scrollTH1().
|
private |
Definition at line 1303 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 1363 of file BeamMonitor.cc.
References newFWLiteAna::bin, buffTime, pyrootRender::da, formatFitTime(), and lastNZbin.
Referenced by FitAndFill().
|
private |
Definition at line 1383 of file BeamMonitor.cc.
References newFWLiteAna::bin, buffTime, hs, intervalInSec_, lastNZbin, and evf::evtn::offset().
Referenced by FitAndFill().
|
private |
Definition at line 84 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 86 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 65 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 82 of file BeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 105 of file BeamMonitor.h.
Referenced by RestartFitting().
|
private |
Definition at line 83 of file BeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 160 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginJob(), and FitAndFill().
|
private |
Definition at line 75 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), beginRun(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 95 of file BeamMonitor.h.
Referenced by BeamMonitor().
|
private |
Definition at line 85 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 87 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 104 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 70 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 71 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 124 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 169 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 167 of file BeamMonitor.h.
Referenced by beginRun().
|
private |
Definition at line 117 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 116 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 131 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 132 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), and FitAndFill().
|
private |
Definition at line 133 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 136 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 134 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 137 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 135 of file BeamMonitor.h.
Referenced by analyze(), beginJob(), FitAndFill(), and RestartFitting().
|
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 118 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 122 of file BeamMonitor.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 123 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 119 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 beginJob(), and FitAndFill().
|
private |
Definition at line 126 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 127 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 68 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 139 of file BeamMonitor.h.
Referenced by beginJob(), beginRun(), FitAndFill(), and testScroll().
|
private |
Definition at line 74 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginJob(), and testScroll().
|
private |
Definition at line 77 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 88 of file BeamMonitor.h.
Referenced by BeamMonitor(), and beginLuminosityBlock().
|
private |
Definition at line 170 of file BeamMonitor.h.
Referenced by scrollTH1(), and testScroll().
|
private |
Definition at line 145 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 146 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 145 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 146 of file BeamMonitor.h.
Referenced by beginLuminosityBlock(), endRun(), and RestartFitting().
|
private |
Definition at line 148 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 151 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 149 of file BeamMonitor.h.
Referenced by endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 143 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 142 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 142 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 142 of file BeamMonitor.h.
Referenced by analyze(), endRun(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 97 of file BeamMonitor.h.
Referenced by BeamMonitor().
|
private |
Definition at line 96 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 98 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 99 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 100 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 64 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginJob(), and FitAndFill().
|
private |
Definition at line 89 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 93 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 94 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 92 of file BeamMonitor.h.
Referenced by FitAndFill(), and RestartFitting().
|
private |
Definition at line 76 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), endJob(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 63 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginJob(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
private |
Definition at line 113 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 107 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), beginLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 138 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 67 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().
|
private |
Definition at line 112 of file BeamMonitor.h.
Referenced by analyze().
|
private |
Definition at line 90 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 91 of file BeamMonitor.h.
Referenced by BeamMonitor(), beginLuminosityBlock(), endLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 166 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 157 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 154 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 158 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 159 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 72 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), and FitAndFill().
|
private |
Definition at line 102 of file BeamMonitor.h.
Referenced by FitAndFill(), and RestartFitting().
|
private |
Definition at line 73 of file BeamMonitor.h.
Referenced by BeamMonitor(), and FitAndFill().
|
private |
Definition at line 103 of file BeamMonitor.h.
Referenced by analyze(), beginLuminosityBlock(), FitAndFill(), and RestartFitting().
|
private |
Definition at line 165 of file BeamMonitor.h.
Referenced by beginRun(), and FitAndFill().
|
private |
Definition at line 156 of file BeamMonitor.h.
Referenced by beginJob(), and FitAndFill().
|
private |
Definition at line 155 of file BeamMonitor.h.
Referenced by FitAndFill().
|
private |
Definition at line 80 of file BeamMonitor.h.
Referenced by analyze(), BeamMonitor(), FitAndFill(), RestartFitting(), and ~BeamMonitor().
|
private |
Definition at line 164 of file BeamMonitor.h.
Referenced by beginRun(), endLuminosityBlock(), and FitAndFill().
|
private |
Definition at line 66 of file BeamMonitor.h.
Referenced by analyze(), and BeamMonitor().