CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
SPYHistograms Class Reference

#include <SPYHistograms.h>

Inheritance diagram for SPYHistograms:

Classes

struct  ErrorCounters
 
struct  Errors
 
struct  Trends
 

Public Member Functions

void bookAllFEDHistograms (DQMStore::IBooker &)
 
void bookFEDHistograms (DQMStore::IBooker &, const unsigned int fedId, const Errors &aErr, bool doAll=false)
 
void bookTopLevelHistograms (DQMStore::IBooker &, const TkDetMap *)
 
void fillCountersHistograms (const ErrorCounters &aCounter, const double aTime)
 
void fillDetailedHistograms (const Errors &aErr, const sistrip::SpyUtilities::Frame &aFrame, const unsigned int aFedId, const unsigned int aFedChannel)
 
void fillFEDHistograms (const Errors &aErr, const unsigned int aFedId)
 
void fillGainHistograms (const Trends &aTrendElement, const double aTime)
 
void initialise (const edm::ParameterSet &iConfig, std::ostringstream *pDebugStream) override
 
 SPYHistograms ()
 
bool tkHistoMapEnabled (unsigned int aIndex=0) override
 
TkHistoMaptkHistoMapPointer (unsigned int aIndex=0) override
 
 ~SPYHistograms () override
 

Private Attributes

HistogramConfig apvAddressError_
 
HistogramConfig apvAddressErrorDetailed_
 
std::map< unsigned int, MonitorElement * > apvAddressErrorDetailedMap_
 
HistogramConfig apvErrorBit_
 
HistogramConfig apvErrorBitDetailed_
 
std::map< unsigned int, MonitorElement * > apvErrorBitDetailedMap_
 
HistogramConfig baseline_
 
HistogramConfig distanceHeaderTrailerDetailed_
 
std::map< unsigned int, MonitorElement * > distanceHeaderTrailerDetailedMap_
 
HistogramConfig frameMax_
 
HistogramConfig frameMin_
 
HistogramConfig frameRange_
 
HistogramConfig highPb_
 
HistogramConfig highPbDetailed_
 
std::map< unsigned int, MonitorElement * > highPbDetailedMap_
 
HistogramConfig highRange_
 
HistogramConfig highRangeDetailed_
 
std::map< unsigned int, MonitorElement * > highRangeDetailedMap_
 
std::vector< bool > histosBooked_
 
HistogramConfig lowPb_
 
HistogramConfig lowPbDetailed_
 
std::map< unsigned int, MonitorElement * > lowPbDetailedMap_
 
HistogramConfig lowRange_
 
HistogramConfig lowRangeDetailed_
 
std::map< unsigned int, MonitorElement * > lowRangeDetailedMap_
 
HistogramConfig maxSat_
 
HistogramConfig maxSatDetailed_
 
std::map< unsigned int, MonitorElement * > maxSatDetailedMap_
 
HistogramConfig meanDigitalLowvsTime_
 
HistogramConfig minZero_
 
HistogramConfig minZeroDetailed_
 
std::map< unsigned int, MonitorElement * > minZeroDetailedMap_
 
HistogramConfig nApvAddressError_
 
HistogramConfig nApvAddressErrorvsTime_
 
HistogramConfig nApvErrorBit_
 
HistogramConfig nApvErrorBitvsTime_
 
HistogramConfig negativePeds_
 
HistogramConfig negativePedsDetailed_
 
std::map< unsigned int, MonitorElement * > negativePedsDetailedMap_
 
HistogramConfig nHighPb_
 
HistogramConfig nHighPbvsTime_
 
HistogramConfig nHighRange_
 
HistogramConfig nHighRangevsTime_
 
HistogramConfig nLowPb_
 
HistogramConfig nLowPbvsTime_
 
HistogramConfig nLowRange_
 
HistogramConfig nLowRangevsTime_
 
HistogramConfig nMaxSat_
 
HistogramConfig nMaxSatvsTime_
 
HistogramConfig nMinZero_
 
HistogramConfig nMinZerovsTime_
 
HistogramConfig nNegativePeds_
 
HistogramConfig nNegativePedsvsTime_
 
HistogramConfig nNoData_
 
HistogramConfig nNoDatavsTime_
 
HistogramConfig noData_
 
HistogramConfig noDataDetailed_
 
std::map< unsigned int, MonitorElement * > noDataDetailedMap_
 
HistogramConfig nOtherPbs_
 
HistogramConfig nOtherPbsvsTime_
 
HistogramConfig nOutOfSync_
 
HistogramConfig nOutOfSyncvsTime_
 
HistogramConfig otherPbs_
 
HistogramConfig otherPbsDetailed_
 
std::map< unsigned int, MonitorElement * > otherPbsDetailedMap_
 
HistogramConfig outOfSync_
 
HistogramConfig outOfSyncDetailed_
 
std::map< unsigned int, MonitorElement * > outOfSyncDetailedMap_
 
HistogramConfig positionOfFirstHeaderBitDetailed_
 
std::map< unsigned int, MonitorElement * > positionOfFirstHeaderBitDetailedMap_
 
HistogramConfig positionOfFirstTrailerBitDetailed_
 
std::map< unsigned int, MonitorElement * > positionOfFirstTrailerBitDetailedMap_
 

Detailed Description

Definition at line 13 of file SPYHistograms.h.

Constructor & Destructor Documentation

◆ SPYHistograms()

SPYHistograms::SPYHistograms ( )

Definition at line 13 of file SPYHistograms.cc.

13 {}

◆ ~SPYHistograms()

SPYHistograms::~SPYHistograms ( )
override

Definition at line 15 of file SPYHistograms.cc.

15 {}

Member Function Documentation

◆ bookAllFEDHistograms()

void SPYHistograms::bookAllFEDHistograms ( DQMStore::IBooker ibooker)

Definition at line 680 of file SPYHistograms.cc.

References bookFEDHistograms(), FEDNumbering::MAXSiStripFEDID, and FEDNumbering::MINSiStripFEDID.

Referenced by SiStripSpyMonitorModule::bookHistograms().

680  {
681  //get FED IDs
682  const unsigned int siStripFedIdMin = FEDNumbering::MINSiStripFEDID;
683  const unsigned int siStripFedIdMax = FEDNumbering::MAXSiStripFEDID;
684  //book them
685  for (unsigned int iFed = siStripFedIdMin; iFed <= siStripFedIdMax; iFed++) {
686  //dummy error object
687  Errors lError;
688  bookFEDHistograms(ibooker, iFed, lError, true);
689  }
690 }
void bookFEDHistograms(DQMStore::IBooker &, const unsigned int fedId, const Errors &aErr, bool doAll=false)

◆ bookFEDHistograms()

void SPYHistograms::bookFEDHistograms ( DQMStore::IBooker ibooker,
const unsigned int  fedId,
const Errors aErr,
bool  doAll = false 
)

Definition at line 503 of file SPYHistograms.cc.

References apvAddressErrorDetailed_, apvAddressErrorDetailedMap_, apvErrorBitDetailed_, apvErrorBitDetailedMap_, distanceHeaderTrailerDetailed_, distanceHeaderTrailerDetailedMap_, sistrip::FEDCH_PER_FED, l1tstage2_dqm_sourceclient-live_cfg::fedId, SPYHistograms::Errors::hasAPVAddressError0, SPYHistograms::Errors::hasAPVAddressError1, SPYHistograms::Errors::hasErrorBit0, SPYHistograms::Errors::hasErrorBit1, SPYHistograms::Errors::hasHighPb, SPYHistograms::Errors::hasHighRange, SPYHistograms::Errors::hasLowPb, SPYHistograms::Errors::hasLowRange, SPYHistograms::Errors::hasMaxSat, SPYHistograms::Errors::hasMinZero, SPYHistograms::Errors::hasNegPeds, SPYHistograms::Errors::hasNoData, SPYHistograms::Errors::hasOOS, SPYHistograms::Errors::hasOtherPbs, highPbDetailed_, highPbDetailedMap_, highRangeDetailed_, highRangeDetailedMap_, histosBooked_, lowPbDetailed_, lowPbDetailedMap_, lowRangeDetailed_, lowRangeDetailedMap_, maxSatDetailed_, maxSatDetailedMap_, minZeroDetailed_, minZeroDetailedMap_, negativePedsDetailed_, negativePedsDetailedMap_, noDataDetailed_, noDataDetailedMap_, otherPbsDetailed_, otherPbsDetailedMap_, outOfSyncDetailed_, outOfSyncDetailedMap_, SiStripKey::path(), positionOfFirstHeaderBitDetailed_, positionOfFirstHeaderBitDetailedMap_, positionOfFirstTrailerBitDetailed_, positionOfFirstTrailerBitDetailedMap_, and dqm::implementation::NavigatorBase::setCurrentFolder().

