00001 // Last commit: $Id: FineDelayHistosUsingDb.h,v 1.8 2008/05/06 12:38:06 bainbrid Exp $ 00002 00003 #ifndef DQM_SiStripCommissioningClients_FineDelayHistosUsingDb_H 00004 #define DQM_SiStripCommissioningClients_FineDelayHistosUsingDb_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 TrackerGeometry; 00014 00015 class FineDelayHistosUsingDb : public CommissioningHistosUsingDb, public SamplingHistograms { 00016 00017 public: 00018 00019 FineDelayHistosUsingDb( DQMOldReceiver*, 00020 SiStripConfigDb* const ); 00021 00022 FineDelayHistosUsingDb( DQMStore*, 00023 SiStripConfigDb* const ); 00024 00025 virtual ~FineDelayHistosUsingDb(); 00026 00027 virtual void configure( const edm::ParameterSet&, 00028 const edm::EventSetup& ); 00029 00030 virtual void uploadConfigurations(); 00031 00032 private: 00033 00034 bool update( SiStripConfigDb::DeviceDescriptionsRange ); 00035 00036 void update( SiStripConfigDb::FedDescriptionsRange ); 00037 00038 void create( SiStripConfigDb::AnalysisDescriptionsV&, Analysis ); 00039 00040 void computeDelays(); 00041 00042 std::map<unsigned int,unsigned int > delays_; 00043 00044 const TrackerGeometry* tracker_; 00045 00046 }; 00047 00048 #endif // DQM_SiStripCommissioningClients_FineDelayHistosUsingDb_H