#include <RecoTracker/RingESSource/interface/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().
00019 : fileName_((iConfig.getParameter<edm::FileInPath>("InputFileName")).fullPath()) { 00020 00021 std::string componentName = iConfig.getParameter<std::string>("ComponentName"); 00022 setWhatProduced(this, componentName); 00023 00024 findingRecord<RingRecord>(); 00025 00026 rings_ = 0; 00027 }
RingESSource::~RingESSource | ( | ) |
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().
00047 { 00048 oValidity = edm::ValidityInterval(edm::IOVSyncValue::beginOfTime(),edm::IOVSyncValue::endOfTime()); 00049 }
std::string RingESSource::fileName_ [private] |
Rings* RingESSource::rings_ [private] |