CMS 3D CMS Logo

SummaryHistogramFactory.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningSummary_SummaryHistogramFactory_H
2 #define DQM_SiStripCommissioningSummary_SummaryHistogramFactory_H
3 
5 #include "TH1.h"
6 #include <string>
7 #include <map>
8 #include <cstdint>
9 
10 class SummaryGenerator;
11 
12 template <class T>
14 public:
17 
18  void init(const sistrip::Monitorable&,
19  const sistrip::Presentation&,
20  const sistrip::View&,
21  const std::string& top_level_dir,
22  const sistrip::Granularity&);
23 
24  uint32_t extract(const std::map<uint32_t, T>& data);
25 
26  void fill(TH1& summary_histo);
27 
28 private:
35 };
36 
37 #endif // DQM_SiStripCommissioningSummary_SummaryHistogramFactory_H
uint32_t extract(const std::map< uint32_t, T > &data)
void init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
: Fills summary histograms.
void fill(TH1 &summary_histo)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
sistrip::Presentation pres_