CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TotemRPDQMSource::GlobalPlots Struct Reference

plots related to the whole system More...

Public Member Functions

void Init (DQMStore::IBooker &ibooker)
 

Public Attributes

MonitorElementevents_per_bx = NULL
 
MonitorElementevents_per_bx_short = NULL
 
MonitorElementh_trackCorr_hor = NULL
 

Detailed Description

plots related to the whole system

Definition at line 65 of file TotemRPDQMSource.cc.

Member Function Documentation

void TotemRPDQMSource::GlobalPlots::Init ( DQMStore::IBooker ibooker)

Definition at line 158 of file TotemRPDQMSource.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), events_per_bx, events_per_bx_short, MonitorElement::getTH2F(), h_trackCorr_hor, and create_public_lumi_plots::hist.

Referenced by TotemRPDQMSource::bookHistograms().

159 {
160  events_per_bx = ibooker.book1D("events per BX", "rp;Event.BX", 4002, -1.5, 4000. + 0.5);
161  events_per_bx_short = ibooker.book1D("events per BX (short)", "rp;Event.BX", 102, -1.5, 100. + 0.5);
162 
163  h_trackCorr_hor = ibooker.book2D("track correlation RP-210-hor", "rp, 210, hor", 4, -0.5, 3.5, 4, -0.5, 3.5);
164  TH2F *hist = h_trackCorr_hor->getTH2F();
165  TAxis *xa = hist->GetXaxis(), *ya = hist->GetYaxis();
166  xa->SetBinLabel(1, "45, 210, near"); ya->SetBinLabel(1, "45, 210, near");
167  xa->SetBinLabel(2, "45, 210, far"); ya->SetBinLabel(2, "45, 210, far");
168  xa->SetBinLabel(3, "56, 210, near"); ya->SetBinLabel(3, "56, 210, near");
169  xa->SetBinLabel(4, "56, 210, far"); ya->SetBinLabel(4, "56, 210, far");
170 }
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * events_per_bx_short
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
TH2F * getTH2F(void) const

Member Data Documentation

MonitorElement* TotemRPDQMSource::GlobalPlots::events_per_bx = NULL

Definition at line 67 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze(), and Init().

MonitorElement * TotemRPDQMSource::GlobalPlots::events_per_bx_short = NULL

Definition at line 67 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze(), and Init().

MonitorElement* TotemRPDQMSource::GlobalPlots::h_trackCorr_hor = NULL

Definition at line 68 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze(), and Init().