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

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

202 {
203  ibooker.setCurrentFolder( "CTPPS" );
204 
205  h_trackCorr_hor = ibooker.book2D( "track correlation all hor", "rp, all, hor", 6, -0.5, 5.5, 6, -0.5, 5.5 );
206  TH2F* hist = h_trackCorr_hor->getTH2F();
207  TAxis* xa = hist->GetXaxis(), *ya = hist->GetYaxis();
208  xa->SetBinLabel( 6, "45, 210, near" ); ya->SetBinLabel( 1, "45, 210, near" );
209  xa->SetBinLabel( 5, "45, 210, far" ); ya->SetBinLabel( 2, "45, 210, far" );
210  xa->SetBinLabel( 4, "45, 220, cyl" ); ya->SetBinLabel( 3, "45, 220, cyl" );
211  xa->SetBinLabel( 3, "56, 210, near" ); ya->SetBinLabel( 4, "56, 210, near" );
212  xa->SetBinLabel( 2, "56, 210, far" ); ya->SetBinLabel( 5, "56, 210, far" );
213  xa->SetBinLabel( 1, "56, 220, cyl" ); ya->SetBinLabel( 6, "56, 220, cyl" );
214 }
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 = 0

Definition at line 86 of file CTPPSDiamondDQMSource.cc.

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