CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
CTPPSDiamondDQMSource::PotPlots Struct Reference

plots related to one Diamond detector package More...

Public Member Functions

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

Public Attributes

MonitorElementactivePlanes = nullptr
 
MonitorElementactivePlanesInclusive = nullptr
 
std::unordered_map< unsigned int, MonitorElement * > activity_per_bx
 
unsigned int CompleteCounter
 
MonitorElementECCheck = nullptr
 
std::map< int, int > effDoublecountingChMap
 
MonitorElementEfficiencyOfChannelsInPot = nullptr
 
std::map< int, int > effTriplecountingChMap
 
unsigned int HitCounter
 
MonitorElementhitDistribution2d = nullptr
 
MonitorElementhitDistribution2d_lumisection = nullptr
 
MonitorElementhitDistribution2dOOT = nullptr
 
MonitorElementhitDistribution2dOOT_le = nullptr
 
MonitorElementHPTDCErrorFlags_2D = nullptr
 
MonitorElementleadingEdgeCumulative_all = nullptr
 
MonitorElementleadingEdgeCumulative_both = nullptr
 
MonitorElementleadingEdgeCumulative_le = nullptr
 
unsigned int LeadingOnlyCounter
 
MonitorElementleadingTrailingCorrelationPot = nullptr
 
MonitorElementleadingWithoutTrailingCumulativePot = nullptr
 
MonitorElementMHComprensive = nullptr
 
unsigned int MHCounter
 
std::unordered_map< unsigned int, MonitorElement * > pixelTomographyAll
 
TH2F pixelTracksMap
 
MonitorElementtimeOverThresholdCumulativePot = nullptr
 
MonitorElementtrackDistribution = nullptr
 
MonitorElementtrackDistributionOOT = nullptr
 
MonitorElementtrailingEdgeCumulative_te = nullptr
 
unsigned int TrailingOnlyCounter
 

Detailed Description

plots related to one Diamond detector package

Definition at line 125 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

◆ PotPlots() [1/2]

CTPPSDiamondDQMSource::PotPlots::PotPlots ( )
inline

Definition at line 161 of file CTPPSDiamondDQMSource.cc.

161 {}

◆ PotPlots() [2/2]

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

Definition at line 232 of file CTPPSDiamondDQMSource.cc.

