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 class DQMOldReceiver; 00009 00010 class FedTimingHistograms : public CommissioningHistograms { 00011 00012 public: 00013 00014 FedTimingHistograms( DQMOldReceiver* ); 00015 virtual ~FedTimingHistograms(); 00016 00017 typedef SummaryHistogramFactory<FedTimingAnalysis> Factory; 00018 00020 void histoAnalysis( bool debug ); 00021 00023 void createSummaryHisto( const sistrip::Monitorable&, 00024 const sistrip::Presentation&, 00025 const std::string& top_level_dir, 00026 const sistrip::Granularity& ); 00027 00028 protected: 00029 00030 std::map<uint32_t,FedTimingAnalysis> data_; 00031 00032 std::auto_ptr<Factory> factory_; 00033 00034 const float optimumSamplingPoint_; 00035 float minDelay_; 00036 float maxDelay_; 00037 uint32_t deviceWithMinDelay_; 00038 uint32_t deviceWithMaxDelay_; 00039 00040 }; 00041 00042 #endif // DQM_SiStripCommissioningClients_FedTimingHistograms_H 00043