#include <OnlineDB/SiStripESSources/interface/SiStripNoiseBuilderFromDb.h>
Public Member Functions | |
virtual SiStripNoises * | makeNoise () |
Builds pedestals using info from configuration database. | |
SiStripNoiseBuilderFromDb (const edm::ParameterSet &) | |
virtual | ~SiStripNoiseBuilderFromDb () |
Protected Member Functions | |
virtual void | writeNoiseToCondDb (const SiStripNoises &) |
Virtual method that is called by makeNoise() to allow pedestals to be written to the conditions database. | |
Protected Attributes | |
edm::Service < SiStripCondObjBuilderFromDb > | condObjBuilder |
Service to access onlineDB and extract pedestal/noise. | |
SiStripDbParams | dbParams_ |
Container for DB connection parameters. |
Definition at line 17 of file SiStripNoiseBuilderFromDb.h.
SiStripNoiseBuilderFromDb::SiStripNoiseBuilderFromDb | ( | const edm::ParameterSet & | pset | ) |
Definition at line 13 of file SiStripNoiseBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
00014 : SiStripNoiseESSource( pset ) 00015 { 00016 LogTrace(mlESSources_) 00017 << "[SiStripNoiseBuilderFromDb::" << __func__ << "]" 00018 << " Constructing object..."; 00019 }
SiStripNoiseBuilderFromDb::~SiStripNoiseBuilderFromDb | ( | ) | [virtual] |
Definition at line 23 of file SiStripNoiseBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
00023 { 00024 LogTrace(mlESSources_) 00025 << "[SiStripNoiseBuilderFromDb::" << __func__ << "]" 00026 << " Destructing object..."; 00027 }
SiStripNoises * SiStripNoiseBuilderFromDb::makeNoise | ( | ) | [virtual] |
Builds pedestals using info from configuration database.
Implements SiStripNoiseESSource.
Definition at line 31 of file SiStripNoiseBuilderFromDb.cc.
References condObjBuilder, LogTrace, and sistrip::mlESSources_.
00031 { 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 }
virtual void SiStripNoiseBuilderFromDb::writeNoiseToCondDb | ( | const SiStripNoises & | ) | [inline, protected, virtual] |
Virtual method that is called by makeNoise() to allow pedestals to be written to the conditions database.
Definition at line 32 of file SiStripNoiseBuilderFromDb.h.
Service to access onlineDB and extract pedestal/noise.
Definition at line 39 of file SiStripNoiseBuilderFromDb.h.
Referenced by makeNoise().
SiStripDbParams SiStripNoiseBuilderFromDb::dbParams_ [protected] |