Pure virtual class for EventSetup sources of SiStripPedestals. More...
#include <SiStripPedestalsESSource.h>
Public Member Functions | |
virtual std::auto_ptr < SiStripPedestals > | produce (const SiStripPedestalsRcd &) |
SiStripPedestalsESSource (const edm::ParameterSet &) | |
virtual | ~SiStripPedestalsESSource () |
Protected Member Functions | |
virtual void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) |
Private Member Functions | |
virtual SiStripPedestals * | makePedestals ()=0 |
const SiStripPedestalsESSource & | operator= (const SiStripPedestalsESSource &) |
SiStripPedestalsESSource (const SiStripPedestalsESSource &) |
Pure virtual class for EventSetup sources of SiStripPedestals.
Definition at line 19 of file SiStripPedestalsESSource.h.
SiStripPedestalsESSource::SiStripPedestalsESSource | ( | const edm::ParameterSet & | pset | ) |
Definition at line 12 of file SiStripPedestalsESSource.cc.
{ setWhatProduced( this ); findingRecord<SiStripPedestalsRcd>(); }
virtual SiStripPedestalsESSource::~SiStripPedestalsESSource | ( | ) | [inline, virtual] |
Definition at line 24 of file SiStripPedestalsESSource.h.
{;}
SiStripPedestalsESSource::SiStripPedestalsESSource | ( | const SiStripPedestalsESSource & | ) | [private] |
virtual SiStripPedestals* SiStripPedestalsESSource::makePedestals | ( | ) | [private, pure virtual] |
Implemented in SiStripPedestalsBuilderFromDb.
const SiStripPedestalsESSource& SiStripPedestalsESSource::operator= | ( | const SiStripPedestalsESSource & | ) | [private] |
std::auto_ptr< SiStripPedestals > SiStripPedestalsESSource::produce | ( | const SiStripPedestalsRcd & | ) | [virtual] |
Definition at line 19 of file SiStripPedestalsESSource.cc.
References sistrip::mlESSources_.
{ SiStripPedestals* peds = makePedestals(); if ( !peds ) { edm::LogWarning(mlESSources_) << "[SiStripPedestalsESSource::" << __func__ << "]" << " Null pointer to SiStripPedestals object!"; } std::auto_ptr<SiStripPedestals> ptr(peds); return ptr; }
void SiStripPedestalsESSource::setIntervalFor | ( | const edm::eventsetup::EventSetupRecordKey & | , |
const edm::IOVSyncValue & | iosv, | ||
edm::ValidityInterval & | oValidity | ||
) | [protected, virtual] |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 36 of file SiStripPedestalsESSource.cc.
References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), and infinity.
{ edm::ValidityInterval infinity( iosv.beginOfTime(), iosv.endOfTime() ); oValidity = infinity; }