test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SummaryHistogramFactory.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningSummary_SummaryHistogramFactory_H
2 #define DQM_SiStripCommissioningSummary_SummaryHistogramFactory_H
3 
5 #include <boost/cstdint.hpp>
6 #include "TH1.h"
7 #include <string>
8 #include <map>
9 
10 class SummaryGenerator;
11 
12 template<class T>
14 
15  public:
16 
19 
20  void init( const sistrip::Monitorable&,
21  const sistrip::Presentation&,
22  const sistrip::View&,
23  const std::string& top_level_dir,
24  const sistrip::Granularity& );
25 
26  uint32_t extract( const std::map<uint32_t,T>& data );
27 
28  void fill( TH1& summary_histo );
29 
30  private:
31 
38 
39 };
40 
41 #endif // DQM_SiStripCommissioningSummary_SummaryHistogramFactory_H
42 
43 
44 
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)
sistrip::Presentation pres_