CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions

SiStripNoiseESSource Class Reference

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

#include <SiStripNoiseESSource.h>

Inheritance diagram for SiStripNoiseESSource:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider SiStripNoiseBuilderFromDb

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 19 of file SiStripNoiseESSource.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

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]