CMS 3D CMS Logo

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

plots related to one Diamond channel More...

Public Member Functions

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

Public Attributes

std::unordered_map< unsigned int, MonitorElement * > activity_per_bx
 
unsigned int CompleteCounter
 
MonitorElementhit_rate = nullptr
 
unsigned int HitCounter
 
MonitorElementHPTDCErrorFlags = nullptr
 
MonitorElementleadingEdgeCumulative_both = nullptr
 
MonitorElementleadingEdgeCumulative_le = nullptr
 
unsigned int LeadingOnlyCounter
 
MonitorElementLeadingTrailingCorrelationPerChannel = nullptr
 
MonitorElementleadingWithoutTrailing = nullptr
 
unsigned int MHCounter
 
MonitorElementpixelTomography_far = nullptr
 
MonitorElementTimeOverThresholdCumulativePerChannel = nullptr
 
MonitorElementtrailingEdgeCumulative_te = nullptr
 
unsigned int TrailingOnlyCounter
 

Detailed Description

plots related to one Diamond channel

Definition at line 186 of file CTPPSDiamondDQMSource.cc.

Constructor & Destructor Documentation

◆ ChannelPlots() [1/2]

CTPPSDiamondDQMSource::ChannelPlots::ChannelPlots ( )
inline

Definition at line 200 of file CTPPSDiamondDQMSource.cc.

200 {}

◆ ChannelPlots() [2/2]

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

Definition at line 425 of file CTPPSDiamondDQMSource.cc.

429  ibooker.setCurrentFolder(path);
430 
432 
433  leadingWithoutTrailing = ibooker.book1D("event category", title + " Event Category;;%", 3, 0.5, 3.5);
434  leadingWithoutTrailing->setBinLabel(1, "Leading only");
435  leadingWithoutTrailing->setBinLabel(2, "Trailing only");
437 
438  activity_per_bx[0] =
439  ibooker.book1D("activity per BX 0 25", title + " Activity per BX 0 - 25 ns;Event.BX", 500, -1.5, 498. + 0.5);
440  activity_per_bx[1] =
441  ibooker.book1D("activity per BX 25 50", title + " Activity per BX 25 - 50 ns;Event.BX", 500, -1.5, 498. + 0.5);
442  activity_per_bx[2] =
443  ibooker.book1D("activity per BX 50 75", title + " Activity per BX 50 - 75 ns;Event.BX", 500, -1.5, 498. + 0.5);
444 
445  HPTDCErrorFlags = ibooker.book1D("hptdc_Errors", title + " HPTDC Errors", 16, -0.5, 16.5);
446  for (unsigned short error_index = 1; error_index < 16; ++error_index)
447  HPTDCErrorFlags->setBinLabel(error_index, HPTDCErrorFlags::hptdcErrorName(error_index - 1));
448  HPTDCErrorFlags->setBinLabel(16, "MH (%)");
449 
451  ibooker.book1D("leading edge (le and te)", title + " leading edge (recHits); leading edge (ns)", 75, 0, 75);
453  ibooker.book1D("leading edge (le only)", title + " leading edge (DIGIs); leading edge (ns)", 75, 0, 75);
454  trailingEdgeCumulative_te = ibooker.book1D(
455  "trailing edge (te only)", title + " trailing edge (te only) (DIGIs); trailing edge (ns)", 75, 0, 75);
457  ibooker.book1D("time over threshold", title + " time over threshold;time over threshold (ns)", 75, -25, 50);
459  ibooker.book2D("leading trailing correlation",
460  title + " leading trailing correlation;leading edge (ns);trailing edge (ns)",
461  75,
462  0,
463  75,
464  75,
465  0,
466  75);
467 
469  ibooker.book2D("tomography pixel", "tomography with pixel;x + 25 OOT (mm);y (mm)", 75, 0, 75, 8, 0, 8);
470 
471  hit_rate = ibooker.book1D("hit rate", title + "hit rate;rate (Hz)", 40, 0, 20);
472 }

References activity_per_bx, CTPPSDiamondDetId::channelName(), hit_rate, HPTDCErrorFlags::hptdcErrorName(), leadingEdgeCumulative_both, leadingEdgeCumulative_le, LeadingTrailingCorrelationPerChannel, leadingWithoutTrailing, CTPPSDetId::nFull, CTPPSDetId::nPath, castor_dqm_sourceclient_file_cfg::path, pixelTomography_far, dqm::impl::MonitorElement::setBinLabel(), AlCaHLTBitMon_QueryRunRegistry::string, TimeOverThresholdCumulativePerChannel, overlapproblemtsosanalyzer_cfi::title, and trailingEdgeCumulative_te.

Member Data Documentation

◆ activity_per_bx

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

Definition at line 187 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ CompleteCounter

unsigned int CTPPSDiamondDQMSource::ChannelPlots::CompleteCounter

Definition at line 198 of file CTPPSDiamondDQMSource.cc.

◆ hit_rate

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::hit_rate = nullptr

Definition at line 196 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ HitCounter

unsigned int CTPPSDiamondDQMSource::ChannelPlots::HitCounter

Definition at line 198 of file CTPPSDiamondDQMSource.cc.

◆ HPTDCErrorFlags

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::HPTDCErrorFlags = nullptr

