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

Detailed Description

plots related to one RP

Definition at line 63 of file TotemRPDQMSource.cc.

Constructor & Destructor Documentation

◆ PotPlots() [1/2]

TotemRPDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 78 of file TotemRPDQMSource.cc.

79 {

◆ PotPlots() [2/2]

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

Definition at line 101 of file TotemRPDQMSource.cc.

101  {
102  string path;
104  ibooker.setCurrentFolder(path);
105 
106  string title;
108 
109  vfat_problem = ibooker.book2D("vfats with any problem", title + ";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
110  vfat_missing = ibooker.book2D("vfats missing", title + ";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
112  ibooker.book2D("vfats with EC or BC error", title + ";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
114  ibooker.book2D("vfats with data corruption", title + ";plane;vfat index", 10, -0.5, 9.5, 4, -0.5, 3.5);
115 
116  activity = ibooker.book1D("active planes", title + ";number of active planes", 11, -0.5, 10.5);
117  activity_u = ibooker.book1D("active planes U", title + ";number of active U planes", 11, -0.5, 10.5);
118  activity_v = ibooker.book1D("active planes V", title + ";number of active V planes", 11, -0.5, 10.5);
119 
120  activity_per_bx = ibooker.book1D("activity per BX", title + ";Event.BX", 4002, -1.5, 4000. + 0.5);
121  activity_per_bx_short = ibooker.book1D("activity per BX (short)", title + ";Event.BX", 102, -1.5, 100. + 0.5);
122 
124  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 
130  ibooker.book1D("planes contributing to fit U", title + ";number of planes contributing to U fit", 6, -0.5, 5.5);
132  ibooker.book1D("planes contributing to fit V", title + ";number of planes contributing to V fit", 6, -0.5, 5.5);
133 
134  event_category = ibooker.book1D("event category", title + ";event category", 5, -0.5, 4.5);
135  TH1F *event_category_h = event_category->getTH1F();
136  event_category_h->GetXaxis()->SetBinLabel(1, "empty");
137  event_category_h->GetXaxis()->SetBinLabel(2, "insufficient");
138  event_category_h->GetXaxis()->SetBinLabel(3, "single-track");
139  event_category_h->GetXaxis()->SetBinLabel(4, "multi-track");
140  event_category_h->GetXaxis()->SetBinLabel(5, "shower");
141 
143  ibooker.book2D("track XY profile", title + ";x (mm);y (mm)", 100, -18., +18., 100, -18., +18.);
144 
145  track_u_profile = ibooker.book1D("track profile U", title + "; U (mm)", 512, -256 * 66E-3, +256 * 66E-3);
146  track_v_profile = ibooker.book1D("track profile V", title + "; V (mm)", 512, -256 * 66E-3, +256 * 66E-3);
147 
148  triggerSectorUVCorrelation_all = ibooker.book2D(
149  "trigger sector UV correlation (no cond)", title + ";V sector;U sector", 16, -0.5, 15.5, 16, -0.5, 15.5);
150  triggerSectorUVCorrelation_mult2 = ibooker.book2D(
151  "trigger sector UV correlation (max mult 2)", title + ";V sector;U sector", 16, -0.5, 15.5, 16, -0.5, 15.5);
152  triggerSectorUVCorrelation_track = ibooker.book2D(
153  "trigger sector UV correlation (track)", title + ";V sector;U sector", 16, -0.5, 15.5, 16, -0.5, 15.5);
154 }

References CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, CTPPSDetId::rpName(), and overlapproblemtsosanalyzer_cfi::title.

Member Data Documentation

◆ activity

MonitorElement* TotemRPDQMSource::PotPlots::activity = nullptr

Definition at line 67 of file TotemRPDQMSource.cc.

◆ activity_per_bx

MonitorElement* TotemRPDQMSource::PotPlots::activity_per_bx = nullptr

Definition at line 68 of file TotemRPDQMSource.cc.

◆ activity_per_bx_short

MonitorElement * TotemRPDQMSource::PotPlots::activity_per_bx_short = nullptr

Definition at line 68 of file TotemRPDQMSource.cc.

◆ activity_u

MonitorElement * TotemRPDQMSource::PotPlots::activity_u = nullptr

Definition at line 67 of file TotemRPDQMSource.cc.

◆ activity_v

MonitorElement * TotemRPDQMSource::PotPlots::activity_v = nullptr

Definition at line 67 of file TotemRPDQMSource.cc.

◆ event_category

MonitorElement* TotemRPDQMSource::PotPlots::event_category = nullptr

Definition at line 72 of file TotemRPDQMSource.cc.

◆ h_planes_fit_u

MonitorElement* TotemRPDQMSource::PotPlots::h_planes_fit_u = nullptr

Definition at line 71 of file TotemRPDQMSource.cc.

◆ h_planes_fit_v

MonitorElement * TotemRPDQMSource::PotPlots::h_planes_fit_v = nullptr

Definition at line 71 of file TotemRPDQMSource.cc.

◆ hit_plane_hist

MonitorElement* TotemRPDQMSource::PotPlots::hit_plane_hist = nullptr

Definition at line 69 of file TotemRPDQMSource.cc.

◆ patterns_u

MonitorElement* TotemRPDQMSource::PotPlots::patterns_u = nullptr

Definition at line 70 of file TotemRPDQMSource.cc.

◆ patterns_v

MonitorElement * TotemRPDQMSource::PotPlots::patterns_v = nullptr

Definition at line 70 of file TotemRPDQMSource.cc.

◆ track_u_profile

MonitorElement* TotemRPDQMSource::PotPlots::track_u_profile = nullptr

Definition at line 74 of file TotemRPDQMSource.cc.

◆ track_v_profile

MonitorElement * TotemRPDQMSource::PotPlots::track_v_profile = nullptr

Definition at line 74 of file TotemRPDQMSource.cc.

◆ trackHitsCumulativeHist

MonitorElement* TotemRPDQMSource::PotPlots::trackHitsCumulativeHist = nullptr

Definition at line 73 of file TotemRPDQMSource.cc.

◆ triggerSectorUVCorrelation_all

MonitorElement* TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_all = nullptr

Definition at line 75 of file TotemRPDQMSource.cc.

◆ triggerSectorUVCorrelation_mult2

MonitorElement * TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_mult2 = nullptr

Definition at line 75 of file TotemRPDQMSource.cc.

◆ triggerSectorUVCorrelation_track

MonitorElement * TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_track = nullptr

Definition at line 76 of file TotemRPDQMSource.cc.

◆ vfat_corruption

MonitorElement * TotemRPDQMSource::PotPlots::vfat_corruption = nullptr

Definition at line 65 of file TotemRPDQMSource.cc.

◆ vfat_ec_bc_error

MonitorElement * TotemRPDQMSource::PotPlots::vfat_ec_bc_error = nullptr

Definition at line 64 of file TotemRPDQMSource.cc.

◆ vfat_missing

MonitorElement * TotemRPDQMSource::PotPlots::vfat_missing = nullptr

Definition at line 64 of file TotemRPDQMSource.cc.

◆ vfat_problem

MonitorElement* TotemRPDQMSource::PotPlots::vfat_problem = nullptr

Definition at line 64 of file TotemRPDQMSource.cc.

TotemRPDQMSource::PotPlots::track_u_profile
MonitorElement * track_u_profile
Definition: TotemRPDQMSource.cc:74
TotemRPDQMSource::PotPlots::activity_v
MonitorElement * activity_v
Definition: TotemRPDQMSource.cc:67
TotemRPDQMSource::PotPlots::activity
MonitorElement * activity
Definition: TotemRPDQMSource.cc:67
CTPPSDetId::nPath
Definition: CTPPSDetId.h:87
dqm::legacy::MonitorElement::getTH1F
virtual TH1F * getTH1F() const
Definition: MonitorElement.h:478
TotemRPDQMSource::PotPlots::event_category
MonitorElement * event_category
Definition: TotemRPDQMSource.cc:72
TotemRPDQMSource::PotPlots::track_v_profile
MonitorElement * track_v_profile
Definition: TotemRPDQMSource.cc:74
TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_track
MonitorElement * triggerSectorUVCorrelation_track
Definition: TotemRPDQMSource.cc:76
TotemRPDQMSource::PotPlots::h_planes_fit_u
MonitorElement * h_planes_fit_u
Definition: TotemRPDQMSource.cc:71
TotemRPDQMSource::PotPlots::hit_plane_hist
MonitorElement * hit_plane_hist
Definition: TotemRPDQMSource.cc:69
TotemRPDQMSource::PotPlots::activity_per_bx
MonitorElement * activity_per_bx
Definition: TotemRPDQMSource.cc:68
TotemRPDQMSource::PotPlots::activity_u
MonitorElement * activity_u
Definition: TotemRPDQMSource.cc:67
CTPPSDetId::nFull
Definition: CTPPSDetId.h:87
TotemRPDQMSource::PotPlots::vfat_ec_bc_error
MonitorElement * vfat_ec_bc_error
Definition: TotemRPDQMSource.cc:64
TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_mult2
MonitorElement * triggerSectorUVCorrelation_mult2
Definition: TotemRPDQMSource.cc:75
TotemRPDQMSource::PotPlots::patterns_v
MonitorElement * patterns_v
Definition: TotemRPDQMSource.cc:70
TotemRPDQMSource::PotPlots::vfat_problem
MonitorElement * vfat_problem
Definition: TotemRPDQMSource.cc:64
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
TotemRPDQMSource::PotPlots::trackHitsCumulativeHist
MonitorElement * trackHitsCumulativeHist
Definition: TotemRPDQMSource.cc:73
TotemRPDQMSource::PotPlots::activity_per_bx_short
MonitorElement * activity_per_bx_short
Definition: TotemRPDQMSource.cc:68
TotemRPDQMSource::PotPlots::h_planes_fit_v
MonitorElement * h_planes_fit_v
Definition: TotemRPDQMSource.cc:71
TotemRPDQMSource::PotPlots::vfat_corruption
MonitorElement * vfat_corruption
Definition: TotemRPDQMSource.cc:65
TotemRPDQMSource::PotPlots::vfat_missing
MonitorElement * vfat_missing
Definition: TotemRPDQMSource.cc:64
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_all
MonitorElement * triggerSectorUVCorrelation_all
Definition: TotemRPDQMSource.cc:75
TotemRPDetId
Detector ID class for TOTEM Si strip detectors.
Definition: TotemRPDetId.h:29
TotemRPDQMSource::PotPlots::patterns_u
MonitorElement * patterns_u
Definition: TotemRPDQMSource.cc:70
CTPPSDetId::rpName
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:132