Referenced by bookAllFEDHistograms(), and SiStripSpyMonitorModule::bookHistograms().

506  {
507  if (!histosBooked_[fedId]) {
508  //will do that only once
509 
510  //only if at least one error corresponds to enabled histo....
511  if (!doAll && !((aErr.hasNoData && noDataDetailed_.enabled) || (aErr.hasLowRange && lowRangeDetailed_.enabled) ||
512  (aErr.hasHighRange && highRangeDetailed_.enabled) ||
513  (aErr.hasMinZero && minZeroDetailed_.enabled) || (aErr.hasMaxSat && maxSatDetailed_.enabled) ||
514  (aErr.hasLowPb && lowPbDetailed_.enabled) || (aErr.hasHighPb && highPbDetailed_.enabled) ||
515  (aErr.hasOOS && outOfSyncDetailed_.enabled) || (aErr.hasOtherPbs && otherPbsDetailed_.enabled) ||
516  ((aErr.hasErrorBit0 || aErr.hasErrorBit1) && apvErrorBitDetailed_.enabled) ||
517  ((aErr.hasAPVAddressError0 || aErr.hasAPVAddressError1) && apvAddressErrorDetailed_.enabled) ||
518  (aErr.hasNegPeds && negativePedsDetailed_.enabled)))
519  return;
520 
521  SiStripFedKey fedKey(fedId, 0, 0, 0);
522  std::stringstream fedIdStream;
523  fedIdStream << fedId;
524  ibooker.setCurrentFolder(fedKey.path());
525 
526  bookHistogram(ibooker,
529  "NoDataForFED" + fedIdStream.str(),
530  "No data for FED ID " + fedIdStream.str(),
532  0,
534  "Channel Index");
535 
536  bookHistogram(ibooker,
539  "LowRangeForFED" + fedIdStream.str(),
540  "Max-min<VAL for FED ID " + fedIdStream.str(),
542  0,
544  "Channel Index");
545 
546  bookHistogram(ibooker,
549  "HighRangeForFED" + fedIdStream.str(),
550  "Max-min>VAL for FED ID " + fedIdStream.str(),
552  0,
554  "Channel Index");
555 
556  bookHistogram(ibooker,
559  "MinZeroForFED" + fedIdStream.str(),
560  "min=0 for FED ID " + fedIdStream.str(),
562  0,
564  "Channel Index");
565 
566  bookHistogram(ibooker,
569  "MaxSatForFED" + fedIdStream.str(),
570  "max=1023 for FED ID " + fedIdStream.str(),
572  0,
574  "Channel Index");
575 
576  bookHistogram(ibooker,
579  "LowPbForFED" + fedIdStream.str(),
580  "Pb with digitalLow for FED ID " + fedIdStream.str(),
582  0,
584  "Channel Index");
585 
586  bookHistogram(ibooker,
589  "HighPbForFED" + fedIdStream.str(),
590  "Pb with digitalHigh for FED ID " + fedIdStream.str(),
592  0,
594  "Channel Index");
595 
596  bookHistogram(ibooker,
599  "OutOfSyncForFED" + fedIdStream.str(),
600  "Out-of-sync for FED ID " + fedIdStream.str(),
602  0,
604  "Channel Index");
605 
606  bookHistogram(ibooker,
609  "OtherPbsForFED" + fedIdStream.str(),
610  "Other issues for FED ID " + fedIdStream.str(),
612  0,
614  "Channel Index");
615 
616  bookHistogram(ibooker,
619  "ApvErrorBitForFED" + fedIdStream.str(),
620  "APV error for FED ID " + fedIdStream.str(),
622  0,
624  "APV Index");
625 
626  bookHistogram(ibooker,
629  "ApvAddressErrorForFED" + fedIdStream.str(),
630  "APV address error for FED ID " + fedIdStream.str(),
632  0,
634  "APV Index");
635 
636  bookHistogram(ibooker,
639  "NegativePedsForFED" + fedIdStream.str(),
640  "Negative ped subtr for FED ID " + fedIdStream.str(),
642  0,
644  "Channel Index");
645 
646  bookHistogram(ibooker,
649  "PositionOfFirstHeaderBitForFED" + fedIdStream.str(),
650  "FED ID " + fedIdStream.str(),
651  300,
652  0,
653  300,
654  "first header bit");
655 
656  bookHistogram(ibooker,
659  "PositionOfFirstTrailerBitForFED" + fedIdStream.str(),
660  "FED ID " + fedIdStream.str(),
661  15,
662  285,
663  300,
664  "first trailer bit");
665 
666  bookHistogram(ibooker,
669  "DistanceHeaderTrailerForFED" + fedIdStream.str(),
670  "FED ID " + fedIdStream.str(),
671  300,
672  0,
673  300,
674  "trailer - header");
675 
676  histosBooked_[fedId] = true;
677  }
678 }
std::map< unsigned int, MonitorElement * > maxSatDetailedMap_
HistogramConfig negativePedsDetailed_
virtual void setCurrentFolder(std::string const &fullpath)
Definition: DQMStore.cc:32
A container class for generic run and event-related info, information required by the commissioning a...
Definition: SiStripFedKey.h:56
std::map< unsigned int, MonitorElement * > lowPbDetailedMap_
HistogramConfig lowPbDetailed_
std::map< unsigned int, MonitorElement * > highPbDetailedMap_
std::map< unsigned int, MonitorElement * > negativePedsDetailedMap_
HistogramConfig minZeroDetailed_
HistogramConfig maxSatDetailed_
HistogramConfig positionOfFirstTrailerBitDetailed_
HistogramConfig highPbDetailed_
HistogramConfig outOfSyncDetailed_
HistogramConfig noDataDetailed_
std::map< unsigned int, MonitorElement * > positionOfFirstTrailerBitDetailedMap_
HistogramConfig positionOfFirstHeaderBitDetailed_
std::map< unsigned int, MonitorElement * > lowRangeDetailedMap_
std::map< unsigned int, MonitorElement * > outOfSyncDetailedMap_
std::map< unsigned int, MonitorElement * > highRangeDetailedMap_
HistogramConfig lowRangeDetailed_
HistogramConfig distanceHeaderTrailerDetailed_
std::map< unsigned int, MonitorElement * > positionOfFirstHeaderBitDetailedMap_
std::map< unsigned int, MonitorElement * > distanceHeaderTrailerDetailedMap_
std::map< unsigned int, MonitorElement * > noDataDetailedMap_
std::map< unsigned int, MonitorElement * > apvErrorBitDetailedMap_
HistogramConfig highRangeDetailed_
std::map< unsigned int, MonitorElement * > apvAddressErrorDetailedMap_
HistogramConfig apvAddressErrorDetailed_
HistogramConfig otherPbsDetailed_
HistogramConfig apvErrorBitDetailed_
static const uint16_t FEDCH_PER_FED
std::map< unsigned int, MonitorElement * > otherPbsDetailedMap_
std::vector< bool > histosBooked_
std::map< unsigned int, MonitorElement * > minZeroDetailedMap_

◆ bookTopLevelHistograms()

void SPYHistograms::bookTopLevelHistograms ( DQMStore::IBooker ibooker,
const TkDetMap  
)

