34 monitorName_ = ps.getUntrackedParameter<
string>(
"monitorName",
"YourSubsystemName");
48 cache.
h_x0_lumi = i.
book1D(
"x0_lumi_cond",
"x coordinate of beam spot vs lumi (Cond)",10,0,10);
53 cache.
h_y0_lumi = i.
book1D(
"y0_lumi_cond",
"y coordinate of beam spot vs lumi (Cond)",10,0,10);
66 auto const& condBeamSpot = *beamhandle;
69 LogInfo(
"BeamConditions") <<
"[BeamConditionsMonitor]:" << condBeamSpot << endl;
70 cache->h_x0_lumi.shiftFillLast( condBeamSpot.GetX(), condBeamSpot.GetXError(), 1 );
71 cache->h_y0_lumi.shiftFillLast( condBeamSpot.GetY(), condBeamSpot.GetYError(), 1 );
73 return std::shared_ptr<void>{};
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
void setOption(const char *option)
ConcurrentMonitorElement h_x0_lumi
void setCurrentFolder(std::string const &fullpath)
void globalEndLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) const override
ConcurrentMonitorElement book1D(Args &&...args)
void setAxisTitle(std::string const &title, int axis=1)
void bookHistograms(DQMStore::ConcurrentBooker &i, const edm::Run &r, const edm::EventSetup &c, beamcond::RunCache &) const override
BeamConditionsMonitor(const edm::ParameterSet &)
ConcurrentMonitorElement h_y0_lumi
std::shared_ptr< void > globalBeginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) const override
void dqmAnalyze(const edm::Event &e, const edm::EventSetup &c, beamcond::RunCache const &) const override
Run const & getRun() const