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 = NULL
 

Detailed Description

plots related to the whole system

Definition at line 84 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::GlobalPlots::GlobalPlots ( )
inline

Definition at line 88 of file CTPPSDiamondDQMSource.cc.

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

Definition at line 193 of file CTPPSDiamondDQMSource.cc.

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

194 {
195  ibooker.setCurrentFolder( "CTPPS" );
196 
197  h_trackCorr_hor = ibooker.book2D( "track correlation all hor", "rp, all, hor", 6, -0.5, 5.5, 6, -0.5, 5.5 );
198  TH2F* hist = h_trackCorr_hor->getTH2F();
199  TAxis* xa = hist->GetXaxis(), *ya = hist->GetYaxis();
200  xa->SetBinLabel( 6, "45, 210, near" ); ya->SetBinLabel( 1, "45, 210, near" );
201  xa->SetBinLabel( 5, "45, 210, far" ); ya->SetBinLabel( 2, "45, 210, far" );
202  xa->SetBinLabel( 4, "45, 220, cyl" ); ya->SetBinLabel( 3, "45, 220, cyl" );
203  xa->SetBinLabel( 3, "56, 210, near" ); ya->SetBinLabel( 4, "56, 210, near" );
204  xa->SetBinLabel( 2, "56, 210, far" ); ya->SetBinLabel( 5, "56, 210, far" );
205  xa->SetBinLabel( 1, "56, 220, cyl" ); ya->SetBinLabel( 6, "56, 220, cyl" );
206 }
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:277
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
TH2F * getTH2F(void) const

Member Data Documentation

MonitorElement* CTPPSDiamondDQMSource::GlobalPlots::h_trackCorr_hor = NULL

Definition at line 86 of file CTPPSDiamondDQMSource.cc.

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