Definition at line 227 of file SPYHistograms.cc.

References apvAddressError_, apvErrorBit_, baseline_, sistrip::FED_ID_MAX, sistrip::FED_ID_MIN, frameMax_, frameMin_, frameRange_, highPb_, highRange_, histosBooked_, lowPb_, lowRange_, maxSat_, meanDigitalLowvsTime_, minZero_, nApvAddressError_, nApvAddressErrorvsTime_, nApvErrorBit_, nApvErrorBitvsTime_, negativePeds_, nHighPb_, nHighPbvsTime_, nHighRange_, nHighRangevsTime_, nLowPb_, nLowPbvsTime_, nLowRange_, nLowRangevsTime_, nMaxSat_, nMaxSatvsTime_, nMinZero_, nMinZerovsTime_, nNegativePeds_, nNegativePedsvsTime_, nNoData_, nNoDatavsTime_, noData_, nOtherPbs_, nOtherPbsvsTime_, nOutOfSync_, nOutOfSyncvsTime_, otherPbs_, and outOfSync_.

Referenced by SiStripSpyMonitorModule::bookHistograms().

227  {
228  //get FED IDs
229  const unsigned int siStripFedIdMin = sistrip::FED_ID_MIN;
230  const unsigned int siStripFedIdMax = sistrip::FED_ID_MAX;
231 
232  //book FED level histograms: resize boolean so
233  //they will be booked only once for the first event.
234  histosBooked_.resize(siStripFedIdMax + 1, false);
235 
236  //book histos
237  bookHistogram(ibooker, nNoData_, "nNoData", ";n_{noData};n_{entries}", "n_{noData}");
238 
239  bookHistogram(ibooker, nLowRange_, "nLowRange", ";n_{LowRange};n_{entries}", "n_{LowRange}");
240 
241  bookHistogram(ibooker, nHighRange_, "nHighRange", ";n_{HighRange};n_{entries}", "n_{HighRange}");
242 
243  bookHistogram(ibooker, nMinZero_, "nMinZero", ";n_{MinZero};n_{entries}", "n_{MinZero}");
244 
245  bookHistogram(ibooker, nMaxSat_, "nMaxSat", ";n_{MaxSat};n_{entries}", "n_{MaxSat}");
246 
247  bookHistogram(ibooker, nLowPb_, "nLowPb", ";n_{lowPb};n_{entries}", "n_{lowPb}");
248 
249  bookHistogram(ibooker, nHighPb_, "nHighPb", ";n_{highPb};n_{entries}", "n_{highPb}");
250 
251  bookHistogram(ibooker, nOutOfSync_, "nOutOfSync", ";n_{OOS};n_{entries}", "n_{OOS}");
252 
253  bookHistogram(ibooker, nOtherPbs_, "nOtherPbs", ";n_{OtherPbs};n_{entries}", "n_{OtherPbs}");
254 
255  bookHistogram(ibooker, nApvErrorBit_, "nApvErrorBit", ";n_{APVerror};n_{entries}", "n_{APVerror}");
256 
257  bookHistogram(
258  ibooker, nApvAddressError_, "nApvAddressError", ";n_{APVAddressError};n_{entries}", "n_{APVAddressError}");
259 
260  bookHistogram(ibooker, nNegativePeds_, "nNegativePeds", ";n_{negPeds};n_{entries}", "n_{negPeds}");
261 
262  bookHistogram(ibooker,
263  noData_,
264  "NoData",
265  ";delayFPGA;n_{noData}",
266  //24*(siStripFedIdMax+1)-24*siStripFedIdMin,
267  //24*siStripFedIdMin,24*(siStripFedIdMax+1),
268  24,
269  0,
270  24,
271  "delayFPGA index");
272 
273  bookHistogram(ibooker,
274  lowRange_,
275  "LowRange",
276  ";fedId;n_{LowRange}",
277  siStripFedIdMax - siStripFedIdMin + 1,
278  siStripFedIdMin - 0.5,
279  siStripFedIdMax + 0.5,
280  "FED-ID");
281 
282  bookHistogram(ibooker,
283  highRange_,
284  "HighRange",
285  ";fedId;n_{HighRange}",
286  siStripFedIdMax - siStripFedIdMin + 1,
287  siStripFedIdMin - 0.5,
288  siStripFedIdMax + 0.5,
289  "FED-ID");
290 
291  bookHistogram(ibooker,
292  minZero_,
293  "MinZero",
294  ";fedId;n_{MinZero}",
295  siStripFedIdMax - siStripFedIdMin + 1,
296  siStripFedIdMin - 0.5,
297  siStripFedIdMax + 0.5,
298  "FED-ID");
299 
300  bookHistogram(ibooker,
301  maxSat_,
302  "MaxSat",
303  ";fedId;n_{MaxSat}",
304  siStripFedIdMax - siStripFedIdMin + 1,
305  siStripFedIdMin - 0.5,
306  siStripFedIdMax + 0.5,
307  "FED-ID");
308 
309  bookHistogram(ibooker,
310  lowPb_,
311  "LowPb",
312  ";fedId;n_{lowPb}",
313  siStripFedIdMax - siStripFedIdMin + 1,
314  siStripFedIdMin - 0.5,
315  siStripFedIdMax + 0.5,
316  "FED-ID");
317 
318  bookHistogram(ibooker,
319  highPb_,
320  "HighPb",
321  ";fedId;n_{highPb}",
322  siStripFedIdMax - siStripFedIdMin + 1,
323  siStripFedIdMin - 0.5,
324  siStripFedIdMax + 0.5,
325  "FED-ID");
326 
327  bookHistogram(ibooker,
328  outOfSync_,
329  "OutOfSync",
330  ";fedId;n_{OOS}",
331  siStripFedIdMax - siStripFedIdMin + 1,
332  siStripFedIdMin - 0.5,
333  siStripFedIdMax + 0.5,
334  "FED-ID");
335 
336  bookHistogram(ibooker,
337  otherPbs_,
338  "OtherPbs",
339  ";fedId;n_{OtherPbs}",
340  siStripFedIdMax - siStripFedIdMin + 1,
341  siStripFedIdMin - 0.5,
342  siStripFedIdMax + 0.5,
343  "FED-ID");
344 
345  bookHistogram(ibooker,
346  apvErrorBit_,
347  "ApvErrorBit",
348  ";fedId;n_{APVerror}",
349  siStripFedIdMax - siStripFedIdMin + 1,
350  siStripFedIdMin - 0.5,
351  siStripFedIdMax + 0.5,
352  "FED-ID");
353 
354  bookHistogram(ibooker,
356  "ApvAddressError",
357  ";fedId;n_{APVAddressError}",
358  siStripFedIdMax - siStripFedIdMin + 1,
359  siStripFedIdMin - 0.5,
360  siStripFedIdMax + 0.5,
361  "FED-ID");
362 
363  bookHistogram(ibooker,
365  "NegativePeds",
366  ";fedId;n_{negPeds}",
367  siStripFedIdMax - siStripFedIdMin + 1,
368  siStripFedIdMin - 0.5,
369  siStripFedIdMax + 0.5,
370  "FED-ID");
371 
372  bookHistogram(ibooker, frameRange_, "FrameRange", ";range;n_{entries}", 1024, 0, 1024, "range (adc counts)");
373 
374  bookHistogram(
375  ibooker, frameMin_, "FrameMin", ";Zero-light level;n_{entries}", 800, 0, 800, "Zero-light level (adc counts)");
376 
377  bookHistogram(ibooker, frameMax_, "FrameMax", ";Tick height;n_{entries}", 824, 200, 1024, "Tick height (adc counts)");
378 
379  bookHistogram(ibooker, baseline_, "Baseline", ";Baseline;n_{entries}", 1024, 0, 1024, "Baseline (adc counts)");
380 
381  //book histos
382 
383  bookProfile(ibooker,
385  "nNoDatavsTime",
386  ";time;n_{noData}",
387  0,
388  42241, //total number of channels
389  "Time",
390  "n_{noData}");
391 
392  bookProfile(ibooker,
394  "nLowRangevsTime",
395  ";time;n_{LowRange}",
396  0,
397  42241, //total number of channels
398  "Time",
399  "n_{LowRange}");
400 
401  bookProfile(ibooker,
403  "nHighRangevsTime",
404  ";time;n_{HighRange}",
405  0,
406  42241, //total number of channels
407  "Time",
408  "n_{HighRange}");
409 
410  bookProfile(ibooker,
412  "nMinZerovsTime",
413  ";time;n_{MinZero}",
414  0,
415  42241, //total number of channels
416  "Time",
417  "n_{MinZero}");
418 
419  bookProfile(ibooker,
421  "nMaxSatvsTime",
422  ";time;n_{MaxSat}",
423  0,
424  42241, //total number of channels
425  "Time",
426  "n_{MaxSat}");
427 
428  bookProfile(ibooker,
430  "nLowPbvsTime",
431  ";time;n_{lowPb}",
432  0,
433  42241, //total number of channels
434  "Time",
435  "n_{lowPb}");
436 
437  bookProfile(ibooker,
439  "nHighPbvsTime",
440  ";time;n_{highPb}",
441  0,
442  42241, //total number of channels
443  "Time",
444  "n_{highPb}");
445 
446  bookProfile(ibooker,
448  "nOutOfSyncvsTime",
449  ";time;n_{OOS}",
450  0,
451  42241, //total number of channels
452  "Time",
453  "n_{OOS}");
454 
455  bookProfile(ibooker,
457  "nOtherPbsvsTime",
458  ";time;n_{OtherPbs}",
459  0,
460  42241, //total number of channels
461  "Time",
462  "n_{OtherPbs}");
463 
464  bookProfile(ibooker,
466  "nApvErrorBitvsTime",
467  ";time;n_{APVerror}",
468  0,
469  42241, //total number of channels
470  "Time",
471  "n_{APVerror}");
472 
473  bookProfile(ibooker,
475  "nApvAddressErrorvsTime",
476  ";time;n_{APVAddressError}",
477  0,
478  42241, //total number of channels
479  "Time",
480  "n_{APVAddressError}");
481 
482  bookProfile(ibooker,
484  "nNegativePedsvsTime",
485  ";time;n_{negPeds}",
486  0,
487  42241, //total number of channels
488  "Time",
489  "n_{negPeds}");
490 
491  //book histos
492 
493  bookProfile(ibooker,
495  "meanDigitalLowvsTime",
496  ";time;meanDigitalLow",
497  0,
498  800, //maximum for digitalLow
499  "Time",
500  "meanDigitalLow");
501 }
HistogramConfig nApvAddressErrorvsTime_
HistogramConfig frameMin_
static const uint16_t FED_ID_MIN
HistogramConfig apvAddressError_
HistogramConfig nNegativePedsvsTime_
HistogramConfig nHighRangevsTime_
HistogramConfig highRange_
HistogramConfig negativePeds_
HistogramConfig maxSat_
HistogramConfig frameMax_
HistogramConfig nOutOfSyncvsTime_
HistogramConfig noData_
HistogramConfig nOtherPbs_
Definition: SPYHistograms.h:97
HistogramConfig baseline_
HistogramConfig lowPb_
HistogramConfig nApvAddressError_
Definition: SPYHistograms.h:99
HistogramConfig meanDigitalLowvsTime_
HistogramConfig otherPbs_
HistogramConfig outOfSync_
HistogramConfig nHighRange_
Definition: SPYHistograms.h:91
HistogramConfig lowRange_
HistogramConfig nNoDatavsTime_
HistogramConfig highPb_
HistogramConfig nHighPbvsTime_
HistogramConfig nLowPb_
Definition: SPYHistograms.h:94
HistogramConfig nMaxSat_
Definition: SPYHistograms.h:93
HistogramConfig frameRange_
HistogramConfig nOtherPbsvsTime_
HistogramConfig nMaxSatvsTime_
HistogramConfig minZero_
HistogramConfig nNegativePeds_
HistogramConfig nApvErrorBit_
Definition: SPYHistograms.h:98
HistogramConfig nNoData_
Definition: SPYHistograms.h:82
HistogramConfig nApvErrorBitvsTime_
HistogramConfig nLowRangevsTime_
static const uint16_t FED_ID_MAX
HistogramConfig nLowRange_
Definition: SPYHistograms.h:90
std::vector< bool > histosBooked_
HistogramConfig nMinZerovsTime_
HistogramConfig apvErrorBit_
HistogramConfig nHighPb_
Definition: SPYHistograms.h:95
HistogramConfig nMinZero_
Definition: SPYHistograms.h:92
HistogramConfig nLowPbvsTime_
HistogramConfig nOutOfSync_
Definition: SPYHistograms.h:96

