test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
TotemRPDQMSource::PotPlots Struct Reference

plots related to one RP More...

Public Member Functions

 PotPlots ()
 
 PotPlots (DQMStore::IBooker &ibooker, unsigned int id)
 

Public Attributes

MonitorElementactivity =NULL
 
MonitorElementactivity_per_bx =NULL
 
MonitorElementactivity_per_bx_short =NULL
 
MonitorElementactivity_u =NULL
 
MonitorElementactivity_v =NULL
 
MonitorElementevent_category =NULL
 
MonitorElementh_planes_fit_u =NULL
 
MonitorElementh_planes_fit_v =NULL
 
MonitorElementhit_plane_hist =NULL
 
MonitorElementpatterns_u =NULL
 
MonitorElementpatterns_v =NULL
 
MonitorElementtrack_u_profile =NULL
 
MonitorElementtrack_v_profile =NULL
 
MonitorElementtrackHitsCumulativeHist =NULL
 
MonitorElementvfat_corruption =NULL
 
MonitorElementvfat_ec_bc_error =NULL
 
MonitorElementvfat_missing =NULL
 
MonitorElementvfat_problem =NULL
 

Detailed Description

plots related to one RP

Definition at line 115 of file TotemRPDQMSource.cc.

Constructor & Destructor Documentation

TotemRPDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 128 of file TotemRPDQMSource.cc.

128 {}
TotemRPDQMSource::PotPlots::PotPlots ( DQMStore::IBooker ibooker,
unsigned int  id 
)

Definition at line 258 of file TotemRPDQMSource.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), MonitorElement::getTH1F(), TotemRPDetId::nFull, TotemRPDetId::nPath, fed_dqm_sourceclient-live_cfg::path, TotemRPDetId::rpName(), DQMStore::IBooker::setCurrentFolder(), and indexGen::title.

259 {
261  path.replace(0, 2, "TrackingStrip");
262  ibooker.setCurrentFolder(string("CTPPS/") + path);
263 
265 
266  vfat_problem = ibooker.book2D("vfats with any problem", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
267  vfat_missing = ibooker.book2D("vfats missing", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
268  vfat_ec_bc_error = ibooker.book2D("vfats with EC or BC error", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
269  vfat_corruption = ibooker.book2D("vfats with data corruption", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
270 
271  activity = ibooker.book1D("active planes", title+";number of active planes", 11, -0.5, 10.5);
272  activity_u = ibooker.book1D("active planes U", title+";number of active U planes", 11, -0.5, 10.5);
273  activity_v = ibooker.book1D("active planes V", title+";number of active V planes", 11, -0.5, 10.5);
274 
275  activity_per_bx = ibooker.book1D("activity per BX", title+";Event.BX", 4002, -1.5, 4000. + 0.5);
276  activity_per_bx_short = ibooker.book1D("activity per BX (short)", title+";Event.BX", 102, -1.5, 100. + 0.5);
277 
278  hit_plane_hist = ibooker.book2D("activity in planes (2D)", title+";plane number;strip number", 10, -0.5, 9.5, 32, -0.5, 511.5);
279 
280  patterns_u = ibooker.book1D("recognized patterns U", title+";number of recognized U patterns", 11, -0.5, 10.5);
281  patterns_v = ibooker.book1D("recognized patterns V", title+";number of recognized V patterns", 11, -0.5, 10.5);
282 
283  h_planes_fit_u = ibooker.book1D("planes contributing to fit U", title+";number of planes contributing to U fit", 6, -0.5, 5.5);
284  h_planes_fit_v = ibooker.book1D("planes contributing to fit V", title+";number of planes contributing to V fit", 6, -0.5, 5.5);
285 
286  event_category = ibooker.book1D("event category", title+";event category", 5, -0.5, 4.5);
287  TH1F *event_category_h = event_category->getTH1F();
288  event_category_h->GetXaxis()->SetBinLabel(1, "empty");
289  event_category_h->GetXaxis()->SetBinLabel(2, "insufficient");
290  event_category_h->GetXaxis()->SetBinLabel(3, "single-track");
291  event_category_h->GetXaxis()->SetBinLabel(4, "multi-track");
292  event_category_h->GetXaxis()->SetBinLabel(5, "shower");
293 
294  trackHitsCumulativeHist = ibooker.book2D("track XY profile", title+";x (mm);y (mm)", 100, -18., +18., 100, -18., +18.);
295 
296  track_u_profile = ibooker.book1D("track profile U", title+"; U (mm)", 512, -256*66E-3, +256*66E-3);
297  track_v_profile = ibooker.book1D("track profile V", title+"; V (mm)", 512, -256*66E-3, +256*66E-3);
298 }
static std::string rpName(unsigned int id, NameFlag flag=nFull)
returns official name of a RP characterized by ''id''; if ''full'' is true, name of station is prefix...
MonitorElement * vfat_corruption
MonitorElement * activity_per_bx
MonitorElement * track_u_profile
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:115
MonitorElement * track_v_profile
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:276
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:133
TH1F * getTH1F(void) const
MonitorElement * vfat_ec_bc_error
MonitorElement * activity_per_bx_short
MonitorElement * trackHitsCumulativeHist

Member Data Documentation

MonitorElement* TotemRPDQMSource::PotPlots::activity =NULL

Definition at line 119 of file TotemRPDQMSource.cc.

MonitorElement* TotemRPDQMSource::PotPlots::activity_per_bx =NULL

Definition at line 120 of file TotemRPDQMSource.cc.

MonitorElement * TotemRPDQMSource::PotPlots::activity_per_bx_short =NULL

Definition at line 120 of file TotemRPDQMSource.cc.

MonitorElement * TotemRPDQMSource::PotPlots::activity_u =NULL

Definition at line 119 of file TotemRPDQMSource.cc.

MonitorElement * TotemRPDQMSource::PotPlots::activity_v =NULL

Definition at line 119 of file TotemRPDQMSource.cc.

MonitorElement* TotemRPDQMSource::PotPlots::event_category =NULL

Definition at line 124 of file TotemRPDQMSource.cc.

MonitorElement* TotemRPDQMSource::PotPlots::h_planes_fit_u =NULL

Definition at line 123 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement * TotemRPDQMSource::PotPlots::h_planes_fit_v =NULL

Definition at line 123 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement* TotemRPDQMSource::PotPlots::hit_plane_hist =NULL

Definition at line 121 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement* TotemRPDQMSource::PotPlots::patterns_u =NULL

Definition at line 122 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement * TotemRPDQMSource::PotPlots::patterns_v =NULL

Definition at line 122 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement* TotemRPDQMSource::PotPlots::track_u_profile =NULL

Definition at line 126 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement * TotemRPDQMSource::PotPlots::track_v_profile =NULL

Definition at line 126 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement* TotemRPDQMSource::PotPlots::trackHitsCumulativeHist =NULL

Definition at line 125 of file TotemRPDQMSource.cc.

Referenced by TotemRPDQMSource::analyze().

MonitorElement * TotemRPDQMSource::PotPlots::vfat_corruption =NULL

Definition at line 117 of file TotemRPDQMSource.cc.

MonitorElement * TotemRPDQMSource::PotPlots::vfat_ec_bc_error =NULL

Definition at line 117 of file TotemRPDQMSource.cc.

MonitorElement * TotemRPDQMSource::PotPlots::vfat_missing =NULL

Definition at line 117 of file TotemRPDQMSource.cc.

MonitorElement* TotemRPDQMSource::PotPlots::vfat_problem =NULL

Definition at line 117 of file TotemRPDQMSource.cc.