233  : HitCounter(0),
234  MHCounter(0),
237  CompleteCounter(0),
238  pixelTracksMap("Pixel track maps for efficiency", "Pixel track maps for efficiency", 25, 0, 25, 12, -2, 10) {
241  ibooker.setCurrentFolder(path);
242 
244 
245  activity_per_bx[0] =
246  ibooker.book1D("activity per BX 0 25", title + " Activity per BX 0 - 25 ns;Event.BX", 3600, -1.5, 3598. + 0.5);
247  activity_per_bx[1] =
248  ibooker.book1D("activity per BX 25 50", title + " Activity per BX 25 - 50 ns;Event.BX", 3600, -1.5, 3598. + 0.5);
249  activity_per_bx[2] =
250  ibooker.book1D("activity per BX 50 75", title + " Activity per BX 50 - 75 ns;Event.BX", 3600, -1.5, 3598. + 0.5);
251 
252  hitDistribution2d = ibooker.book2D("hits in planes",
253  title + " hits in planes;plane number;x (mm)",
254  10,
255  -0.5,
256  4.5,
258  -0.5,
259  18.5);
260  hitDistribution2d_lumisection = ibooker.book2D("hits in planes lumisection",
261  title + " hits in planes in the last lumisection;plane number;x (mm)",
262  10,
263  -0.5,
264  4.5,
266  -0.5,
267  18.5);
268  hitDistribution2dOOT = ibooker.book2D("hits with OOT in planes",
269  title + " hits with OOT in planes;plane number + 0.25 OOT;x (mm)",
270  17,
271  -0.25,
272  4,
274  -0.5,
275  18.5);
276  hitDistribution2dOOT_le = ibooker.book2D("hits with OOT in planes (le only)",
277  title + " hits with OOT in planes (le only);plane number + 0.25 OOT;x (mm)",
278  17,
279  -0.25,
280  4,
282  -0.5,
283  18.5);
284  activePlanes =
285  ibooker.book1D("active planes", title + " active planes (per event);number of active planes", 6, -0.5, 5.5);
287  ibooker.book1D("active planes inclusive",
288  title + " active planes, MH and le only included (per event);number of active planes",
289  6,
290  -0.5,
291  5.5);
292 
294  ibooker.book1D("tracks", title + " tracks;x (mm)", 19. * INV_DISPLAY_RESOLUTION_FOR_HITS_MM, -0.5, 18.5);
295  trackDistributionOOT = ibooker.book2D("tracks with OOT",
296  title + " tracks with OOT;plane number;x (mm)",
297  9,
298  -0.5,
299  4,
301  -0.5,
302  18.5);
303 
304  pixelTomographyAll[0] =
305  ibooker.book2D("tomography pixel 0 25",
306  title + " tomography with pixel 0 - 25 ns (all planes);x + 25*plane(mm);y (mm)",
307  100,
308  0,
309  100,
310  8,
311  0,
312  8);
313  pixelTomographyAll[1] =
314  ibooker.book2D("tomography pixel 25 50",
315  title + " tomography with pixel 25 - 50 ns (all planes);x + 25*plane(mm);y (mm)",
316  100,
317  0,
318  100,
319  8,
320  0,
321  8);
322  pixelTomographyAll[2] =
323  ibooker.book2D("tomography pixel 50 75",
324  title + " tomography with pixel 50 - 75 ns (all planes);x + 25*plane(mm);y (mm)",
325  100,
326  0,
327  100,
328  8,
329  0,
330  8);
331 
332  leadingEdgeCumulative_both = ibooker.book1D(
333  "leading edge (le and te)", title + " leading edge (le and te) (recHits); leading edge (ns)", 75, 0, 75);
334  leadingEdgeCumulative_all = ibooker.book1D(
335  "leading edge (all)", title + " leading edge (with or without te) (DIGIs); leading edge (ns)", 75, 0, 75);
337  ibooker.book1D("leading edge (le only)", title + " leading edge (le only) (DIGIs); leading edge (ns)", 75, 0, 75);
338  trailingEdgeCumulative_te = ibooker.book1D(
339  "trailing edge (te only)", title + " trailing edge (te only) (DIGIs); trailing edge (ns)", 75, 0, 75);
341  ibooker.book1D("time over threshold", title + " time over threshold;time over threshold (ns)", 250, -25, 100);
343  ibooker.book2D("leading trailing correlation",
344  title + " leading trailing correlation;leading edge (ns);trailing edge (ns)",
345  75,
346  0,
347  75,
348  75,
349  0,
350  75);
351 
353  ibooker.book1D("event category", title + " leading edges without trailing;;%", 3, 0.5, 3.5);
357 
358  ECCheck = ibooker.book1D("optorxEC(8bit) - vfatEC", title + " EC Error;optorxEC-vfatEC", 50, -25, 25);
359 
360  HPTDCErrorFlags_2D = ibooker.book2D("HPTDC Errors", title + " HPTDC Errors", 16, -0.5, 16.5, 9, -0.5, 8.5);
361  for (unsigned short error_index = 1; error_index < 16; ++error_index)
362  HPTDCErrorFlags_2D->setBinLabel(error_index, HPTDCErrorFlags::hptdcErrorName(error_index - 1));
363  HPTDCErrorFlags_2D->setBinLabel(16, "Wrong EC");
364 
365  int tmpIndex = 0;
366  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 0 TDC 18", /* axis */ 2);
367  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 0 TDC 17", /* axis */ 2);
368  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 0 TDC 16", /* axis */ 2);
369  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 0 TDC 15", /* axis */ 2);
370  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 1 TDC 18", /* axis */ 2);
371  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 1 TDC 17", /* axis */ 2);
372  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 1 TDC 16", /* axis */ 2);
373  HPTDCErrorFlags_2D->setBinLabel(++tmpIndex, "DB 1 TDC 15", /* axis */ 2);
374 
375  MHComprensive =
376  ibooker.book2D("MH in channels", title + " MH (%) in channels;plane number;ch number", 10, -0.5, 4.5, 14, -1, 13);
377 
379  ibooker.book2D("Efficiency in channels",
380  title + " Efficiency (%) in channels (diamonds only);plane number;ch number",
381  10,
382  -0.5,
383  4.5,
384  14,
385  -1,
386  13);
387 
388  // ibooker.setCurrentFolder( path+"/clock/" );
389  // clock_Digi1_le = ibooker.book1D( "clock1 leading edge", title+" clock1;leading edge (ns)", 250, 0, 25 );
390  // clock_Digi1_te = ibooker.book1D( "clock1 trailing edge", title+" clock1;trailing edge (ns)", 75, 0, 75 );
391  // clock_Digi3_le = ibooker.book1D( "clock3 leading edge", title+" clock3;leading edge (ns)", 250, 0, 25 );
392  // clock_Digi3_te = ibooker.book1D( "clock3 trailing edge", title+" clock3;trailing edge (ns)", 75, 0, 75 );
393 }

