28 countEvt_(0),countLumi_(0) {
52 h_x0_lumi =
dbe_->book1D(
"x0_lumi_cond",
"x coordinate of beam spot vs lumi (Cond)",10,0,10);
57 h_y0_lumi =
dbe_->book1D(
"y0_lumi_cond",
"y coordinate of beam spot vs lumi (Cond)",10,0,10);
T getUntrackedParameter(std::string const &, T const &) const
void endLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override
double GetY() const
get Y beam position
#define DEFINE_FWK_MODULE(type)
double GetYError() const
get Y beam position Error
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
~BeamConditionsMonitor() override
MonitorElement * h_x0_lumi
edm::ParameterSet parameters_
double GetX() const
get X beam position
double GetXError() const
get X beam position Error
BeamConditionsMonitor(const edm::ParameterSet &)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override
void analyze(const edm::Event &e, const edm::EventSetup &c) override
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)