Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:39

0001 #ifndef DQM_SiStripCommissioningSummary_CommissioningSummaryFactory_H
0002 #define DQM_SiStripCommissioningSummary_CommissioningSummaryFactory_H
0003 
0004 #include "DQM/SiStripCommissioningSummary/interface/SummaryPlotFactory.h"
0005 #include "DQM/SiStripCommissioningSummary/interface/SummaryPlotFactoryBase.h"
0006 #include <map>
0007 #include <cstdint>
0008 
0009 class CommissioningAnalysis;
0010 
0011 template <>
0012 class SummaryPlotFactory<CommissioningAnalysis*> : public SummaryPlotFactoryBase {
0013 public:
0014   SummaryPlotFactory<CommissioningAnalysis*>() { ; }
0015 
0016   virtual ~SummaryPlotFactory<CommissioningAnalysis*>() { ; }
0017 
0018   typedef std::map<uint32_t, CommissioningAnalysis*>::const_iterator Iterator;
0019 
0020   uint32_t init(const sistrip::Monitorable&,
0021                 const sistrip::Presentation&,
0022                 const sistrip::View&,
0023                 const std::string& top_level_dir,
0024                 const sistrip::Granularity&,
0025                 const std::map<uint32_t, CommissioningAnalysis*>& data);
0026 
0027   void fill(TH1& summary_histo);
0028 
0029 protected:
0030   virtual void extract(Iterator) { ; }
0031 
0032   virtual void format() { ; }
0033 };
0034 
0035 #endif  // DQM_SiStripCommissioningSummary_CommissioningSummaryFactory_H