References activePlanes, activePlanesInclusive, activity_per_bx, ECCheck, EfficiencyOfChannelsInPot, hitDistribution2d, hitDistribution2d_lumisection, hitDistribution2dOOT, hitDistribution2dOOT_le, HPTDCErrorFlags_2D, HPTDCErrorFlags::hptdcErrorName(), CTPPSDiamondDQMSource::INV_DISPLAY_RESOLUTION_FOR_HITS_MM, leadingEdgeCumulative_all, leadingEdgeCumulative_both, leadingEdgeCumulative_le, leadingTrailingCorrelationPot, leadingWithoutTrailingCumulativePot, MHComprensive, CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, pixelTomographyAll, CTPPSDetId::rpName(), dqm::impl::MonitorElement::setBinLabel(), AlCaHLTBitMon_QueryRunRegistry::string, timeOverThresholdCumulativePot, overlapproblemtsosanalyzer_cfi::title, trackDistribution, trackDistributionOOT, and trailingEdgeCumulative_te.

Member Data Documentation

◆ activePlanes

MonitorElement* CTPPSDiamondDQMSource::PotPlots::activePlanes = nullptr

Definition at line 132 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ activePlanesInclusive

MonitorElement * CTPPSDiamondDQMSource::PotPlots::activePlanesInclusive = nullptr

Definition at line 132 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ activity_per_bx

std::unordered_map<unsigned int, MonitorElement*> CTPPSDiamondDQMSource::PotPlots::activity_per_bx

Definition at line 126 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ CompleteCounter

unsigned int CTPPSDiamondDQMSource::PotPlots::CompleteCounter

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

◆ ECCheck

MonitorElement* CTPPSDiamondDQMSource::PotPlots::ECCheck = nullptr

Definition at line 144 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ effDoublecountingChMap

std::map<int, int> CTPPSDiamondDQMSource::PotPlots::effDoublecountingChMap

Definition at line 157 of file CTPPSDiamondDQMSource.cc.

◆ EfficiencyOfChannelsInPot

MonitorElement* CTPPSDiamondDQMSource::PotPlots::EfficiencyOfChannelsInPot = nullptr

Definition at line 158 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ effTriplecountingChMap

std::map<int, int> CTPPSDiamondDQMSource::PotPlots::effTriplecountingChMap

Definition at line 156 of file CTPPSDiamondDQMSource.cc.

◆ HitCounter

unsigned int CTPPSDiamondDQMSource::PotPlots::HitCounter

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

◆ hitDistribution2d

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d = nullptr

Definition at line 128 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ hitDistribution2d_lumisection

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2d_lumisection = nullptr

Definition at line 129 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ hitDistribution2dOOT

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT = nullptr

Definition at line 130 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ hitDistribution2dOOT_le

MonitorElement* CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT_le = nullptr

