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 31 of file CommissioningSummaryFactory.cc.

Referenced by CommissioningHistograms::createSummaryHisto().

31  {
32  // fill histogram
33  SummaryPlotFactoryBase::fill(summary_histo);
34 
35  // check if generator object exists
37  return;
38  }
39 
40  // format histo
41  format();
42 }
SummaryGenerator * generator_
void fill(TH1 &summary_histo)

◆ 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 6 of file CommissioningSummaryFactory.cc.

Referenced by CommissioningHistograms::createSummaryHisto().

11  {
12  // initialisation
14 
15  // check if generator object exists
17  return 0;
18  }
19 
20  // extract monitorables and populate map
21  std::map<uint32_t, CommissioningAnalysis*>::const_iterator iter = data.begin();
22  for (; iter != data.end(); iter++) {
23  extract(iter);
24  }
25 
27 }
void init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
int extract(std::vector< int > *output, const std::string &dati)
SummaryGenerator * generator_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
uint32_t nBins() const