◆ fillCountersHistograms()

void SPYHistograms::fillCountersHistograms ( const ErrorCounters aCounter,
const double  aTime 
)

Definition at line 86 of file SPYHistograms.cc.

References SPYHistograms::ErrorCounters::nAPVAddressError, nApvAddressError_, nApvAddressErrorvsTime_, SPYHistograms::ErrorCounters::nAPVError, nApvErrorBit_, nApvErrorBitvsTime_, SPYHistograms::ErrorCounters::nHighPb, nHighPb_, nHighPbvsTime_, SPYHistograms::ErrorCounters::nHighRange, nHighRange_, nHighRangevsTime_, SPYHistograms::ErrorCounters::nLowPb, nLowPb_, nLowPbvsTime_, SPYHistograms::ErrorCounters::nLowRange, nLowRange_, nLowRangevsTime_, SPYHistograms::ErrorCounters::nMaxSat, nMaxSat_, nMaxSatvsTime_, SPYHistograms::ErrorCounters::nMinZero, nMinZero_, nMinZerovsTime_, nNegativePeds_, nNegativePedsvsTime_, SPYHistograms::ErrorCounters::nNegPeds, SPYHistograms::ErrorCounters::nNoData, nNoData_, nNoDatavsTime_, SPYHistograms::ErrorCounters::nOOS, SPYHistograms::ErrorCounters::nOtherPbs, nOtherPbs_, nOtherPbsvsTime_, nOutOfSync_, and nOutOfSyncvsTime_.

Referenced by SiStripSpyMonitorModule::analyze().

