CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CommissioningSummaryFactory.cc
Go to the documentation of this file.
3 
4 // -----------------------------------------------------------------------------
5 //
7  const sistrip::Presentation& pres,
8  const sistrip::View& view,
9  const std::string& level,
10  const sistrip::Granularity& gran,
11  const std::map<uint32_t,CommissioningAnalysis*>& data ) {
12 
13  // initialisation
14  SummaryPlotFactoryBase::init( mon, pres, view, level, gran );
15 
16  // check if generator object exists
17  if ( !SummaryPlotFactoryBase::generator_ ) { return 0; }
18 
19  // extract monitorables and populate map
20  std::map<uint32_t,CommissioningAnalysis*>::const_iterator iter = data.begin();
21  for ( ; iter != data.end(); iter++ ) { extract( iter ); }
22 
24 
25 }
26 
27 // -----------------------------------------------------------------------------
28 //
30 
31  // fill histogram
32  SummaryPlotFactoryBase::fill( summary_histo );
33 
34  // check if generator object exists
35  if ( !SummaryPlotFactoryBase::generator_ ) { return; }
36 
37  // format histo
38  format();
39 
40 }
41 
42 // -----------------------------------------------------------------------------
43 //
void init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
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)
uint32_t nBins() const
void fill(TH1 &summary_histo)
int extract(std::vector< int > *output, const std::string &dati)
SummaryGenerator * generator_
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82
tuple level
Definition: testEve_cfg.py:34
void fill(TH1 &summary_histo)