CMS 3D CMS Logo

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 = 0
 
MonitorElementactivity_per_bx = 0
 
MonitorElementactivity_per_bx_short = 0
 
MonitorElementactivity_u = 0
 
MonitorElementactivity_v = 0
 
MonitorElementevent_category = 0
 
MonitorElementh_planes_fit_u = 0
 
MonitorElementh_planes_fit_v = 0
 
MonitorElementhit_plane_hist = 0
 
MonitorElementpatterns_u = 0
 
MonitorElementpatterns_v = 0
 
MonitorElementtrack_u_profile = 0
 
MonitorElementtrack_v_profile = 0
 
MonitorElementtrackHitsCumulativeHist = 0
 
MonitorElementtriggerSectorUVCorrelation_all = 0
 
MonitorElementtriggerSectorUVCorrelation_mult2 = 0
 
MonitorElementtriggerSectorUVCorrelation_track = 0
 
MonitorElementvfat_corruption = 0
 
MonitorElementvfat_ec_bc_error = 0
 
MonitorElementvfat_missing = 0
 
MonitorElementvfat_problem = 0
 

Detailed Description

plots related to one RP

Definition at line 59 of file TotemRPDQMSource.cc.

Constructor & Destructor Documentation

TotemRPDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 73 of file TotemRPDQMSource.cc.

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

Definition at line 103 of file TotemRPDQMSource.cc.

References activity, activity_per_bx, activity_per_bx_short, activity_u, activity_v, DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), event_category, MonitorElement::getTH1F(), h_planes_fit_u, h_planes_fit_v, hit_plane_hist, CTPPSDetId::nFull, CTPPSDetId::nPath, callgraph::path, patterns_u, patterns_v, CTPPSDetId::rpName(), DQMStore::IBooker::setCurrentFolder(), fftjetcommon_cfi::title, track_u_profile, track_v_profile, trackHitsCumulativeHist, triggerSectorUVCorrelation_all, triggerSectorUVCorrelation_mult2, triggerSectorUVCorrelation_track, vfat_corruption, vfat_ec_bc_error, vfat_missing, and vfat_problem.

104 {
105  string path;
107  ibooker.setCurrentFolder(path);
108 
109  string title;
111 
112  vfat_problem = ibooker.book2D("vfats with any problem", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
113  vfat_missing = ibooker.book2D("vfats missing", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
114  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);
115  vfat_corruption = ibooker.book2D("vfats with data corruption", title+";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
116 
117  activity = ibooker.book1D("active planes", title+";number of active planes", 11, -0.5, 10.5);
118  activity_u = ibooker.book1D("active planes U", title+";number of active U planes", 11, -0.5, 10.5);
119  activity_v = ibooker.book1D("active planes V", title+";number of active V planes", 11, -0.5, 10.5);
120 
121  activity_per_bx = ibooker.book1D("activity per BX", title+";Event.BX", 4002, -1.5, 4000. + 0.5);
122  activity_per_bx_short = ibooker.book1D("activity per BX (short)", title+";Event.BX", 102, -1.5, 100. + 0.5);
123 
124  hit_plane_hist = ibooker.book2D("activity in planes (2D)", title+";plane number;strip number", 10, -0.5, 9.5, 32, -0.5, 511.5);
125 
126  patterns_u = ibooker.book1D("recognized patterns U", title+";number of recognized U patterns", 11, -0.5, 10.5);
127  patterns_v = ibooker.book1D("recognized patterns V", title+";number of recognized V patterns", 11, -0.5, 10.5);
128 
129  h_planes_fit_u = ibooker.book1D("planes contributing to fit U", title+";number of planes contributing to U fit", 6, -0.5, 5.5);
130  h_planes_fit_v = ibooker.book1D("planes contributing to fit V", title+";number of planes contributing to V fit", 6, -0.5, 5.5);
131 
132  event_category = ibooker.book1D("event category", title+";event category", 5, -0.5, 4.5);
133  TH1F *event_category_h = event_category->getTH1F();
134  event_category_h->GetXaxis()->SetBinLabel(1, "empty");
135  event_category_h->GetXaxis()->SetBinLabel(2, "insufficient");
136  event_category_h->GetXaxis()->SetBinLabel(3, "single-track");
137  event_category_h->GetXaxis()->SetBinLabel(4, "multi-track");
138  event_category_h->GetXaxis()->SetBinLabel(5, "shower");
139 
140  trackHitsCumulativeHist = ibooker.book2D("track XY profile", title+";x (mm);y (mm)", 100, -18., +18., 100, -18., +18.);
141 
142  track_u_profile = ibooker.book1D("track profile U", title+"; U (mm)", 512, -256*66E-3, +256*66E-3);
143  track_v_profile = ibooker.book1D("track profile V", title+"; V (mm)", 512, -256*66E-3, +256*66E-3);
144 
145  triggerSectorUVCorrelation_all = ibooker.book2D("trigger sector UV correlation (no cond)", title+";V sector;U sector", 16, -0.5, 15.5, 16, -0.5, 15.5);
146  triggerSectorUVCorrelation_mult2 = ibooker.book2D("trigger sector UV correlation (max mult 2)", title+";V sector;U sector", 16, -0.5, 15.5, 16, -0.5, 15.5);
147  triggerSectorUVCorrelation_track = ibooker.book2D("trigger sector UV correlation (track)", title+";V sector;U sector", 16, -0.5, 15.5, 16, -0.5, 15.5);
148 }
Detector ID class for TOTEM Si strip detectors.
Definition: TotemRPDetId.h:30
MonitorElement * event_category
MonitorElement * triggerSectorUVCorrelation_all
MonitorElement * vfat_corruption
TH1F * getTH1F() const
MonitorElement * h_planes_fit_u
MonitorElement * activity_per_bx
MonitorElement * triggerSectorUVCorrelation_track
MonitorElement * track_u_profile
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:139
MonitorElement * track_v_profile
MonitorElement * hit_plane_hist
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
MonitorElement * vfat_ec_bc_error
MonitorElement * triggerSectorUVCorrelation_mult2
MonitorElement * h_planes_fit_v
MonitorElement * activity_per_bx_short
MonitorElement * trackHitsCumulativeHist

Member Data Documentation

MonitorElement* TotemRPDQMSource::PotPlots::activity = 0

Definition at line 63 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::activity_per_bx = 0

Definition at line 64 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::activity_per_bx_short = 0

Definition at line 64 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::activity_u = 0

Definition at line 63 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::activity_v = 0

Definition at line 63 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::event_category = 0

Definition at line 68 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::h_planes_fit_u = 0

Definition at line 67 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::h_planes_fit_v = 0

Definition at line 67 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::hit_plane_hist = 0

Definition at line 65 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::patterns_u = 0

Definition at line 66 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::patterns_v = 0

Definition at line 66 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::track_u_profile = 0

Definition at line 70 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::track_v_profile = 0

Definition at line 70 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::trackHitsCumulativeHist = 0

Definition at line 69 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_all = 0

Definition at line 71 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_mult2 = 0

Definition at line 71 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_track = 0

Definition at line 71 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::vfat_corruption = 0

Definition at line 61 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::vfat_ec_bc_error = 0

Definition at line 61 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement * TotemRPDQMSource::PotPlots::vfat_missing = 0

Definition at line 61 of file TotemRPDQMSource.cc.

Referenced by PotPlots().

MonitorElement* TotemRPDQMSource::PotPlots::vfat_problem = 0

Definition at line 61 of file TotemRPDQMSource.cc.

Referenced by PotPlots().