test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
14  ApvTimingAnalysis* anal = dynamic_cast<ApvTimingAnalysis*>( iter->second );
15  if ( !anal ) { return; }
16 
17  float value = 1. * sistrip::invalid_;
18 
20  value = anal->time();
22  value = anal->refTime();
24  value = anal->delay();
26  value = anal->base();
28  value = anal->peak();
30  value = anal->height();
31  } else {
33  << "[SummaryPlotFactory::" << __func__ << "]"
34  << " Unexpected monitorable: "
36  return;
37  }
38 
41  iter->first,
42  value );
43 
44 }
45 
46 // -----------------------------------------------------------------------------
47 //
49 
51  SummaryPlotFactoryBase::generator_->axisLabel( "Timing delay [ns]" );
58  } else {
60  << "[SummaryPlotFactory::" << __func__ << "]"
61  << " Unexpected SummaryHisto value:"
63  }
64 
65 }
static std::string monitorable(const sistrip::Monitorable &)
sistrip::Monitorable mon_
const float & refTime() const
const float & base() const
void fillMap(const std::string &top_level_dir, const sistrip::Granularity &, const uint32_t &key, const float &value, const float &error=0.)
sistrip::Granularity gran_
const float & peak() const
const float & time() const
const float & delay() const
static const char mlSummaryPlots_[]
SummaryGenerator * generator_
static const uint16_t invalid_
Definition: Constants.h:16
void axisLabel(const std::string &)
Analysis for timing run using APV tick marks.
const float & height() const