Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:37

0001 #ifndef DQM_SiStripCommissioningSummary_FedTimingSummaryFactory_H
0002 #define DQM_SiStripCommissioningSummary_FedTimingSummaryFactory_H
0003 
0004 #include "DQM/SiStripCommissioningSummary/interface/SummaryHistogramFactory.h"
0005 #include "CondFormats/SiStripObjects/interface/FedTimingAnalysis.h"
0006 
0007 class SummaryGenerator;
0008 
0009 template <>
0010 class SummaryHistogramFactory<FedTimingAnalysis> {
0011 public:
0012   SummaryHistogramFactory();
0013   ~SummaryHistogramFactory();
0014 
0015   void init(const sistrip::Monitorable&,
0016             const sistrip::Presentation&,
0017             const sistrip::View&,
0018             const std::string& top_level_dir,
0019             const sistrip::Granularity&);
0020 
0021   uint32_t extract(const std::map<uint32_t, FedTimingAnalysis>& data);
0022 
0023   void fill(TH1& summary_histo);
0024 
0025 private:
0026   sistrip::Monitorable mon_;
0027   sistrip::Presentation pres_;
0028   sistrip::View view_;
0029   std::string level_;
0030   sistrip::Granularity gran_;
0031   SummaryGenerator* generator_;
0032 };
0033 
0034 #endif  // DQM_SiStripCommissioningSummary_FedTimingSummaryFactory_H