CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/OnlineDB/SiStripESSources/interface/SiStripNoiseBuilderFromDb.h

Go to the documentation of this file.
00001 // Last commit: $Id: SiStripNoiseBuilderFromDb.h,v 1.6 2008/07/17 10:27:58 giordano Exp $
00002 // Latest tag:  $Name: V05-01-03 $
00003 // Location:    $Source: /cvs/CMSSW/CMSSW/OnlineDB/SiStripESSources/interface/SiStripNoiseBuilderFromDb.h,v $
00004 
00005 #ifndef OnlineDB_SiStripESSources_SiStripNoiseBuilderFromDb_H
00006 #define OnlineDB_SiStripESSources_SiStripNoiseBuilderFromDb_H
00007 
00008 #include "CalibTracker/SiStripESProducers/interface/SiStripNoiseESSource.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 class SiStripNoiseBuilderFromDb : public SiStripNoiseESSource {
00018   
00019  public:
00020 
00021   SiStripNoiseBuilderFromDb( const edm::ParameterSet& );
00022   virtual ~SiStripNoiseBuilderFromDb();
00023   
00025   virtual SiStripNoises* makeNoise();
00026   
00027   
00028  protected:
00029   
00032   virtual void writeNoiseToCondDb( const SiStripNoises& ) {;}
00033   
00034   
00036   SiStripDbParams dbParams_;
00037 
00039   edm::Service<SiStripCondObjBuilderFromDb> condObjBuilder;
00040   
00041 };
00042 
00043 #endif // OnlineDB_SiStripESSources_SiStripNoiseBuilderFromDb_H
00044