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
sistrip::Granularity
Granularity
Definition: ConstantsForGranularity.h:60
SummaryHistogramFactory::pres_
sistrip::Presentation pres_
Definition: SummaryHistogramFactory.h:30
SummaryHistogramFactory::init
void init(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &top_level_dir, const sistrip::Granularity &)
Definition: SummaryHistogramFactory.cc:35
sistrip::View
View
Definition: ConstantsForView.h:26
SummaryHistogramFactory::gran_
sistrip::Granularity gran_
Definition: SummaryHistogramFactory.h:33
SummaryHistogramFactory::~SummaryHistogramFactory
~SummaryHistogramFactory()
Definition: SummaryHistogramFactory.cc:25
SummaryHistogramFactory::mon_
sistrip::Monitorable mon_
Definition: SummaryHistogramFactory.h:29
SummaryHistogramFactory::view_
sistrip::View view_
Definition: SummaryHistogramFactory.h:31
sistrip::Monitorable
Monitorable
Definition: ConstantsForMonitorable.h:200
sistrip::Presentation
Presentation
Definition: ConstantsForPresentation.h:28
SummaryHistogramFactory::fill
void fill(TH1 &summary_histo)
Definition: SummaryHistogramFactory.cc:91
SiStripConstants.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SummaryHistogramFactory::level_
std::string level_
Definition: SummaryHistogramFactory.h:32
SummaryHistogramFactory
Definition: SummaryHistogramFactory.h:13
SummaryGenerator
: Fills summary histograms.
Definition: SummaryGenerator.h:19
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
SummaryHistogramFactory::SummaryHistogramFactory
SummaryHistogramFactory()
Definition: SummaryHistogramFactory.cc:12
SummaryHistogramFactory::generator_
SummaryGenerator * generator_
Definition: SummaryHistogramFactory.h:34
SummaryHistogramFactory::extract
uint32_t extract(const std::map< uint32_t, T > &data)
Definition: SummaryHistogramFactory.cc:58