00001 // Last commit: $Id: SiStripNoiseBuilderFromDb.cc,v 1.11 2008/07/17 10:27:59 giordano Exp $ 00002 // Latest tag: $Name: V05-01-03 $ 00003 // Location: $Source: /local/reps/CMSSW/CMSSW/OnlineDB/SiStripESSources/src/SiStripNoiseBuilderFromDb.cc,v $ 00004 00005 #include "OnlineDB/SiStripESSources/interface/SiStripNoiseBuilderFromDb.h" 00006 #include "CondFormats/SiStripObjects/interface/SiStripNoises.h" 00007 00008 using namespace std; 00009 using namespace sistrip; 00010 00011 // ----------------------------------------------------------------------------- 00013 SiStripNoiseBuilderFromDb::SiStripNoiseBuilderFromDb( const edm::ParameterSet& pset ) 00014 : SiStripNoiseESSource( pset ) 00015 { 00016 LogTrace(mlESSources_) 00017 << "[SiStripNoiseBuilderFromDb::" << __func__ << "]" 00018 << " Constructing object..."; 00019 } 00020 00021 // ----------------------------------------------------------------------------- 00023 SiStripNoiseBuilderFromDb::~SiStripNoiseBuilderFromDb() { 00024 LogTrace(mlESSources_) 00025 << "[SiStripNoiseBuilderFromDb::" << __func__ << "]" 00026 << " Destructing object..."; 00027 } 00028 00029 // ----------------------------------------------------------------------------- 00031 SiStripNoises* SiStripNoiseBuilderFromDb::makeNoise() { 00032 LogTrace(mlESSources_) 00033 << "[SiStripNoiseBuilderFromDb::" << __func__ << "]" 00034 << " Constructing Noise object..."; 00035 00036 // Create Noise object 00037 SiStripNoises* noise; 00038 condObjBuilder->getValue(noise); 00039 return noise; 00040 00041 } 00042