CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Private Member Functions

SiStripPedestalsESSource Class Reference

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

#include <SiStripPedestalsESSource.h>

Inheritance diagram for SiStripPedestalsESSource:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider SiStripPedestalsBuilderFromDb

List of all members.

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 SiStripPedestalsmakePedestals ()=0
const SiStripPedestalsESSourceoperator= (const SiStripPedestalsESSource &)
 SiStripPedestalsESSource (const SiStripPedestalsESSource &)

Detailed Description

Pure virtual class for EventSetup sources of SiStripPedestals.

Author:
R.Bainbridge

Definition at line 19 of file SiStripPedestalsESSource.h.


Constructor & Destructor Documentation

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]

Member Function Documentation

virtual SiStripPedestals* SiStripPedestalsESSource::makePedestals ( ) [private, pure virtual]
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]