CMS 3D CMS Logo

SiStripNoiseESSource Class Reference

Pure virtual class for EventSetup sources of SiStripNoises. More...

#include <CalibTracker/SiStripESProducers/interface/SiStripNoiseESSource.h>

Inheritance diagram for SiStripNoiseESSource:

edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider SiStripNoiseBuilderFromDb SiStripNoiseFakeESSource

List of all members.

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 SiStripNoisesmakeNoise ()=0
const SiStripNoiseESSourceoperator= (const SiStripNoiseESSource &)
 SiStripNoiseESSource (const SiStripNoiseESSource &)


Detailed Description

Pure virtual class for EventSetup sources of SiStripNoises.

Author:
R.Bainbridge

Definition at line 23 of file SiStripNoiseESSource.h.


Constructor & Destructor Documentation

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]

Definition at line 28 of file SiStripNoiseESSource.h.

00028 {;}

SiStripNoiseESSource::SiStripNoiseESSource ( const SiStripNoiseESSource  )  [private]


Member Function Documentation

virtual SiStripNoises* SiStripNoiseESSource::makeNoise (  )  [private, pure virtual]

Implemented in SiStripNoiseFakeESSource, and SiStripNoiseBuilderFromDb.

Referenced by produce().

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 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:32:26 2009 for CMSSW by  doxygen 1.5.4