86  {
87  fillHistogram(nNoData_, aCounter.nNoData);
88  fillHistogram(nLowRange_, aCounter.nLowRange);
89  fillHistogram(nHighRange_, aCounter.nHighRange);
90  fillHistogram(nMinZero_, aCounter.nMinZero);
91  fillHistogram(nMaxSat_, aCounter.nMaxSat);
92  fillHistogram(nLowPb_, aCounter.nLowPb);
93  fillHistogram(nHighPb_, aCounter.nHighPb);
94  fillHistogram(nOutOfSync_, aCounter.nOOS);
95  fillHistogram(nOtherPbs_, aCounter.nOtherPbs);
96  fillHistogram(nApvErrorBit_, aCounter.nAPVError);
97  fillHistogram(nApvAddressError_, aCounter.nAPVAddressError);
98  fillHistogram(nNegativePeds_, aCounter.nNegPeds);
99 
100  fillHistogram(nNoDatavsTime_, aTime, aCounter.nNoData);
101  fillHistogram(nLowRangevsTime_, aTime, aCounter.nLowRange);
102  fillHistogram(nHighRangevsTime_, aTime, aCounter.nHighRange);
103  fillHistogram(nMinZerovsTime_, aTime, aCounter.nMinZero);
104  fillHistogram(nMaxSatvsTime_, aTime, aCounter.nMaxSat);
105  fillHistogram(nLowPbvsTime_, aTime, aCounter.nLowPb);
106  fillHistogram(nHighPbvsTime_, aTime, aCounter.nHighPb);
107  fillHistogram(nOutOfSyncvsTime_, aTime, aCounter.nOOS);
108  fillHistogram(nOtherPbsvsTime_, aTime, aCounter.nOtherPbs);
109  fillHistogram(nApvErrorBitvsTime_, aTime, aCounter.nAPVError);
110  fillHistogram(nApvAddressErrorvsTime_, aTime, aCounter.nAPVAddressError);
111  fillHistogram(nNegativePedsvsTime_, aTime, aCounter.nNegPeds);
112 }
HistogramConfig nApvAddressErrorvsTime_
HistogramConfig nNegativePedsvsTime_
HistogramConfig nHighRangevsTime_
HistogramConfig nOutOfSyncvsTime_
HistogramConfig nOtherPbs_
Definition: SPYHistograms.h:97
HistogramConfig nApvAddressError_
Definition: SPYHistograms.h:99
HistogramConfig nHighRange_
Definition: SPYHistograms.h:91
HistogramConfig nNoDatavsTime_
HistogramConfig nHighPbvsTime_
HistogramConfig nLowPb_
Definition: SPYHistograms.h:94
HistogramConfig nMaxSat_
Definition: SPYHistograms.h:93
HistogramConfig nOtherPbsvsTime_
HistogramConfig nMaxSatvsTime_
HistogramConfig nNegativePeds_
HistogramConfig nApvErrorBit_
Definition: SPYHistograms.h:98
HistogramConfig nNoData_
Definition: SPYHistograms.h:82
HistogramConfig nApvErrorBitvsTime_
HistogramConfig nLowRangevsTime_
HistogramConfig nLowRange_
Definition: SPYHistograms.h:90
HistogramConfig nMinZerovsTime_
HistogramConfig nHighPb_
Definition: SPYHistograms.h:95
HistogramConfig nMinZero_
Definition: SPYHistograms.h:92
HistogramConfig nLowPbvsTime_
HistogramConfig nOutOfSync_
Definition: SPYHistograms.h:96

◆ fillDetailedHistograms()

void SPYHistograms::fillDetailedHistograms ( const Errors aErr,
const sistrip::SpyUtilities::Frame aFrame,
const unsigned int  aFedId,
const unsigned int  aFedChannel 
)

Definition at line 158 of file SPYHistograms.cc.

References apvAddressErrorDetailedMap_, apvErrorBitDetailedMap_, sistrip::SpyUtilities::Frame::baseline, baseline_, sistrip::SpyUtilities::Frame::digitalHigh, sistrip::SpyUtilities::Frame::digitalLow, distanceHeaderTrailerDetailedMap_, sistrip::SpyUtilities::Frame::firstHeaderBit, sistrip::SpyUtilities::Frame::firstTrailerBit, frameMax_, frameMin_, frameRange_, SPYHistograms::Errors::hasAPVAddressError0, SPYHistograms::Errors::hasAPVAddressError1, SPYHistograms::Errors::hasErrorBit0, SPYHistograms::Errors::hasErrorBit1, SPYHistograms::Errors::hasHighPb, SPYHistograms::Errors::hasHighRange, SPYHistograms::Errors::hasLowPb, SPYHistograms::Errors::hasLowRange, SPYHistograms::Errors::hasMaxSat, SPYHistograms::Errors::hasMinZero, SPYHistograms::Errors::hasNegPeds, SPYHistograms::Errors::hasNoData, SPYHistograms::Errors::hasOOS, SPYHistograms::Errors::hasOtherPbs, highPbDetailedMap_, highRangeDetailedMap_, lowPbDetailedMap_, lowRangeDetailedMap_, maxSatDetailedMap_, minZeroDetailedMap_, negativePedsDetailedMap_, noData_, noDataDetailedMap_, otherPbsDetailedMap_, outOfSyncDetailedMap_, positionOfFirstHeaderBitDetailedMap_, positionOfFirstTrailerBitDetailedMap_, sistrip::SpyUtilities::range(), and sistrip::SPY_SAMPLES_PER_CHANNEL.

Referenced by SiStripSpyMonitorModule::analyze().

161  {
162  //removed: tomas
163  //bookFEDHistograms(aFedId,aErr);
164 
165  if (!aErr.hasNoData) {
166  fillHistogram(frameRange_, sistrip::SpyUtilities::range(aFrame));
167  fillHistogram(frameMin_, aFrame.digitalLow);
168  fillHistogram(frameMax_, aFrame.digitalHigh);
169  fillHistogram(baseline_, aFrame.baseline);
170  }
171 
172  if (aErr.hasNoData) {
173  fillHistogram(noDataDetailedMap_[aFedId], aFedChannel);
174  //fillHistogram(noData_,24*aFedId+static_cast<unsigned int>(aFedChannel/4.));
175  fillHistogram(noData_, static_cast<unsigned int>(aFedChannel / 4.));
176  }
177 
178  if (aErr.hasLowRange) {
179  fillHistogram(lowRangeDetailedMap_[aFedId], aFedChannel);
180  }
181  if (aErr.hasHighRange) {
182  fillHistogram(highRangeDetailedMap_[aFedId], aFedChannel);
183  }
184  if (aErr.hasMinZero) {
185  fillHistogram(minZeroDetailedMap_[aFedId], aFedChannel);
186  }
187  if (aErr.hasMaxSat) {
188  fillHistogram(maxSatDetailedMap_[aFedId], aFedChannel);
189  }
190  if (aErr.hasLowPb) {
191  fillHistogram(lowPbDetailedMap_[aFedId], aFedChannel);
192  }
193  if (aErr.hasHighPb) {
194  fillHistogram(highPbDetailedMap_[aFedId], aFedChannel);
195  }
196  if (aErr.hasOOS) {
197  fillHistogram(outOfSyncDetailedMap_[aFedId], aFedChannel);
198  }
199  if (aErr.hasOtherPbs) {
200  fillHistogram(otherPbsDetailedMap_[aFedId], aFedChannel);
201  }
202  if (aErr.hasErrorBit0) {
203  fillHistogram(apvErrorBitDetailedMap_[aFedId], 2 * aFedChannel);
204  }
205  if (aErr.hasErrorBit1) {
206  fillHistogram(apvErrorBitDetailedMap_[aFedId], 2 * aFedChannel + 1);
207  }
208  if (aErr.hasAPVAddressError0) {
209  fillHistogram(apvAddressErrorDetailedMap_[aFedId], 2 * aFedChannel);
210  }
211  if (aErr.hasAPVAddressError1) {
212  fillHistogram(apvAddressErrorDetailedMap_[aFedId], 2 * aFedChannel + 1);
213  }
214  if (aErr.hasNegPeds) {
215  fillHistogram(negativePedsDetailedMap_[aFedId], aFedChannel);
216  }
217 
218  fillHistogram(positionOfFirstHeaderBitDetailedMap_[aFedId], aFrame.firstHeaderBit);
219  fillHistogram(positionOfFirstTrailerBitDetailedMap_[aFedId], aFrame.firstTrailerBit);
222  fillHistogram(distanceHeaderTrailerDetailedMap_[aFedId], aFrame.firstTrailerBit - aFrame.firstHeaderBit);
223  else
224  fillHistogram(distanceHeaderTrailerDetailedMap_[aFedId], 0);
225 }
std::map< unsigned int, MonitorElement * > maxSatDetailedMap_
HistogramConfig frameMin_
std::map< unsigned int, MonitorElement * > lowPbDetailedMap_
std::map< unsigned int, MonitorElement * > highPbDetailedMap_
static const uint16_t SPY_SAMPLES_PER_CHANNEL
std::map< unsigned int, MonitorElement * > negativePedsDetailedMap_
HistogramConfig frameMax_
HistogramConfig noData_
const uint16_t range(const Frame &aFrame)
std::map< unsigned int, MonitorElement * > positionOfFirstTrailerBitDetailedMap_
HistogramConfig baseline_
std::map< unsigned int, MonitorElement * > lowRangeDetailedMap_
std::map< unsigned int, MonitorElement * > outOfSyncDetailedMap_
std::map< unsigned int, MonitorElement * > highRangeDetailedMap_
std::map< unsigned int, MonitorElement * > positionOfFirstHeaderBitDetailedMap_
std::map< unsigned int, MonitorElement * > distanceHeaderTrailerDetailedMap_
std::map< unsigned int, MonitorElement * > noDataDetailedMap_
std::map< unsigned int, MonitorElement * > apvErrorBitDetailedMap_
HistogramConfig frameRange_
std::map< unsigned int, MonitorElement * > apvAddressErrorDetailedMap_
std::map< unsigned int, MonitorElement * > otherPbsDetailedMap_
std::map< unsigned int, MonitorElement * > minZeroDetailedMap_

