CMS 3D CMS Logo

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

plots related to one arm More...

Public Member Functions

 ArmPlots ()
 
 ArmPlots (DQMStore::IBooker &ibooker, int _id)
 

Public Attributes

MonitorElementh_numRPWithTrack_bot =NULL
 
MonitorElementh_numRPWithTrack_hor =NULL
 
MonitorElementh_numRPWithTrack_top =NULL
 
MonitorElementh_trackCorr =NULL
 
MonitorElementh_trackCorr_overlap =NULL
 
int id
 

Detailed Description

plots related to one arm

Definition at line 91 of file TotemRPDQMSource.cc.

Constructor & Destructor Documentation

TotemRPDQMSource::ArmPlots::ArmPlots ( )
inline

Definition at line 98 of file TotemRPDQMSource.cc.

98 {}
TotemRPDQMSource::ArmPlots::ArmPlots ( DQMStore::IBooker ibooker,
int  _id 
)

Definition at line 201 of file TotemRPDQMSource.cc.

References CTPPSDetId::armName(), DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), MonitorElement::getTH2F(), h_numRPWithTrack_bot, h_numRPWithTrack_hor, h_numRPWithTrack_top, h_trackCorr, h_trackCorr_overlap, CTPPSDetId::nFull, CTPPSDetId::nPath, callgraph::path, DQMStore::IBooker::setCurrentFolder(), and fftjetcommon_cfi::title.

201  : id(_id)
202 {
203  string path;
205  ibooker.setCurrentFolder(path);
206 
207  string title;
209 
210  h_numRPWithTrack_top = ibooker.book1D("number of top RPs with tracks", title+";number of top RPs with tracks", 5, -0.5, 4.5);
211  h_numRPWithTrack_hor = ibooker.book1D("number of hor RPs with tracks", title+";number of hor RPs with tracks", 5, -0.5, 4.5);
212  h_numRPWithTrack_bot = ibooker.book1D("number of bot RPs with tracks", title+";number of bot RPs with tracks", 5, -0.5, 4.5);
213 
214  h_trackCorr = ibooker.book2D("track RP correlation", title, 13, -0.5, 12.5, 13, -0.5, 12.5);
215  TH2F *h_trackCorr_h = h_trackCorr->getTH2F();
216  TAxis *xa = h_trackCorr_h->GetXaxis(), *ya = h_trackCorr_h->GetYaxis();
217  xa->SetBinLabel(1, "210, near, top"); ya->SetBinLabel(1, "210, near, top");
218  xa->SetBinLabel(2, "bot"); ya->SetBinLabel(2, "bot");
219  xa->SetBinLabel(3, "hor"); ya->SetBinLabel(3, "hor");
220  xa->SetBinLabel(4, "far, hor"); ya->SetBinLabel(4, "far, hor");
221  xa->SetBinLabel(5, "top"); ya->SetBinLabel(5, "top");
222  xa->SetBinLabel(6, "bot"); ya->SetBinLabel(6, "bot");
223  xa->SetBinLabel(8, "220, near, top"); ya->SetBinLabel(8, "220, near, top");
224  xa->SetBinLabel(9, "bot"); ya->SetBinLabel(9, "bot");
225  xa->SetBinLabel(10, "hor"); ya->SetBinLabel(10, "hor");
226  xa->SetBinLabel(11, "far, hor"); ya->SetBinLabel(11, "far, hor");
227  xa->SetBinLabel(12, "top"); ya->SetBinLabel(12, "top");
228  xa->SetBinLabel(13, "bot"); ya->SetBinLabel(13, "bot");
229 
230  h_trackCorr_overlap = ibooker.book2D("track RP correlation hor-vert overlaps", title, 13, -0.5, 12.5, 13, -0.5, 12.5);
231  h_trackCorr_h = h_trackCorr_overlap->getTH2F();
232  xa = h_trackCorr_h->GetXaxis(); ya = h_trackCorr_h->GetYaxis();
233  xa->SetBinLabel(1, "210, near, top"); ya->SetBinLabel(1, "210, near, top");
234  xa->SetBinLabel(2, "bot"); ya->SetBinLabel(2, "bot");
235  xa->SetBinLabel(3, "hor"); ya->SetBinLabel(3, "hor");
236  xa->SetBinLabel(4, "far, hor"); ya->SetBinLabel(4, "far, hor");
237  xa->SetBinLabel(5, "top"); ya->SetBinLabel(5, "top");
238  xa->SetBinLabel(6, "bot"); ya->SetBinLabel(6, "bot");
239  xa->SetBinLabel(8, "220, near, top"); ya->SetBinLabel(8, "220, near, top");
240  xa->SetBinLabel(9, "bot"); ya->SetBinLabel(9, "bot");
241  xa->SetBinLabel(10, "hor"); ya->SetBinLabel(10, "hor");
242  xa->SetBinLabel(11, "far, hor"); ya->SetBinLabel(11, "far, hor");
243  xa->SetBinLabel(12, "top"); ya->SetBinLabel(12, "top");
244  xa->SetBinLabel(13, "bot"); ya->SetBinLabel(13, "bot");
245 }
Detector ID class for TOTEM Si strip detectors.
Definition: TotemRPDetId.h:30
MonitorElement * h_trackCorr_overlap
MonitorElement * h_numRPWithTrack_top
MonitorElement * h_numRPWithTrack_hor
MonitorElement * h_numRPWithTrack_bot
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
void armName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:115
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 * TotemRPDQMSource::ArmPlots::h_numRPWithTrack_bot =NULL

Definition at line 95 of file TotemRPDQMSource.cc.

Referenced by ArmPlots().

MonitorElement * TotemRPDQMSource::ArmPlots::h_numRPWithTrack_hor =NULL

Definition at line 95 of file TotemRPDQMSource.cc.

Referenced by ArmPlots().

MonitorElement* TotemRPDQMSource::ArmPlots::h_numRPWithTrack_top =NULL

Definition at line 95 of file TotemRPDQMSource.cc.

Referenced by ArmPlots().

MonitorElement* TotemRPDQMSource::ArmPlots::h_trackCorr =NULL

Definition at line 96 of file TotemRPDQMSource.cc.

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

MonitorElement * TotemRPDQMSource::ArmPlots::h_trackCorr_overlap =NULL

Definition at line 96 of file TotemRPDQMSource.cc.

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

int TotemRPDQMSource::ArmPlots::id

Definition at line 93 of file TotemRPDQMSource.cc.