#include <CalibTracker/SiStripESProducers/interface/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 &) |
Definition at line 23 of file SiStripNoiseESSource.h.
SiStripNoiseESSource::SiStripNoiseESSource | ( | const edm::ParameterSet & | pset | ) |
Definition at line 17 of file SiStripNoiseESSource.cc.
References edm::ESProducer::setWhatProduced().
00017 { 00018 setWhatProduced( this ); 00019 findingRecord<SiStripNoisesRcd>(); 00020 }
virtual SiStripNoiseESSource::~SiStripNoiseESSource | ( | ) | [inline, virtual] |
SiStripNoiseESSource::SiStripNoiseESSource | ( | const SiStripNoiseESSource & | ) | [private] |
virtual SiStripNoises* SiStripNoiseESSource::makeNoise | ( | ) | [private, pure virtual] |
const SiStripNoiseESSource& SiStripNoiseESSource::operator= | ( | const SiStripNoiseESSource & | ) | [private] |
auto_ptr< SiStripNoises > SiStripNoiseESSource::produce | ( | const SiStripNoisesRcd & | ) | [virtual] |
Definition at line 24 of file SiStripNoiseESSource.cc.
References makeNoise(), sistrip::mlESSources_, and ptr.
00024 { 00025 00026 SiStripNoises* noise = makeNoise(); 00027 00028 if ( !noise ) { 00029 edm::LogWarning(mlESSources_) 00030 << "[SiStripNoiseESSource::" << __func__ << "]" 00031 << " Null pointer to SiStripNoises object!"; 00032 } 00033 00034 auto_ptr<SiStripNoises> ptr(noise); 00035 return ptr; 00036 00037 }
void SiStripNoiseESSource::setIntervalFor | ( | const edm::eventsetup::EventSetupRecordKey & | , | |
const edm::IOVSyncValue & | iosv, | |||
edm::ValidityInterval & | oValidity | |||
) | [protected, virtual] |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 41 of file SiStripNoiseESSource.cc.
References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), and infinity.
00043 { 00044 00045 edm::ValidityInterval infinity( iosv.beginOfTime(), iosv.endOfTime() ); 00046 oValidity = infinity; 00047 00048 }