◆ fillFEDHistograms()

void SPYHistograms::fillFEDHistograms ( const Errors aErr,
const unsigned int  aFedId 
)

Definition at line 114 of file SPYHistograms.cc.

References apvAddressError_, apvErrorBit_, SPYHistograms::Errors::hasAPVAddressError0, SPYHistograms::Errors::hasAPVAddressError1, SPYHistograms::Errors::hasErrorBit0, SPYHistograms::Errors::hasErrorBit1, SPYHistograms::Errors::hasHighPb, SPYHistograms::Errors::hasHighRange, SPYHistograms::Errors::hasLowPb, SPYHistograms::Errors::hasLowRange, SPYHistograms::Errors::hasMaxSat, SPYHistograms::Errors::hasMinZero, SPYHistograms::Errors::hasNegPeds, SPYHistograms::Errors::hasNoData, SPYHistograms::Errors::hasOOS, SPYHistograms::Errors::hasOtherPbs, highPb_, highRange_, lowPb_, lowRange_, maxSat_, minZero_, negativePeds_, otherPbs_, and outOfSync_.

Referenced by SiStripSpyMonitorModule::analyze().

114  {
115  //else is used when filling the Error struct per channel, to avoid redundancy
116  //use only if here, in case channels in the same FED have different
117  //"exclusive" error types...
118 
119  if (aErr.hasNoData) {
120  //fill in channel loop with delay FPGA number...
121  //fillHistogram(noData_,aFedId);
122  }
123  if (aErr.hasLowRange) {
124  fillHistogram(lowRange_, aFedId);
125  }
126  if (aErr.hasHighRange) {
127  fillHistogram(highRange_, aFedId);
128  }
129  if (aErr.hasMinZero) {
130  fillHistogram(minZero_, aFedId);
131  }
132  if (aErr.hasMaxSat) {
133  fillHistogram(maxSat_, aFedId);
134  }
135  if (aErr.hasLowPb) {
136  fillHistogram(lowPb_, aFedId);
137  }
138  if (aErr.hasHighPb) {
139  fillHistogram(highPb_, aFedId);
140  }
141  if (aErr.hasOOS) {
142  fillHistogram(outOfSync_, aFedId);
143  }
144  if (aErr.hasOtherPbs) {
145  fillHistogram(otherPbs_, aFedId);
146  }
147  if (aErr.hasErrorBit0 || aErr.hasErrorBit1) {
148  fillHistogram(apvErrorBit_, aFedId);
149  }
150  if (aErr.hasAPVAddressError0 || aErr.hasAPVAddressError1) {
151  fillHistogram(apvAddressError_, aFedId);
152  }
153  if (aErr.hasNegPeds) {
154  fillHistogram(negativePeds_, aFedId);
155  }
156 }
HistogramConfig apvAddressError_
HistogramConfig highRange_
HistogramConfig negativePeds_
HistogramConfig maxSat_
HistogramConfig lowPb_
HistogramConfig otherPbs_
HistogramConfig outOfSync_
HistogramConfig lowRange_
HistogramConfig highPb_
HistogramConfig minZero_
HistogramConfig apvErrorBit_

◆ fillGainHistograms()

void SPYHistograms::fillGainHistograms ( const Trends aTrendElement,
const double  aTime 
)

Definition at line 82 of file SPYHistograms.cc.

References SPYHistograms::Trends::meanDigitalLow, and meanDigitalLowvsTime_.

82  {
83  fillHistogram(meanDigitalLowvsTime_, aTime, aTrendElement.meanDigitalLow);
84 }
HistogramConfig meanDigitalLowvsTime_

◆ initialise()

void SPYHistograms::initialise ( const edm::ParameterSet iConfig,
std::ostringstream *  pDebugStream 
)
override

Definition at line 17 of file SPYHistograms.cc.

References apvAddressError_, apvAddressErrorDetailed_, apvErrorBit_, apvErrorBitDetailed_, baseline_, distanceHeaderTrailerDetailed_, frameMax_, frameMin_, frameRange_, highPb_, highPbDetailed_, highRange_, highRangeDetailed_, lowPb_, lowPbDetailed_, lowRange_, lowRangeDetailed_, maxSat_, maxSatDetailed_, meanDigitalLowvsTime_, minZero_, minZeroDetailed_, nApvAddressError_, nApvAddressErrorvsTime_, nApvErrorBit_, nApvErrorBitvsTime_, negativePeds_, negativePedsDetailed_, nHighPb_, nHighPbvsTime_, nHighRange_, nHighRangevsTime_, nLowPb_, nLowPbvsTime_, nLowRange_, nLowRangevsTime_, nMaxSat_, nMaxSatvsTime_, nMinZero_, nMinZerovsTime_, nNegativePeds_, nNegativePedsvsTime_, nNoData_, nNoDatavsTime_, noData_, noDataDetailed_, nOtherPbs_, nOtherPbsvsTime_, nOutOfSync_, nOutOfSyncvsTime_, otherPbs_, otherPbsDetailed_, outOfSync_, outOfSyncDetailed_, positionOfFirstHeaderBitDetailed_, and positionOfFirstTrailerBitDetailed_.

Referenced by SiStripSpyMonitorModule::SiStripSpyMonitorModule().

