CMS 3D CMS Logo

Public Member Functions | Private Member Functions

SiStripTemplateFakeESSource< TObject, TRecord, TService > Class Template Reference

#include <SiStripTemplateFakeESSource.h>

Inheritance diagram for SiStripTemplateFakeESSource< TObject, TRecord, TService >:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

std::auto_ptr< TObject > produce (const TRecord &)
 SiStripTemplateFakeESSource (const edm::ParameterSet &)
 ~SiStripTemplateFakeESSource ()

Private Member Functions

const SiStripTemplateFakeESSourceoperator= (const SiStripTemplateFakeESSource &)
void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity)
 SiStripTemplateFakeESSource (const SiStripTemplateFakeESSource &)

Detailed Description

template<typename TObject, typename TRecord, typename TService>
class SiStripTemplateFakeESSource< TObject, TRecord, TService >

Definition at line 24 of file SiStripTemplateFakeESSource.h.


Constructor & Destructor Documentation

template<typename TObject , typename TRecord , typename TService >
SiStripTemplateFakeESSource< TObject, TRecord, TService >::SiStripTemplateFakeESSource ( const edm::ParameterSet iConfig)

Definition at line 43 of file SiStripTemplateFakeESSource.h.

{
  setWhatProduced(this);
  findingRecord<TRecord>();
}
template<typename TObject , typename TRecord , typename TService >
SiStripTemplateFakeESSource< TObject, TRecord, TService >::~SiStripTemplateFakeESSource ( ) [inline]

Definition at line 27 of file SiStripTemplateFakeESSource.h.

{};
template<typename TObject , typename TRecord , typename TService >
SiStripTemplateFakeESSource< TObject, TRecord, TService >::SiStripTemplateFakeESSource ( const SiStripTemplateFakeESSource< TObject, TRecord, TService > &  ) [private]

Member Function Documentation

template<typename TObject , typename TRecord , typename TService >
const SiStripTemplateFakeESSource& SiStripTemplateFakeESSource< TObject, TRecord, TService >::operator= ( const SiStripTemplateFakeESSource< TObject, TRecord, TService > &  ) [private]
template<typename TObject , typename TRecord , typename TService >
std::auto_ptr< TObject > SiStripTemplateFakeESSource< TObject, TRecord, TService >::produce ( const TRecord &  iRecord)

Definition at line 50 of file SiStripTemplateFakeESSource.h.

References VarParsing::obj.

{
  edm::Service<TService> condObjBuilder;
  TObject *obj=0; 
  condObjBuilder->getObj(obj);
  std::auto_ptr<TObject> ptr(obj);
  return ptr;
}
template<typename TObject , typename TRecord , typename TService >
void SiStripTemplateFakeESSource< TObject, TRecord, TService >::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey ,
const edm::IOVSyncValue iov,
edm::ValidityInterval iValidity 
) [private, virtual]