File indexing completed on 2024-04-06 12:08:31
0001 #ifndef DQM_SiStripCommissioningClients_FedTimingHistograms_H
0002 #define DQM_SiStripCommissioningClients_FedTimingHistograms_H
0003
0004 #include "DQM/SiStripCommissioningClients/interface/CommissioningHistograms.h"
0005 #include "DQM/SiStripCommissioningSummary/interface/FedTimingSummaryFactory.h"
0006 #include "CondFormats/SiStripObjects/interface/FedTimingAnalysis.h"
0007
0008 class FedTimingHistograms : public CommissioningHistograms {
0009 public:
0010 FedTimingHistograms(const edm::ParameterSet& pset, DQMStore*);
0011 ~FedTimingHistograms() override;
0012
0013 typedef SummaryHistogramFactory<FedTimingAnalysis> Factory;
0014
0015
0016 void histoAnalysis(bool debug) override;
0017
0018
0019 void createSummaryHisto(const sistrip::Monitorable&,
0020 const sistrip::Presentation&,
0021 const std::string& top_level_dir,
0022 const sistrip::Granularity&) override;
0023
0024 protected:
0025 std::map<uint32_t, FedTimingAnalysis> data_;
0026
0027 std::unique_ptr<Factory> factory_;
0028
0029 const float optimumSamplingPoint_;
0030 float minDelay_;
0031 float maxDelay_;
0032 uint32_t deviceWithMinDelay_;
0033 uint32_t deviceWithMaxDelay_;
0034 };
0035
0036 #endif