Definition at line 131 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ HPTDCErrorFlags_2D

MonitorElement* CTPPSDiamondDQMSource::PotPlots::HPTDCErrorFlags_2D = nullptr

Definition at line 146 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ leadingEdgeCumulative_all

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_all = nullptr

Definition at line 139 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ leadingEdgeCumulative_both

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_both = nullptr

Definition at line 139 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ leadingEdgeCumulative_le

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_le = nullptr

Definition at line 140 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ LeadingOnlyCounter

unsigned int CTPPSDiamondDQMSource::PotPlots::LeadingOnlyCounter

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

◆ leadingTrailingCorrelationPot

MonitorElement * CTPPSDiamondDQMSource::PotPlots::leadingTrailingCorrelationPot = nullptr

Definition at line 141 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ leadingWithoutTrailingCumulativePot

MonitorElement* CTPPSDiamondDQMSource::PotPlots::leadingWithoutTrailingCumulativePot = nullptr

Definition at line 142 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ MHComprensive

MonitorElement* CTPPSDiamondDQMSource::PotPlots::MHComprensive = nullptr

Definition at line 147 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ MHCounter

unsigned int CTPPSDiamondDQMSource::PotPlots::MHCounter

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

◆ pixelTomographyAll

std::unordered_map<unsigned int, MonitorElement*> CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll

Definition at line 137 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ pixelTracksMap

TH2F CTPPSDiamondDQMSource::PotPlots::pixelTracksMap

Definition at line 159 of file CTPPSDiamondDQMSource.cc.

◆ timeOverThresholdCumulativePot

MonitorElement* CTPPSDiamondDQMSource::PotPlots::timeOverThresholdCumulativePot = nullptr

Definition at line 141 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ trackDistribution

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistribution = nullptr

Definition at line 134 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ trackDistributionOOT

MonitorElement* CTPPSDiamondDQMSource::PotPlots::trackDistributionOOT = nullptr

Definition at line 135 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ trailingEdgeCumulative_te

MonitorElement * CTPPSDiamondDQMSource::PotPlots::trailingEdgeCumulative_te = nullptr

Definition at line 140 of file CTPPSDiamondDQMSource.cc.

Referenced by PotPlots().

◆ TrailingOnlyCounter

unsigned int CTPPSDiamondDQMSource::PotPlots::TrailingOnlyCounter

Definition at line 154 of file CTPPSDiamondDQMSource.cc.

