00001 #ifndef DQM_SiStripCommissioningClients_FedTimingHistograms_H 00002 #define DQM_SiStripCommissioningClients_FedTimingHistograms_H 00003 00004 #include "DQM/SiStripCommissioningClients/interface/CommissioningHistograms.h" 00005 #include "DQM/SiStripCommissioningSummary/interface/FedTimingSummaryFactory.h" 00006 #include "CondFormats/SiStripObjects/interface/FedTimingAnalysis.h" 00007 00008 00009 class FedTimingHistograms : public CommissioningHistograms { 00010 00011 public: 00012 00013 FedTimingHistograms( const edm::ParameterSet& pset, DQMStore* ); 00014 virtual ~FedTimingHistograms(); 00015 00016 typedef SummaryHistogramFactory<FedTimingAnalysis> Factory; 00017 00019 void histoAnalysis( bool debug ); 00020 00022 void createSummaryHisto( const sistrip::Monitorable&, 00023 const sistrip::Presentation&, 00024 const std::string& top_level_dir, 00025 const sistrip::Granularity& ); 00026 00027 protected: 00028 00029 std::map<uint32_t,FedTimingAnalysis> data_; 00030 00031 std::auto_ptr<Factory> factory_; 00032 00033 const float optimumSamplingPoint_; 00034 float minDelay_; 00035 float maxDelay_; 00036 uint32_t deviceWithMinDelay_; 00037 uint32_t deviceWithMaxDelay_; 00038 00039 }; 00040 00041 #endif // DQM_SiStripCommissioningClients_FedTimingHistograms_H 00042