CMS 3D CMS Logo

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

plots related to the whole system More...

Public Member Functions

 GlobalPlots ()
 
 GlobalPlots (DQMStore::IBooker &ibooker)
 

Public Attributes

MonitorElementh_trackCorr_hor = 0
 

Detailed Description

plots related to the whole system

Definition at line 85 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::GlobalPlots::GlobalPlots ( )
inline

Definition at line 89 of file CTPPSDiamondDQMSource.cc.

89 {}
CTPPSDiamondDQMSource::GlobalPlots::GlobalPlots ( DQMStore::IBooker ibooker)

Definition at line 202 of file CTPPSDiamondDQMSource.cc.

References DQMStore::IBooker::book2D(), MonitorElement::getTH2F(), h_trackCorr_hor, create_public_lumi_plots::hist, and DQMStore::IBooker::setCurrentFolder().

203 {
204  ibooker.setCurrentFolder( "CTPPS" );
205 
206  h_trackCorr_hor = ibooker.book2D( "track correlation all hor", "rp, all, hor", 6, -0.5, 5.5, 6, -0.5, 5.5 );
207  TH2F* hist = h_trackCorr_hor->getTH2F();
208  TAxis* xa = hist->GetXaxis(), *ya = hist->GetYaxis();
209  xa->SetBinLabel( 6, "45, 210, near" ); ya->SetBinLabel( 1, "45, 210, near" );
210  xa->SetBinLabel( 5, "45, 210, far" ); ya->SetBinLabel( 2, "45, 210, far" );
211  xa->SetBinLabel( 4, "45, 220, cyl" ); ya->SetBinLabel( 3, "45, 220, cyl" );
212  xa->SetBinLabel( 3, "56, 210, near" ); ya->SetBinLabel( 4, "56, 210, near" );
213  xa->SetBinLabel( 2, "56, 210, far" ); ya->SetBinLabel( 5, "56, 210, far" );
214  xa->SetBinLabel( 1, "56, 220, cyl" ); ya->SetBinLabel( 6, "56, 220, cyl" );
215 }
TH2F * getTH2F() const
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:279
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136

Member Data Documentation

MonitorElement* CTPPSDiamondDQMSource::GlobalPlots::h_trackCorr_hor = 0

Definition at line 87 of file CTPPSDiamondDQMSource.cc.

Referenced by CTPPSDiamondDQMSource::analyze(), and GlobalPlots().