CMS 3D CMS Logo

SiStripNoiseBuilderFromDb Class Reference

#include <OnlineDB/SiStripESSources/interface/SiStripNoiseBuilderFromDb.h>

Inheritance diagram for SiStripNoiseBuilderFromDb:

SiStripNoiseESSource edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

virtual SiStripNoisesmakeNoise ()
 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.


Detailed Description

Definition at line 17 of file SiStripNoiseBuilderFromDb.h.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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.

00032 {;}


Member Data Documentation

edm::Service<SiStripCondObjBuilderFromDb> SiStripNoiseBuilderFromDb::condObjBuilder [protected]

Service to access onlineDB and extract pedestal/noise.

Definition at line 39 of file SiStripNoiseBuilderFromDb.h.

Referenced by makeNoise().

SiStripDbParams SiStripNoiseBuilderFromDb::dbParams_ [protected]

Container for DB connection parameters.

Definition at line 36 of file SiStripNoiseBuilderFromDb.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:26 2009 for CMSSW by  doxygen 1.5.4