17  {
18  getConfigForHistogram(nNoData_, "nNoData", iConfig, pDebugStream);
19  getConfigForHistogram(nLowRange_, "nLowRange", iConfig, pDebugStream);
20  getConfigForHistogram(nHighRange_, "nHighRange", iConfig, pDebugStream);
21  getConfigForHistogram(nMinZero_, "nMinZero", iConfig, pDebugStream);
22  getConfigForHistogram(nMaxSat_, "nMaxSat", iConfig, pDebugStream);
23  getConfigForHistogram(nLowPb_, "nLowPb", iConfig, pDebugStream);
24  getConfigForHistogram(nHighPb_, "nHighPb", iConfig, pDebugStream);
25  getConfigForHistogram(nOutOfSync_, "nOutOfSync", iConfig, pDebugStream);
26  getConfigForHistogram(nOtherPbs_, "nOtherPbs", iConfig, pDebugStream);
27  getConfigForHistogram(nApvErrorBit_, "nApvErrorBit", iConfig, pDebugStream);
28  getConfigForHistogram(nApvAddressError_, "nApvAddressError", iConfig, pDebugStream);
29  getConfigForHistogram(nNegativePeds_, "nNegativePeds", iConfig, pDebugStream);
30 
31  getConfigForHistogram(nNoDatavsTime_, "nNoDatavsTime", iConfig, pDebugStream);
32  getConfigForHistogram(nLowRangevsTime_, "nLowRangevsTime", iConfig, pDebugStream);
33  getConfigForHistogram(nHighRangevsTime_, "nHighRangevsTime", iConfig, pDebugStream);
34  getConfigForHistogram(nMinZerovsTime_, "nMinZerovsTime", iConfig, pDebugStream);
35  getConfigForHistogram(nMaxSatvsTime_, "nMaxSatvsTime", iConfig, pDebugStream);
36  getConfigForHistogram(nLowPbvsTime_, "nLowPbvsTime", iConfig, pDebugStream);
37  getConfigForHistogram(nHighPbvsTime_, "nHighPbvsTime", iConfig, pDebugStream);
38  getConfigForHistogram(nOutOfSyncvsTime_, "nOutOfSyncvsTime", iConfig, pDebugStream);
39  getConfigForHistogram(nOtherPbsvsTime_, "nOtherPbsvsTime", iConfig, pDebugStream);
40  getConfigForHistogram(nApvErrorBitvsTime_, "nApvErrorBitvsTime", iConfig, pDebugStream);
41  getConfigForHistogram(nApvAddressErrorvsTime_, "nApvAddressErrorvsTime", iConfig, pDebugStream);
42  getConfigForHistogram(nNegativePedsvsTime_, "nNegativePedsvsTime", iConfig, pDebugStream);
43 
44  getConfigForHistogram(meanDigitalLowvsTime_, "meanDigitalLowvsTime", iConfig, pDebugStream);
45 
46  getConfigForHistogram(noData_, "NoData", iConfig, pDebugStream);
47  getConfigForHistogram(lowRange_, "LowRange", iConfig, pDebugStream);
48  getConfigForHistogram(highRange_, "HighRange", iConfig, pDebugStream);
49  getConfigForHistogram(minZero_, "MinZero", iConfig, pDebugStream);
50  getConfigForHistogram(maxSat_, "MaxSat", iConfig, pDebugStream);
51  getConfigForHistogram(lowPb_, "LowPb", iConfig, pDebugStream);
52  getConfigForHistogram(highPb_, "HighPb", iConfig, pDebugStream);
53  getConfigForHistogram(outOfSync_, "OutOfSync", iConfig, pDebugStream);
54  getConfigForHistogram(otherPbs_, "OtherPbs", iConfig, pDebugStream);
55  getConfigForHistogram(apvErrorBit_, "ApvErrorBit", iConfig, pDebugStream);
56  getConfigForHistogram(apvAddressError_, "ApvAddressError", iConfig, pDebugStream);
57  getConfigForHistogram(negativePeds_, "NegativePeds", iConfig, pDebugStream);
58 
59  getConfigForHistogram(frameRange_, "FrameRange", iConfig, pDebugStream);
60  getConfigForHistogram(frameMin_, "FrameMin", iConfig, pDebugStream);
61  getConfigForHistogram(frameMax_, "FrameMax", iConfig, pDebugStream);
62  getConfigForHistogram(baseline_, "Baseline", iConfig, pDebugStream);
63 
64  getConfigForHistogram(noDataDetailed_, "NoDataDetailed", iConfig, pDebugStream);
65  getConfigForHistogram(lowRangeDetailed_, "LowRangeDetailed", iConfig, pDebugStream);
66  getConfigForHistogram(highRangeDetailed_, "HighRangeDetailed", iConfig, pDebugStream);
67  getConfigForHistogram(minZeroDetailed_, "MinZeroDetailed", iConfig, pDebugStream);
68  getConfigForHistogram(maxSatDetailed_, "MaxSatDetailed", iConfig, pDebugStream);
69  getConfigForHistogram(lowPbDetailed_, "LowPbDetailed", iConfig, pDebugStream);
70  getConfigForHistogram(highPbDetailed_, "HighPbDetailed", iConfig, pDebugStream);
71  getConfigForHistogram(outOfSyncDetailed_, "OutOfSyncDetailed", iConfig, pDebugStream);
72  getConfigForHistogram(otherPbsDetailed_, "OtherPbsDetailed", iConfig, pDebugStream);
73  getConfigForHistogram(apvErrorBitDetailed_, "ApvErrorBitDetailed", iConfig, pDebugStream);
74  getConfigForHistogram(apvAddressErrorDetailed_, "ApvAddressErrorDetailed", iConfig, pDebugStream);
75  getConfigForHistogram(negativePedsDetailed_, "NegativePedsDetailed", iConfig, pDebugStream);
76 
77  getConfigForHistogram(positionOfFirstHeaderBitDetailed_, "PositionOfFirstHeaderBitDetailed", iConfig, pDebugStream);
78  getConfigForHistogram(positionOfFirstTrailerBitDetailed_, "PositionOfFirstTrailerBitDetailed", iConfig, pDebugStream);
79  getConfigForHistogram(distanceHeaderTrailerDetailed_, "DistanceHeaderTrailerDetailed", iConfig, pDebugStream);
80 }
HistogramConfig nApvAddressErrorvsTime_
HistogramConfig frameMin_
HistogramConfig negativePedsDetailed_
HistogramConfig apvAddressError_
HistogramConfig nNegativePedsvsTime_
HistogramConfig nHighRangevsTime_
HistogramConfig lowPbDetailed_
HistogramConfig highRange_
HistogramConfig negativePeds_
HistogramConfig maxSat_
HistogramConfig minZeroDetailed_
HistogramConfig frameMax_
HistogramConfig nOutOfSyncvsTime_
HistogramConfig maxSatDetailed_
HistogramConfig positionOfFirstTrailerBitDetailed_
HistogramConfig noData_
HistogramConfig highPbDetailed_
HistogramConfig nOtherPbs_
Definition: SPYHistograms.h:97
HistogramConfig outOfSyncDetailed_
HistogramConfig noDataDetailed_
HistogramConfig positionOfFirstHeaderBitDetailed_
HistogramConfig baseline_
HistogramConfig lowPb_
HistogramConfig nApvAddressError_
Definition: SPYHistograms.h:99
HistogramConfig meanDigitalLowvsTime_
HistogramConfig otherPbs_
HistogramConfig outOfSync_
HistogramConfig lowRangeDetailed_
HistogramConfig nHighRange_
Definition: SPYHistograms.h:91
HistogramConfig lowRange_
HistogramConfig distanceHeaderTrailerDetailed_
HistogramConfig nNoDatavsTime_
HistogramConfig highPb_
HistogramConfig nHighPbvsTime_
HistogramConfig nLowPb_
Definition: SPYHistograms.h:94
HistogramConfig nMaxSat_
Definition: SPYHistograms.h:93
HistogramConfig highRangeDetailed_
HistogramConfig frameRange_
HistogramConfig nOtherPbsvsTime_
HistogramConfig nMaxSatvsTime_
HistogramConfig apvAddressErrorDetailed_
HistogramConfig minZero_
HistogramConfig otherPbsDetailed_
HistogramConfig apvErrorBitDetailed_
HistogramConfig nNegativePeds_
HistogramConfig nApvErrorBit_
Definition: SPYHistograms.h:98
HistogramConfig nNoData_
Definition: SPYHistograms.h:82
HistogramConfig nApvErrorBitvsTime_
HistogramConfig nLowRangevsTime_
HistogramConfig nLowRange_
Definition: SPYHistograms.h:90
HistogramConfig nMinZerovsTime_
HistogramConfig apvErrorBit_
HistogramConfig nHighPb_
Definition: SPYHistograms.h:95
HistogramConfig nMinZero_
Definition: SPYHistograms.h:92
HistogramConfig nLowPbvsTime_
HistogramConfig nOutOfSync_
Definition: SPYHistograms.h:96

◆ tkHistoMapEnabled()

bool SPYHistograms::tkHistoMapEnabled ( unsigned int  aIndex = 0)
inlineoverride

Definition at line 80 of file SPYHistograms.h.

80 { return false; };

◆ tkHistoMapPointer()

TkHistoMap* SPYHistograms::tkHistoMapPointer ( unsigned int  aIndex = 0)
inlineoverride

Definition at line 82 of file SPYHistograms.h.

82 { return nullptr; };

Member Data Documentation

◆ apvAddressError_

HistogramConfig SPYHistograms::apvAddressError_
private

Definition at line 128 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ apvAddressErrorDetailed_

HistogramConfig SPYHistograms::apvAddressErrorDetailed_
private

Definition at line 147 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ apvAddressErrorDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::apvAddressErrorDetailedMap_
private

Definition at line 164 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ apvErrorBit_

HistogramConfig SPYHistograms::apvErrorBit_
private

Definition at line 127 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ apvErrorBitDetailed_

HistogramConfig SPYHistograms::apvErrorBitDetailed_
private

