CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/OnlineDB/SiStripESSources/interface/SiStripPedestalsBuilderFromDb.h

Go to the documentation of this file.
00001 // Last commit: $Id: SiStripPedestalsBuilderFromDb.h,v 1.6 2008/07/17 10:27:58 giordano Exp $
00002 // Latest tag:  $Name: V05-01-03 $
00003 // Location:    $Source: /cvs_server/repositories/CMSSW/CMSSW/OnlineDB/SiStripESSources/interface/SiStripPedestalsBuilderFromDb.h,v $
00004 
00005 #ifndef OnlineDB_SiStripESSources_SiStripPedestalsBuilderFromDb_H
00006 #define OnlineDB_SiStripESSources_SiStripPedestalsBuilderFromDb_H
00007 
00008 #include "CalibTracker/SiStripESProducers/interface/SiStripPedestalsESSource.h"
00009 #include "DataFormats/SiStripCommon/interface/SiStripConstants.h"
00010 #include "OnlineDB/SiStripESSources/interface/SiStripCondObjBuilderFromDb.h"
00011 #include "FWCore/ServiceRegistry/interface/Service.h"
00012 #include "OnlineDB/SiStripConfigDb/interface/SiStripDbParams.h"
00013 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00014 #include <vector>
00015 #include <string>
00016 
00017 
00018 
00019 class SiStripPedestalsBuilderFromDb : public SiStripPedestalsESSource {
00020   
00021  public:
00022 
00023   SiStripPedestalsBuilderFromDb( const edm::ParameterSet& );
00024   virtual ~SiStripPedestalsBuilderFromDb();
00025   
00027   virtual SiStripPedestals* makePedestals();
00028   
00029  protected:
00030   
00033   virtual void writePedestalsToCondDb( const SiStripPedestals& ) {;}
00034   
00036   SiStripDbParams dbParams_;
00037 
00039   edm::Service<SiStripCondObjBuilderFromDb> condObjBuilder;
00040   
00041 };
00042 
00043 #endif // OnlineDB_SiStripESSources_SiStripPedestalsBuilderFromDb_H
00044