CMS 3D CMS Logo

Public Types | Public Member Functions | Protected Member Functions | Private Attributes

RoadMapESSource Class Reference

#include <RoadMapESSource.h>

Inheritance diagram for RoadMapESSource:
edm::ESProducer edm::EventSetupRecordIntervalFinder edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Types

typedef std::auto_ptr< RoadsReturnType

Public Member Functions

ReturnType produce (const RoadMapRecord &)
 RoadMapESSource (const edm::ParameterSet &)
 ~RoadMapESSource ()

Protected Member Functions

virtual void setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)

Private Attributes

std::string fileName_
std::string ringsLabel_
Roadsroads_

Detailed Description

Definition at line 33 of file RoadMapESSource.h.


Member Typedef Documentation

typedef std::auto_ptr<Roads> RoadMapESSource::ReturnType

Definition at line 40 of file RoadMapESSource.h.


Constructor & Destructor Documentation

RoadMapESSource::RoadMapESSource ( const edm::ParameterSet iConfig)

Definition at line 25 of file RoadMapESSource.cc.

References edm::ParameterSet::getParameter(), ringsLabel_, roads_, and edm::ESProducer::setWhatProduced().

                                                               : 
  fileName_((iConfig.getParameter<edm::FileInPath>("InputFileName")).fullPath())
{

  std::string componentName = iConfig.getParameter<std::string>("ComponentName");
  setWhatProduced(this, componentName);

  ringsLabel_ = iConfig.getParameter<std::string>("RingsLabel");

  findingRecord<RoadMapRecord>();
  
  roads_ = 0;
}
RoadMapESSource::~RoadMapESSource ( )

Definition at line 40 of file RoadMapESSource.cc.

{
}

Member Function Documentation

RoadMapESSource::ReturnType RoadMapESSource::produce ( const RoadMapRecord iRecord)
void RoadMapESSource::setIntervalFor ( const edm::eventsetup::EventSetupRecordKey ,
const edm::IOVSyncValue ,
edm::ValidityInterval oValidity 
) [protected, virtual]

Member Data Documentation

std::string RoadMapESSource::fileName_ [private]

Definition at line 50 of file RoadMapESSource.h.

Referenced by produce().

std::string RoadMapESSource::ringsLabel_ [private]

Definition at line 52 of file RoadMapESSource.h.

Referenced by produce(), and RoadMapESSource().

Definition at line 54 of file RoadMapESSource.h.

Referenced by produce(), and RoadMapESSource().