CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes

SiStripPedestalsBuilderFromDb Class Reference

#include <SiStripPedestalsBuilderFromDb.h>

Inheritance diagram for SiStripPedestalsBuilderFromDb:
SiStripPedestalsESSource edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

virtual SiStripPedestalsmakePedestals ()
 SiStripPedestalsBuilderFromDb (const edm::ParameterSet &)
virtual ~SiStripPedestalsBuilderFromDb ()

Protected Member Functions

virtual void writePedestalsToCondDb (const SiStripPedestals &)

Protected Attributes

edm::Service
< SiStripCondObjBuilderFromDb
condObjBuilder
SiStripDbParams dbParams_

Detailed Description

Definition at line 19 of file SiStripPedestalsBuilderFromDb.h.


Constructor & Destructor Documentation

SiStripPedestalsBuilderFromDb::SiStripPedestalsBuilderFromDb ( const edm::ParameterSet pset)

Definition at line 13 of file SiStripPedestalsBuilderFromDb.cc.

References LogTrace, and sistrip::mlESSources_.

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

Definition at line 22 of file SiStripPedestalsBuilderFromDb.cc.

References LogTrace, and sistrip::mlESSources_.

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

Member Function Documentation

SiStripPedestals * SiStripPedestalsBuilderFromDb::makePedestals ( ) [virtual]

Builds pedestals using info from configuration database.

Implements SiStripPedestalsESSource.

Definition at line 30 of file SiStripPedestalsBuilderFromDb.cc.

References condObjBuilder, LogTrace, and sistrip::mlESSources_.

                                                               {
  LogTrace(mlESSources_) 
    << "[SiStripPedestalsBuilderFromDb::" << __func__ << "]"
    << " Constructing Pedestals object...";
  
  // Create Pedestals object 
  SiStripPedestals* pedestals;
  condObjBuilder->getValue(pedestals);  
  return pedestals;
  
}
virtual void SiStripPedestalsBuilderFromDb::writePedestalsToCondDb ( const SiStripPedestals ) [inline, protected, virtual]

Virtual method that is called by makePedestals() to allow pedestals to be written to the conditions database.

Definition at line 33 of file SiStripPedestalsBuilderFromDb.h.

{;}

Member Data Documentation

Service to access onlineDB and extract pedestal/noise

Definition at line 39 of file SiStripPedestalsBuilderFromDb.h.

Referenced by makePedestals().

Container for DB connection parameters.

Definition at line 36 of file SiStripPedestalsBuilderFromDb.h.