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 59 of file TotemRPDQMSource.cc.

Constructor & Destructor Documentation

◆ PotPlots() [1/2]

TotemRPDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 74 of file TotemRPDQMSource.cc.

74 {}

◆ PotPlots() [2/2]

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

Definition at line 103 of file TotemRPDQMSource.cc.

References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::legacy::MonitorElement::getTH1F(), CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, CTPPSDetId::rpName(), dqm::implementation::NavigatorBase::setCurrentFolder(), and runGCPTkAlMap::title.

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

Member Data Documentation

◆ activity

MonitorElement* TotemRPDQMSource::PotPlots::activity = nullptr

Definition at line 63 of file TotemRPDQMSource.cc.

◆ activity_per_bx

MonitorElement* TotemRPDQMSource::PotPlots::activity_per_bx = nullptr

Definition at line 64 of file TotemRPDQMSource.cc.

◆ activity_per_bx_short

MonitorElement * TotemRPDQMSource::PotPlots::activity_per_bx_short = nullptr

Definition at line 64 of file TotemRPDQMSource.cc.

◆ activity_u

MonitorElement * TotemRPDQMSource::PotPlots::activity_u = nullptr

Definition at line 63 of file TotemRPDQMSource.cc.

◆ activity_v

MonitorElement * TotemRPDQMSource::PotPlots::activity_v = nullptr

Definition at line 63 of file TotemRPDQMSource.cc.

◆ event_category

MonitorElement* TotemRPDQMSource::PotPlots::event_category = nullptr

Definition at line 68 of file TotemRPDQMSource.cc.

◆ h_planes_fit_u

MonitorElement* TotemRPDQMSource::PotPlots::h_planes_fit_u = nullptr

Definition at line 67 of file TotemRPDQMSource.cc.

◆ h_planes_fit_v

MonitorElement * TotemRPDQMSource::PotPlots::h_planes_fit_v = nullptr

Definition at line 67 of file TotemRPDQMSource.cc.

◆ hit_plane_hist

MonitorElement* TotemRPDQMSource::PotPlots::hit_plane_hist = nullptr

Definition at line 65 of file TotemRPDQMSource.cc.

◆ patterns_u

MonitorElement* TotemRPDQMSource::PotPlots::patterns_u = nullptr

Definition at line 66 of file TotemRPDQMSource.cc.

◆ patterns_v

MonitorElement * TotemRPDQMSource::PotPlots::patterns_v = nullptr

Definition at line 66 of file TotemRPDQMSource.cc.

◆ track_u_profile

MonitorElement* TotemRPDQMSource::PotPlots::track_u_profile = nullptr

Definition at line 70 of file TotemRPDQMSource.cc.

◆ track_v_profile

MonitorElement * TotemRPDQMSource::PotPlots::track_v_profile = nullptr

Definition at line 70 of file TotemRPDQMSource.cc.

◆ trackHitsCumulativeHist

MonitorElement* TotemRPDQMSource::PotPlots::trackHitsCumulativeHist = nullptr

Definition at line 69 of file TotemRPDQMSource.cc.

◆ triggerSectorUVCorrelation_all

MonitorElement* TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_all = nullptr

Definition at line 71 of file TotemRPDQMSource.cc.

◆ triggerSectorUVCorrelation_mult2

MonitorElement * TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_mult2 = nullptr

Definition at line 71 of file TotemRPDQMSource.cc.

◆ triggerSectorUVCorrelation_track

MonitorElement * TotemRPDQMSource::PotPlots::triggerSectorUVCorrelation_track = nullptr

Definition at line 72 of file TotemRPDQMSource.cc.

◆ vfat_corruption

MonitorElement * TotemRPDQMSource::PotPlots::vfat_corruption = nullptr

Definition at line 61 of file TotemRPDQMSource.cc.

◆ vfat_ec_bc_error

MonitorElement * TotemRPDQMSource::PotPlots::vfat_ec_bc_error = nullptr

Definition at line 60 of file TotemRPDQMSource.cc.

◆ vfat_missing

MonitorElement * TotemRPDQMSource::PotPlots::vfat_missing = nullptr

Definition at line 60 of file TotemRPDQMSource.cc.

◆ vfat_problem

MonitorElement* TotemRPDQMSource::PotPlots::vfat_problem = nullptr

Definition at line 60 of file TotemRPDQMSource.cc.