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 79 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

CTPPSDiamondDQMSource::GlobalPlots::GlobalPlots ( )
inline

Definition at line 83 of file CTPPSDiamondDQMSource.cc.

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

Definition at line 185 of file CTPPSDiamondDQMSource.cc.

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

186 {
187  ibooker.setCurrentFolder( "CTPPS" );
188 
189  h_trackCorr_hor = ibooker.book2D( "track correlation all hor", "rp, all, hor", 6, -0.5, 5.5, 6, -0.5, 5.5 );
190  TH2F* hist = h_trackCorr_hor->getTH2F();
191  TAxis* xa = hist->GetXaxis(), *ya = hist->GetYaxis();
192  xa->SetBinLabel( 6, "45, 210, near" ); ya->SetBinLabel( 1, "45, 210, near" );
193  xa->SetBinLabel( 5, "45, 210, far" ); ya->SetBinLabel( 2, "45, 210, far" );
194  xa->SetBinLabel( 4, "45, 220, cyl" ); ya->SetBinLabel( 3, "45, 220, cyl" );
195  xa->SetBinLabel( 3, "56, 210, near" ); ya->SetBinLabel( 4, "56, 210, near" );
196  xa->SetBinLabel( 2, "56, 210, far" ); ya->SetBinLabel( 5, "56, 210, far" );
197  xa->SetBinLabel( 1, "56, 220, cyl" ); ya->SetBinLabel( 6, "56, 220, cyl" );
198 }
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 81 of file CTPPSDiamondDQMSource.cc.

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