00001 // Last commit: $Id: CalibrationHistosUsingDb.h,v 1.5 2008/05/06 12:38:06 bainbrid Exp $ 00002 00003 #ifndef DQM_SiStripCommissioningClients_CalibrationHistosUsingDb_H 00004 #define DQM_SiStripCommissioningClients_CalibrationHistosUsingDb_H 00005 00006 #include "DQM/SiStripCommissioningClients/interface/CalibrationHistograms.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 TH1F; 00014 00015 class CalibrationHistosUsingDb : public CommissioningHistosUsingDb, public CalibrationHistograms { 00016 00017 public: 00018 00019 CalibrationHistosUsingDb( DQMOldReceiver*, 00020 SiStripConfigDb* const, 00021 const sistrip::RunType& task = sistrip::CALIBRATION ); 00022 00023 CalibrationHistosUsingDb( DQMStore*, 00024 SiStripConfigDb* const, 00025 const sistrip::RunType& task = sistrip::CALIBRATION ); 00026 00027 virtual ~CalibrationHistosUsingDb(); 00028 00029 virtual void uploadConfigurations(); 00030 00031 private: 00032 00033 void update( SiStripConfigDb::DeviceDescriptionsRange& ); 00034 00035 void create( SiStripConfigDb::AnalysisDescriptionsV&, Analysis ); 00036 00037 TH1F *ishaHistogram_, *vfsHistogram_; 00038 00039 }; 00040 00041 #endif // DQM_SiStripCommissioningClients_CalibrationHistosUsingDb_H 00042