CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DQM/SiStripCommissioningDbClients/interface/FineDelayHistosUsingDb.h

Go to the documentation of this file.
00001 // Last commit: $Id: FineDelayHistosUsingDb.h,v 1.11 2009/11/10 14:49:01 lowette 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( const edm::ParameterSet & pset,
00020                           DQMStore*,
00021                           SiStripConfigDb* const );
00022 
00023   virtual ~FineDelayHistosUsingDb();
00024 
00025   virtual void configure( const edm::ParameterSet&, 
00026                           const edm::EventSetup& );
00027 
00028   virtual void uploadConfigurations();
00029 
00030  private:
00031   
00032   bool update( SiStripConfigDb::DeviceDescriptionsRange );
00033 
00034   void update( SiStripConfigDb::FedDescriptionsRange );
00035 
00036   void create( SiStripConfigDb::AnalysisDescriptionsV&, Analysis ); 
00037 
00038   void computeDelays();
00039 
00040   std::map<unsigned int,float > delays_;
00041 
00042   const TrackerGeometry* tracker_;
00043   
00044   bool cosmic_;
00045 };
00046 
00047 #endif // DQM_SiStripCommissioningClients_FineDelayHistosUsingDb_H