CMS 3D CMS Logo

List of all members | Public Member Functions
SummaryPlotFactory< T > Class Template Reference

#include <SummaryPlotFactory.h>

Inheritance diagram for SummaryPlotFactory< T >:
SummaryPlotFactoryBase

Public Member Functions

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, T > &data)
 

Additional Inherited Members

- 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 ()
 
- Protected Attributes inherited from SummaryPlotFactoryBase
SummaryGeneratorgenerator_
 
sistrip::Granularity gran_
 
std::string level_
 
sistrip::Monitorable mon_
 
sistrip::Presentation pres_
 
sistrip::View view_
 

Detailed Description

template<class T>
class SummaryPlotFactory< T >

Definition at line 12 of file SummaryPlotFactory.h.

Member Function Documentation

◆ fill()

template<class T >
void SummaryPlotFactory< T >::fill ( TH1 &  summary_histo)

Definition at line 36 of file SummaryPlotFactory.cc.

36  {
37  // Some initialisation
38  SummaryPlotFactoryBase::fill(summary_histo);
39 }

References SummaryPlotFactoryBase::fill().

◆ init()

template<class T >
uint32_t SummaryPlotFactory< T >::init ( const sistrip::Monitorable mon,
const sistrip::Presentation pres,
const sistrip::View view,
const std::string &  top_level_dir,
const sistrip::Granularity gran,
const std::map< uint32_t, T > &  data 
)

Definition at line 10 of file SummaryPlotFactory.cc.

15  {
16  // Some initialisation
17  SummaryPlotFactoryBase::init(mon, pres, view, level, gran);
18 
19  // Transfer appropriate monitorables info to generator object
21  return 0;
22  }
23  typename std::map<uint32_t, T>::const_iterator iter = data.begin();
24  for (; iter != data.end(); iter++) {
25  static float value = static_cast<float>(iter->second);
28  }
29 
31 }

References data, SummaryGenerator::fillMap(), SummaryPlotFactoryBase::generator_, SummaryPlotFactoryBase::gran_, SummaryPlotFactoryBase::init(), personalPlayback::level, SummaryPlotFactoryBase::level_, LaserDQM_cfi::mon, and SummaryGenerator::nBins().

personalPlayback.level
level
Definition: personalPlayback.py:22
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::fill
void fill(TH1 &summary_histo)
Definition: SummaryPlotFactoryBase.cc:99
SummaryPlotFactoryBase::level_
std::string level_
Definition: SummaryPlotFactoryBase.h:28
SummaryPlotFactoryBase::init
void init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
Definition: SummaryPlotFactoryBase.cc:31
LaserDQM_cfi.mon
mon
Definition: LaserDQM_cfi.py:3
SummaryPlotFactoryBase::generator_
SummaryGenerator * generator_
Definition: SummaryPlotFactoryBase.h:32
value
Definition: value.py:1
SummaryPlotFactoryBase::gran_
sistrip::Granularity gran_
Definition: SummaryPlotFactoryBase.h:29
SummaryGenerator::nBins
uint32_t nBins() const
Definition: SummaryGenerator.h:134
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79