CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes

SiStripNoiseBuilderFromDb Class Reference

#include <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 ()
 SiStripNoiseBuilderFromDb (const edm::ParameterSet &)
virtual ~SiStripNoiseBuilderFromDb ()

Protected Member Functions

virtual void writeNoiseToCondDb (const SiStripNoises &)

Protected Attributes

edm::Service
< SiStripCondObjBuilderFromDb
condObjBuilder
SiStripDbParams dbParams_

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_.

  : SiStripNoiseESSource( pset )
{
  LogTrace(mlESSources_) 
    << "[SiStripNoiseBuilderFromDb::" << __func__ << "]"
    << " Constructing object...";
}
SiStripNoiseBuilderFromDb::~SiStripNoiseBuilderFromDb ( ) [virtual]

Definition at line 23 of file SiStripNoiseBuilderFromDb.cc.

References LogTrace, and sistrip::mlESSources_.

                                                      {
  LogTrace(mlESSources_)
    << "[SiStripNoiseBuilderFromDb::" << __func__ << "]"
    << " Destructing object...";
}

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_.

                                                    {
  LogTrace(mlESSources_) 
    << "[SiStripNoiseBuilderFromDb::" << __func__ << "]"
    << " Constructing Noise object...";
  
  // Create Noise object 
  SiStripNoises* noise;
  condObjBuilder->getValue(noise);
  return noise;
  
}
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.

{;}

Member Data Documentation

Service to access onlineDB and extract pedestal/noise

Definition at line 39 of file SiStripNoiseBuilderFromDb.h.

Referenced by makeNoise().

Container for DB connection parameters.

Definition at line 36 of file SiStripNoiseBuilderFromDb.h.