#include <RingESSource.h>
Public Types | |
typedef std::auto_ptr< Rings > | ReturnType |
Public Member Functions | |
ReturnType | produce (const RingRecord &) |
RingESSource (const edm::ParameterSet &) | |
~RingESSource () | |
Protected Member Functions | |
virtual void | setIntervalFor (const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) |
Private Attributes | |
std::string | fileName_ |
Rings * | rings_ |
Definition at line 37 of file RingESSource.h.
typedef std::auto_ptr<Rings> RingESSource::ReturnType |
Definition at line 44 of file RingESSource.h.
RingESSource::RingESSource | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 19 of file RingESSource.cc.
References edm::ParameterSet::getParameter(), rings_, and edm::ESProducer::setWhatProduced().
: fileName_((iConfig.getParameter<edm::FileInPath>("InputFileName")).fullPath()) { std::string componentName = iConfig.getParameter<std::string>("ComponentName"); setWhatProduced(this, componentName); findingRecord<RingRecord>(); rings_ = 0; }
RingESSource::~RingESSource | ( | ) |
Definition at line 30 of file RingESSource.cc.
{ }
RingESSource::ReturnType RingESSource::produce | ( | const RingRecord & | iRecord | ) |
void RingESSource::setIntervalFor | ( | const edm::eventsetup::EventSetupRecordKey & | , |
const edm::IOVSyncValue & | , | ||
edm::ValidityInterval & | oValidity | ||
) | [protected, virtual] |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 47 of file RingESSource.cc.
References edm::IOVSyncValue::beginOfTime(), and edm::IOVSyncValue::endOfTime().
{ oValidity = edm::ValidityInterval(edm::IOVSyncValue::beginOfTime(),edm::IOVSyncValue::endOfTime()); }
std::string RingESSource::fileName_ [private] |
Definition at line 55 of file RingESSource.h.
Referenced by produce().
Rings* RingESSource::rings_ [private] |
Definition at line 56 of file RingESSource.h.
Referenced by produce(), and RingESSource().