#include <SiStripGainBuilderFromDb.h>
Public Member Functions | |
virtual SiStripApvGain * | makeGain () |
SiStripGainBuilderFromDb (const edm::ParameterSet &) | |
virtual | ~SiStripGainBuilderFromDb () |
Protected Member Functions | |
virtual void | writeGainToCondDb (const SiStripApvGain &) |
Definition at line 10 of file SiStripGainBuilderFromDb.h.
SiStripGainBuilderFromDb::SiStripGainBuilderFromDb | ( | const edm::ParameterSet & | pset | ) |
Definition at line 18 of file SiStripGainBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
: SiStripGainESSource( pset ) { LogTrace(mlESSources_) << "[SiStripGainBuilderFromDb::" << __func__ << "]" << " Constructing object..."; }
SiStripGainBuilderFromDb::~SiStripGainBuilderFromDb | ( | ) | [virtual] |
Definition at line 28 of file SiStripGainBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
{ LogTrace(mlESSources_) << "[SiStripGainBuilderFromDb::" << __func__ << "]" << " Destructing object..."; }
SiStripApvGain * SiStripGainBuilderFromDb::makeGain | ( | ) | [virtual] |
Builds pedestals using info from configuration database.
Service to access onlineDB and extract pedestal/gain
Implements SiStripGainESSource.
Definition at line 36 of file SiStripGainBuilderFromDb.cc.
References LogTrace, and sistrip::mlESSources_.
{ LogTrace(mlESSources_) << "[SiStripGainBuilderFromDb::" << __func__ << "]" << " Constructing Gain object..."; edm::Service<SiStripCondObjBuilderFromDb> condObjBuilder_; // Create Gain object SiStripApvGain* gain; condObjBuilder_->getValue(gain); return gain; }
virtual void SiStripGainBuilderFromDb::writeGainToCondDb | ( | const SiStripApvGain & | ) | [inline, protected, virtual] |
Virtual method that is called by makeGain() to allow gain to be written to the conditions database.
Definition at line 25 of file SiStripGainBuilderFromDb.h.
{;}