File indexing completed on 2024-04-06 12:08:37
0001 #ifndef DQM_SiStripCommissioningSummary_SummaryPlotFactory_H
0002 #define DQM_SiStripCommissioningSummary_SummaryPlotFactory_H
0003
0004 #include "DQM/SiStripCommissioningSummary/interface/SummaryPlotFactoryBase.h"
0005 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
0006 #include "TH1.h"
0007 #include <string>
0008 #include <map>
0009 #include <cstdint>
0010
0011 template <class T>
0012 class SummaryPlotFactory : public SummaryPlotFactoryBase {
0013 public:
0014 uint32_t init(const sistrip::Monitorable&,
0015 const sistrip::Presentation&,
0016 const sistrip::View&,
0017 const std::string& top_level_dir,
0018 const sistrip::Granularity&,
0019 const std::map<uint32_t, T>& data);
0020
0021 void fill(TH1& summary_histo);
0022 };
0023
0024 #endif