Definition at line 189 of file CTPPSDiamondDQMSource.cc.

◆ leadingEdgeCumulative_both

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::leadingEdgeCumulative_both = nullptr

Definition at line 190 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ leadingEdgeCumulative_le

MonitorElement * CTPPSDiamondDQMSource::ChannelPlots::leadingEdgeCumulative_le = nullptr

Definition at line 190 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ LeadingOnlyCounter

unsigned int CTPPSDiamondDQMSource::ChannelPlots::LeadingOnlyCounter

Definition at line 198 of file CTPPSDiamondDQMSource.cc.

◆ LeadingTrailingCorrelationPerChannel

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::LeadingTrailingCorrelationPerChannel = nullptr

Definition at line 193 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ leadingWithoutTrailing

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::leadingWithoutTrailing = nullptr

Definition at line 194 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ MHCounter

unsigned int CTPPSDiamondDQMSource::ChannelPlots::MHCounter

Definition at line 198 of file CTPPSDiamondDQMSource.cc.

◆ pixelTomography_far

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::pixelTomography_far = nullptr

Definition at line 195 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ TimeOverThresholdCumulativePerChannel

MonitorElement* CTPPSDiamondDQMSource::ChannelPlots::TimeOverThresholdCumulativePerChannel = nullptr

Definition at line 192 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ trailingEdgeCumulative_te

MonitorElement * CTPPSDiamondDQMSource::ChannelPlots::trailingEdgeCumulative_te = nullptr

Definition at line 191 of file CTPPSDiamondDQMSource.cc.

Referenced by ChannelPlots().

◆ TrailingOnlyCounter

unsigned int CTPPSDiamondDQMSource::ChannelPlots::TrailingOnlyCounter

Definition at line 198 of file CTPPSDiamondDQMSource.cc.

CTPPSDiamondDQMSource::ChannelPlots::MHCounter
unsigned int MHCounter
Definition: CTPPSDiamondDQMSource.cc:198
CTPPSDiamondDQMSource::ChannelPlots::HitCounter
unsigned int HitCounter
Definition: CTPPSDiamondDQMSource.cc:198
CTPPSDiamondDQMSource::ChannelPlots::trailingEdgeCumulative_te
MonitorElement * trailingEdgeCumulative_te
Definition: CTPPSDiamondDQMSource.cc:191
CTPPSDetId::nPath
Definition: CTPPSDetId.h:87
HPTDCErrorFlags
Definition: HPTDCErrorFlags.h:15
CTPPSDiamondDQMSource::ChannelPlots::pixelTomography_far
MonitorElement * pixelTomography_far
Definition: CTPPSDiamondDQMSource.cc:195
CTPPSDiamondDQMSource::ChannelPlots::LeadingTrailingCorrelationPerChannel
MonitorElement * LeadingTrailingCorrelationPerChannel
Definition: CTPPSDiamondDQMSource.cc:193
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CTPPSDiamondDetId
Detector ID class for CTPPS Timing Diamond detectors. Bits [19:31] : Assigend in CTPPSDetId Calss Bit...
Definition: CTPPSDiamondDetId.h:24
CTPPSDiamondDQMSource::ChannelPlots::TrailingOnlyCounter
unsigned int TrailingOnlyCounter
Definition: CTPPSDiamondDQMSource.cc:198
CTPPSDiamondDQMSource::ChannelPlots::CompleteCounter
unsigned int CompleteCounter
Definition: CTPPSDiamondDQMSource.cc:198
CTPPSDiamondDQMSource::ChannelPlots::leadingEdgeCumulative_both
MonitorElement * leadingEdgeCumulative_both
Definition: CTPPSDiamondDQMSource.cc:190
CTPPSDetId::nFull
Definition: CTPPSDetId.h:87
CTPPSDiamondDQMSource::ChannelPlots::LeadingOnlyCounter
unsigned int LeadingOnlyCounter
Definition: CTPPSDiamondDQMSource.cc:198
CTPPSDiamondDQMSource::ChannelPlots::TimeOverThresholdCumulativePerChannel
MonitorElement * TimeOverThresholdCumulativePerChannel
Definition: CTPPSDiamondDQMSource.cc:192
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
overlapproblemtsosanalyzer_cfi.title
title
Definition: overlapproblemtsosanalyzer_cfi.py:7
CTPPSDiamondDQMSource::ChannelPlots::hit_rate
MonitorElement * hit_rate
Definition: CTPPSDiamondDQMSource.cc:196
CTPPSDiamondDetId::channelName
void channelName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDiamondDetId.h:84
CTPPSDiamondDQMSource::ChannelPlots::activity_per_bx
std::unordered_map< unsigned int, MonitorElement * > activity_per_bx
Definition: CTPPSDiamondDQMSource.cc:187
CTPPSDiamondDQMSource::ChannelPlots::leadingWithoutTrailing
MonitorElement * leadingWithoutTrailing
Definition: CTPPSDiamondDQMSource.cc:194
castor_dqm_sourceclient_file_cfg.path
path
Definition: castor_dqm_sourceclient_file_cfg.py:37
CTPPSDiamondDQMSource::ChannelPlots::leadingEdgeCumulative_le
MonitorElement * leadingEdgeCumulative_le
Definition: CTPPSDiamondDQMSource.cc:190