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.

162 {}

◆ PotPlots() [2/2]

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

Definition at line 232 of file CTPPSDiamondDQMSource.cc.

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

References activePlanes, activePlanesInclusive, activity_per_bx, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), 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(), dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, timeOverThresholdCumulativePot, runGCPTkAlMap::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.

runGCPTkAlMap.title
string title
Definition: runGCPTkAlMap.py:94
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
dqm::implementation::NavigatorBase::setCurrentFolder
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
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
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:85
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:762
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
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CTPPSDiamondDQMSource::PotPlots::HPTDCErrorFlags_2D
MonitorElement * HPTDCErrorFlags_2D
Definition: CTPPSDiamondDQMSource.cc:146
dqm::implementation::IBooker::book2D
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:177
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
dqm::implementation::IBooker::book1D
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
Definition: DQMStore.h:98
CTPPSDetId::rpName
void rpName(std::string &name, NameFlag flag=nFull) const
Definition: CTPPSDetId.h:132