CMS 3D CMS Logo

List of all members | Protected Member Functions
ApvTimingSummaryFactory Class Reference

#include <ApvTimingSummaryFactory.h>

Inheritance diagram for ApvTimingSummaryFactory:
SummaryPlotFactory< CommissioningAnalysis * > SummaryPlotFactoryBase

Protected Member Functions

void extract (Iterator) override
 
void format () override
 
- Protected Member Functions inherited from SummaryPlotFactoryBase
void fill (TH1 &summary_histo)
 
void init (const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
 
 SummaryPlotFactoryBase ()
 
 ~SummaryPlotFactoryBase ()
 

Additional Inherited Members

- Public Types inherited from SummaryPlotFactory< CommissioningAnalysis * >
typedef std::map< uint32_t, CommissioningAnalysis * >::const_iterator Iterator
 
- Public Member Functions inherited from SummaryPlotFactory< CommissioningAnalysis * >
void fill (TH1 &summary_histo)
 
uint32_t init (const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &, const std::map< uint32_t, CommissioningAnalysis * > &data)
 
 SummaryPlotFactory ()
 
virtual ~SummaryPlotFactory ()
 
- Protected Attributes inherited from SummaryPlotFactoryBase
SummaryGeneratorgenerator_
 
sistrip::Granularity gran_
 
std::string level_
 
sistrip::Monitorable mon_
 
sistrip::Presentation pres_
 
sistrip::View view_
 

Detailed Description

Definition at line 6 of file ApvTimingSummaryFactory.h.

Member Function Documentation

◆ extract()

void ApvTimingSummaryFactory::extract ( Iterator  iter)
overrideprotectedvirtual

Reimplemented from SummaryPlotFactory< CommissioningAnalysis * >.

Definition at line 12 of file ApvTimingSummaryFactory.cc.

12  {
13  ApvTimingAnalysis* anal = dynamic_cast<ApvTimingAnalysis*>(iter->second);
14  if (!anal) {
15  return;
16  }
17 
18  float value = 1. * sistrip::invalid_;
19 
21  value = anal->time();
23  value = anal->refTime();
25  value = anal->delay();
27  value = anal->base();
29  value = anal->peak();
31  value = anal->height();
32  } else {
33  edm::LogWarning(mlSummaryPlots_) << "[SummaryPlotFactory::" << __func__ << "]"
34  << " Unexpected monitorable: "
36  return;
37  }
38 
41 }

References conversion_template_cfg::anal, sistrip::APV_TIMING_BASE, sistrip::APV_TIMING_DELAY, sistrip::APV_TIMING_HEIGHT, sistrip::APV_TIMING_MAX_TIME, sistrip::APV_TIMING_PEAK, sistrip::APV_TIMING_TIME, SummaryGenerator::fillMap(), SummaryPlotFactoryBase::generator_, SummaryPlotFactoryBase::gran_, sistrip::invalid_, SummaryPlotFactoryBase::level_, sistrip::mlSummaryPlots_, SummaryPlotFactoryBase::mon_, and SiStripEnumsAndStrings::monitorable().

◆ format()

void ApvTimingSummaryFactory::format ( )
overrideprotectedvirtual
sistrip::APV_TIMING_TIME
Definition: ConstantsForMonitorable.h:218
SummaryGenerator::fillMap
void fillMap(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error=0.)
Definition: SummaryGenerator.cc:222
SummaryPlotFactoryBase::mon_
sistrip::Monitorable mon_
Definition: SummaryPlotFactoryBase.h:25
sistrip::APV_TIMING_BASE
Definition: ConstantsForMonitorable.h:222
sistrip::APV_TIMING_ERROR
Definition: ConstantsForMonitorable.h:221
sistrip::APV_TIMING_DELAY
Definition: ConstantsForMonitorable.h:220
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
SummaryPlotFactoryBase::level_
std::string level_
Definition: SummaryPlotFactoryBase.h:28
sistrip::APV_TIMING_MAX_TIME
Definition: ConstantsForMonitorable.h:219
SummaryPlotFactoryBase::generator_
SummaryGenerator * generator_
Definition: SummaryPlotFactoryBase.h:32
ApvTimingAnalysis
Analysis for timing run using APV tick marks.
Definition: ApvTimingAnalysis.h:15
value
Definition: value.py:1
sistrip::APV_TIMING_PEAK
Definition: ConstantsForMonitorable.h:223
SummaryGenerator::axisLabel
void axisLabel(const std::string &)
Definition: SummaryGenerator.h:135
sistrip::invalid_
static const uint16_t invalid_
Definition: Constants.h:16
SiStripEnumsAndStrings::monitorable
static std::string monitorable(const sistrip::Monitorable &)
Definition: SiStripEnumsAndStrings.cc:547
SummaryPlotFactoryBase::gran_
sistrip::Granularity gran_
Definition: SummaryPlotFactoryBase.h:29
sistrip::APV_TIMING_HEIGHT
Definition: ConstantsForMonitorable.h:224
sistrip::mlSummaryPlots_
static const char mlSummaryPlots_[]
Definition: ConstantsForLogger.h:26
conversion_template_cfg.anal
anal
Definition: conversion_template_cfg.py:16