00001 #ifndef DQM_SiStripCommissioningSummary_DaqScopeModeSummaryFactory_H 00002 #define DQM_SiStripCommissioningSummary_DaqScopeModeSummaryFactory_H 00003 00004 #include "DQM/SiStripCommissioningSummary/interface/SummaryHistogramFactory.h" 00005 #include "CondFormats/SiStripObjects/interface/DaqScopeModeAnalysis.h" 00006 00007 class SummaryGenerator; 00008 00009 template<> 00010 class SummaryHistogramFactory<DaqScopeModeAnalysis> { 00011 00012 public: 00013 00014 SummaryHistogramFactory(); 00015 ~SummaryHistogramFactory(); 00016 00017 void init( const sistrip::Monitorable&, 00018 const sistrip::Presentation&, 00019 const sistrip::View&, 00020 const std::string& top_level_dir, 00021 const sistrip::Granularity& ); 00022 00023 uint32_t extract( const std::map<uint32_t,DaqScopeModeAnalysis>& data ); 00024 00025 void fill( TH1& summary_histo ); 00026 00027 private: 00028 00029 sistrip::Monitorable mon_; 00030 sistrip::Presentation pres_; 00031 sistrip::View view_; 00032 std::string level_; 00033 sistrip::Granularity gran_; 00034 SummaryGenerator* generator_; 00035 00036 }; 00037 00038 #endif // DQM_SiStripCommissioningSummary_DaqScopeModeSummaryFactory_H