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