CTPPSDiamondDQMSource::PotPlots::leadingTrailingCorrelationPot
MonitorElement * leadingTrailingCorrelationPot
Definition: CTPPSDiamondDQMSource.cc:141
CTPPSDiamondDQMSource::PotPlots::HitCounter
unsigned int HitCounter
Definition: CTPPSDiamondDQMSource.cc:154
CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT_le
MonitorElement * hitDistribution2dOOT_le
Definition: CTPPSDiamondDQMSource.cc:131
CTPPSDiamondDQMSource::PotPlots::timeOverThresholdCumulativePot
MonitorElement * timeOverThresholdCumulativePot
Definition: CTPPSDiamondDQMSource.cc:141
CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_le
MonitorElement * leadingEdgeCumulative_le
Definition: CTPPSDiamondDQMSource.cc:140
CTPPSDiamondDQMSource::PotPlots::trackDistributionOOT
MonitorElement * trackDistributionOOT
Definition: CTPPSDiamondDQMSource.cc:135
CTPPSDiamondDQMSource::PotPlots::pixelTomographyAll
std::unordered_map< unsigned int, MonitorElement * > pixelTomographyAll
Definition: CTPPSDiamondDQMSource.cc:137
CTPPSDiamondDQMSource::PotPlots::activePlanesInclusive
MonitorElement * activePlanesInclusive
Definition: CTPPSDiamondDQMSource.cc:132
CTPPSDetId::nPath
Definition: CTPPSDetId.h:87
CTPPSDiamondDQMSource::PotPlots::leadingWithoutTrailingCumulativePot
MonitorElement * leadingWithoutTrailingCumulativePot
Definition: CTPPSDiamondDQMSource.cc:142
CTPPSDiamondDQMSource::PotPlots::activePlanes
MonitorElement * activePlanes
Definition: CTPPSDiamondDQMSource.cc:132
CTPPSDiamondDQMSource::PotPlots::EfficiencyOfChannelsInPot
MonitorElement * EfficiencyOfChannelsInPot
Definition: CTPPSDiamondDQMSource.cc:158
CTPPSDiamondDQMSource::PotPlots::hitDistribution2d
MonitorElement * hitDistribution2d
Definition: CTPPSDiamondDQMSource.cc:128
CTPPSDiamondDQMSource::PotPlots::LeadingOnlyCounter
unsigned int LeadingOnlyCounter
Definition: CTPPSDiamondDQMSource.cc:154
CTPPSDiamondDQMSource::PotPlots::pixelTracksMap
TH2F pixelTracksMap
Definition: CTPPSDiamondDQMSource.cc:159
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CTPPSDiamondDQMSource::PotPlots::MHComprensive
MonitorElement * MHComprensive
Definition: CTPPSDiamondDQMSource.cc:147
CTPPSDiamondDetId
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
Definition: CTPPSDiamondDetId.h:24
CTPPSDiamondDQMSource::PotPlots::hitDistribution2d_lumisection
MonitorElement * hitDistribution2d_lumisection
Definition: CTPPSDiamondDQMSource.cc:129
CTPPSDiamondDQMSource::PotPlots::MHCounter
unsigned int MHCounter
Definition: CTPPSDiamondDQMSource.cc:154
CTPPSDiamondDQMSource::INV_DISPLAY_RESOLUTION_FOR_HITS_MM
static const double INV_DISPLAY_RESOLUTION_FOR_HITS_MM
Definition: CTPPSDiamondDQMSource.cc:86
CTPPSDiamondDQMSource::PotPlots::hitDistribution2dOOT
MonitorElement * hitDistribution2dOOT
Definition: CTPPSDiamondDQMSource.cc:130
CTPPSDiamondDQMSource::PotPlots::TrailingOnlyCounter
unsigned int TrailingOnlyCounter
Definition: CTPPSDiamondDQMSource.cc:154
CTPPSDetId::nFull
Definition: CTPPSDetId.h:87
dqm::impl::MonitorElement::setBinLabel
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
Definition: MonitorElement.cc:771
HPTDCErrorFlags::hptdcErrorName
static std::string hptdcErrorName(const unsigned short id)
Definition: HPTDCErrorFlags.h:74
CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_both
MonitorElement * leadingEdgeCumulative_both
Definition: CTPPSDiamondDQMSource.cc:139
CTPPSDiamondDQMSource::PotPlots::trackDistribution
MonitorElement * trackDistribution
Definition: CTPPSDiamondDQMSource.cc:134
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
CTPPSDiamondDQMSource::PotPlots::HPTDCErrorFlags_2D
MonitorElement * HPTDCErrorFlags_2D
Definition: CTPPSDiamondDQMSource.cc:146
CTPPSDiamondDQMSource::PotPlots::CompleteCounter
unsigned int CompleteCounter
Definition: CTPPSDiamondDQMSource.cc:154
CTPPSDiamondDQMSource::PotPlots::trailingEdgeCumulative_te
MonitorElement * trailingEdgeCumulative_te
Definition: CTPPSDiamondDQMSource.cc:140
CTPPSDiamondDQMSource::PotPlots::leadingEdgeCumulative_all
MonitorElement * leadingEdgeCumulative_all
Definition: CTPPSDiamondDQMSource.cc:139
CTPPSDiamondDQMSource::PotPlots::activity_per_bx
std::unordered_map< unsigned int, MonitorElement * > activity_per_bx
Definition: CTPPSDiamondDQMSource.cc:126
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
CTPPSDiamondDQMSource::PotPlots::ECCheck
MonitorElement * ECCheck
Definition: CTPPSDiamondDQMSource.cc:144
CTPPSDetId::rpName
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:132