33 usesResource(
"DQMStore");
48 h_x0_lumi =
dbe_->
book1D(
"x0_lumi_cond",
"x coordinate of beam spot vs lumi (Cond)", 10, 0, 10);
53 h_y0_lumi =
dbe_->
book1D(
"y0_lumi_cond",
"y coordinate of beam spot vs lumi (Cond)", 10, 0, 10);
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void setCurrentFolder(std::string const &fullpath) override
T getUntrackedParameter(std::string const &, T const &) const
DQM_DEPRECATED void ShiftFillLast(double y, double ye=0., int32_t xscale=1)
void beginRun(const edm::Run &r, const edm::EventSetup &c) override
void endRun(const edm::Run &r, const edm::EventSetup &c) override
BeamSpotObjects condBeamSpot
MonitorElement * h_y0_lumi
double x() const
get X beam position
~BeamConditionsMonitor() override
#define DEFINE_FWK_MODULE(type)
MonitorElement * h_x0_lumi
edm::ParameterSet parameters_
Log< level::Info, false > LogInfo
double y() const
get Y beam position
double xError() const
get X beam position Error
BeamConditionsMonitor(const edm::ParameterSet &)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
virtual TH1 * getTH1() const
edm::ESGetToken< BeamSpotObjects, BeamSpotObjectsRcd > beamSpotToken_
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
double yError() const
get Y beam position Error
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)