00001 // Last commit: $Id: LatencyHistosUsingDb.h,v 1.10 2009/11/10 14:49:01 lowette Exp $ 00002 00003 #ifndef DQM_SiStripCommissioningClients_LatencyHistosUsingDb_H 00004 #define DQM_SiStripCommissioningClients_LatencyHistosUsingDb_H 00005 00006 #include "DQM/SiStripCommissioningClients/interface/SamplingHistograms.h" 00007 #include "DQM/SiStripCommissioningDbClients/interface/CommissioningHistosUsingDb.h" 00008 #include "OnlineDB/SiStripConfigDb/interface/SiStripConfigDb.h" 00009 #include <boost/cstdint.hpp> 00010 #include <string> 00011 #include <map> 00012 00013 class LatencyHistosUsingDb : public CommissioningHistosUsingDb, public SamplingHistograms { 00014 00015 public: 00016 00017 LatencyHistosUsingDb( const edm::ParameterSet & pset, 00018 DQMStore*, 00019 SiStripConfigDb* const ); 00020 00021 virtual ~LatencyHistosUsingDb(); 00022 00023 virtual void uploadConfigurations(); 00024 00025 virtual void configure( const edm::ParameterSet&, const edm::EventSetup& ); 00026 00027 private: 00028 00029 bool update( SiStripConfigDb::DeviceDescriptionsRange, 00030 SiStripConfigDb::FedDescriptionsRange ); 00031 00032 void create( SiStripConfigDb::AnalysisDescriptionsV&, Analysis ); 00033 00034 bool perPartition_; 00035 00036 }; 00037 00038 #endif // DQM_SiStripCommissioningClients_LatencyHistosUsingDb_H 00039