Definition at line 146 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ apvErrorBitDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::apvErrorBitDetailedMap_
private

Definition at line 163 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ baseline_

HistogramConfig SPYHistograms::baseline_
private

Definition at line 134 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillDetailedHistograms(), and initialise().

◆ distanceHeaderTrailerDetailed_

HistogramConfig SPYHistograms::distanceHeaderTrailerDetailed_
private

Definition at line 152 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ distanceHeaderTrailerDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::distanceHeaderTrailerDetailedMap_
private

Definition at line 169 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ frameMax_

HistogramConfig SPYHistograms::frameMax_
private

Definition at line 133 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillDetailedHistograms(), and initialise().

◆ frameMin_

HistogramConfig SPYHistograms::frameMin_
private

Definition at line 132 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillDetailedHistograms(), and initialise().

◆ frameRange_

HistogramConfig SPYHistograms::frameRange_
private

Definition at line 131 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillDetailedHistograms(), and initialise().

◆ highPb_

HistogramConfig SPYHistograms::highPb_
private

Definition at line 124 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ highPbDetailed_

HistogramConfig SPYHistograms::highPbDetailed_
private

Definition at line 143 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ highPbDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::highPbDetailedMap_
private

Definition at line 160 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ highRange_

HistogramConfig SPYHistograms::highRange_
private

Definition at line 120 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ highRangeDetailed_

HistogramConfig SPYHistograms::highRangeDetailed_
private

Definition at line 139 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ highRangeDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::highRangeDetailedMap_
private

Definition at line 156 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ histosBooked_

std::vector<bool> SPYHistograms::histosBooked_
private

Definition at line 171 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and bookTopLevelHistograms().

◆ lowPb_

HistogramConfig SPYHistograms::lowPb_
private

Definition at line 123 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ lowPbDetailed_

HistogramConfig SPYHistograms::lowPbDetailed_
private

Definition at line 142 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ lowPbDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::lowPbDetailedMap_
private

Definition at line 159 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ lowRange_

HistogramConfig SPYHistograms::lowRange_
private

Definition at line 119 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ lowRangeDetailed_

HistogramConfig SPYHistograms::lowRangeDetailed_
private

Definition at line 138 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ lowRangeDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::lowRangeDetailedMap_
private

Definition at line 155 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ maxSat_

HistogramConfig SPYHistograms::maxSat_
private

Definition at line 122 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ maxSatDetailed_

HistogramConfig SPYHistograms::maxSatDetailed_
private

Definition at line 141 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ maxSatDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::maxSatDetailedMap_
private

Definition at line 158 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ meanDigitalLowvsTime_

HistogramConfig SPYHistograms::meanDigitalLowvsTime_
private

Definition at line 115 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillGainHistograms(), and initialise().

◆ minZero_

HistogramConfig SPYHistograms::minZero_
private

Definition at line 121 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ minZeroDetailed_

HistogramConfig SPYHistograms::minZeroDetailed_
private

Definition at line 140 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ minZeroDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::minZeroDetailedMap_
private

Definition at line 157 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ nApvAddressError_

HistogramConfig SPYHistograms::nApvAddressError_
private

Definition at line 99 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nApvAddressErrorvsTime_

HistogramConfig SPYHistograms::nApvAddressErrorvsTime_
private

Definition at line 113 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nApvErrorBit_

HistogramConfig SPYHistograms::nApvErrorBit_
private

Definition at line 98 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nApvErrorBitvsTime_

HistogramConfig SPYHistograms::nApvErrorBitvsTime_
private

Definition at line 112 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ negativePeds_

HistogramConfig SPYHistograms::negativePeds_
private

Definition at line 129 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ negativePedsDetailed_

HistogramConfig SPYHistograms::negativePedsDetailed_
private

Definition at line 148 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ negativePedsDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::negativePedsDetailedMap_
private

Definition at line 165 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ nHighPb_

HistogramConfig SPYHistograms::nHighPb_
private

Definition at line 95 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nHighPbvsTime_

HistogramConfig SPYHistograms::nHighPbvsTime_
private

Definition at line 109 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nHighRange_

HistogramConfig SPYHistograms::nHighRange_
private

Definition at line 91 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nHighRangevsTime_

HistogramConfig SPYHistograms::nHighRangevsTime_
private

Definition at line 105 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nLowPb_

HistogramConfig SPYHistograms::nLowPb_
private

Definition at line 94 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nLowPbvsTime_

HistogramConfig SPYHistograms::nLowPbvsTime_
private

Definition at line 108 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nLowRange_

HistogramConfig SPYHistograms::nLowRange_
private

Definition at line 90 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nLowRangevsTime_

HistogramConfig SPYHistograms::nLowRangevsTime_
private

Definition at line 104 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nMaxSat_

HistogramConfig SPYHistograms::nMaxSat_
private

Definition at line 93 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nMaxSatvsTime_

HistogramConfig SPYHistograms::nMaxSatvsTime_
private

Definition at line 107 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nMinZero_

HistogramConfig SPYHistograms::nMinZero_
private

Definition at line 92 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nMinZerovsTime_

HistogramConfig SPYHistograms::nMinZerovsTime_
private

Definition at line 106 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nNegativePeds_

HistogramConfig SPYHistograms::nNegativePeds_
private

Definition at line 100 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nNegativePedsvsTime_

HistogramConfig SPYHistograms::nNegativePedsvsTime_
private

Definition at line 114 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nNoData_

HistogramConfig SPYHistograms::nNoData_
private

Definition at line 82 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nNoDatavsTime_

HistogramConfig SPYHistograms::nNoDatavsTime_
private

Definition at line 103 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ noData_

HistogramConfig SPYHistograms::noData_
private

Definition at line 118 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillDetailedHistograms(), and initialise().

◆ noDataDetailed_

HistogramConfig SPYHistograms::noDataDetailed_
private

Definition at line 137 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ noDataDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::noDataDetailedMap_
private

Definition at line 154 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ nOtherPbs_

HistogramConfig SPYHistograms::nOtherPbs_
private

Definition at line 97 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nOtherPbsvsTime_

HistogramConfig SPYHistograms::nOtherPbsvsTime_
private

Definition at line 111 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nOutOfSync_

HistogramConfig SPYHistograms::nOutOfSync_
private

Definition at line 96 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ nOutOfSyncvsTime_

HistogramConfig SPYHistograms::nOutOfSyncvsTime_
private

Definition at line 110 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillCountersHistograms(), and initialise().

◆ otherPbs_

HistogramConfig SPYHistograms::otherPbs_
private

Definition at line 126 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ otherPbsDetailed_

HistogramConfig SPYHistograms::otherPbsDetailed_
private

Definition at line 145 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ otherPbsDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::otherPbsDetailedMap_
private

Definition at line 162 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ outOfSync_

HistogramConfig SPYHistograms::outOfSync_
private

Definition at line 125 of file SPYHistograms.h.

Referenced by bookTopLevelHistograms(), fillFEDHistograms(), and initialise().

◆ outOfSyncDetailed_

HistogramConfig SPYHistograms::outOfSyncDetailed_
private

Definition at line 144 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ outOfSyncDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::outOfSyncDetailedMap_
private

Definition at line 161 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ positionOfFirstHeaderBitDetailed_

HistogramConfig SPYHistograms::positionOfFirstHeaderBitDetailed_
private

Definition at line 150 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ positionOfFirstHeaderBitDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::positionOfFirstHeaderBitDetailedMap_
private

Definition at line 167 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().

◆ positionOfFirstTrailerBitDetailed_

HistogramConfig SPYHistograms::positionOfFirstTrailerBitDetailed_
private

Definition at line 151 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and initialise().

◆ positionOfFirstTrailerBitDetailedMap_

std::map<unsigned int, MonitorElement*> SPYHistograms::positionOfFirstTrailerBitDetailedMap_
private

Definition at line 168 of file SPYHistograms.h.

Referenced by bookFEDHistograms(), and fillDetailedHistograms().