CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ApvTimingSummaryFactory.cc
Go to the documentation of this file.
5 #include <iostream>
6 #include <sstream>
7 
8 using namespace sistrip;
9 
10 // -----------------------------------------------------------------------------
11 //
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 }
42 
43 // -----------------------------------------------------------------------------
44 //
47  SummaryPlotFactoryBase::generator_->axisLabel("Timing delay [ns]");
54  } else {
55  edm::LogWarning(mlSummaryPlots_) << "[SummaryPlotFactory::" << __func__ << "]"
56  << " Unexpected SummaryHisto value:"
58  }
59 }
static std::string monitorable(const sistrip::Monitorable &)
sistrip::Monitorable mon_
sistrip classes
void fillMap(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error=0.)
Definition: value.py:1
sistrip::Granularity gran_
static const char mlSummaryPlots_[]
SummaryGenerator * generator_
static const uint16_t invalid_
Definition: Constants.h:16
void extract(Iterator) override
Log< level::Warning, false > LogWarning
void axisLabel(const std::string &)
Analysis for timing run using APV tick marks.