Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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() { ; }
0015   virtual ~SummaryPlotFactory() { ; }
0016 
0017   typedef std::map<uint32_t, CommissioningAnalysis*>::const_iterator Iterator;
0018 
0019   uint32_t init(const sistrip::Monitorable&,
0020                 const sistrip::Presentation&,
0021                 const sistrip::View&,
0022                 const std::string& top_level_dir,
0023                 const sistrip::Granularity&,
0024                 const std::map<uint32_t, CommissioningAnalysis*>& data);
0025 
0026   void fill(TH1& summary_histo);
0027 
0028 protected:
0029   virtual void extract(Iterator) { ; }
0030 
0031   virtual void format() { ; }
0032 };
0033 
0034 #endif  // DQM_SiStripCommissioningSummary_CommissioningSummaryFactory_H