00001 #ifndef Modules_EmptyESSource_h 00002 #define Modules_EmptyESSource_h 00003 // -*- C++ -*- 00004 // 00005 // Package: Modules 00006 // Class : EmptyESSource 00007 // 00016 // 00017 // Original Author: Chris Jones 00018 // Created: Sat Jun 25 17:23:12 EDT 2005 00019 // $Id: EmptyESSource.h,v 1.2 2008/06/04 20:23:20 chrjones Exp $ 00020 // 00021 00022 // system include files 00023 #include <set> 00024 00025 // user include files 00026 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h" 00027 00028 // forward declarations 00029 namespace edm { 00030 class ParameterSet; 00031 00032 class EmptyESSource : public EventSetupRecordIntervalFinder 00033 { 00034 00035 public: 00036 EmptyESSource(const ParameterSet&); 00037 //virtual ~EmptyESSource(); 00038 00039 // ---------- const member functions --------------------- 00040 00041 // ---------- static member functions -------------------- 00042 00043 // ---------- member functions --------------------------- 00044 void setIntervalFor(const edm::eventsetup::EventSetupRecordKey&, 00045 const edm::IOVSyncValue& iTime, 00046 edm::ValidityInterval& oInterval); 00047 00048 private: 00049 EmptyESSource(const EmptyESSource&); // stop default 00050 00051 const EmptyESSource& operator=(const EmptyESSource&); // stop default 00052 00053 void delaySettingRecords(); 00054 // ---------- member data -------------------------------- 00055 std::string recordName_; 00056 std::set <edm::IOVSyncValue> setOfIOV_; 00057 bool iovIsTime_; 00058 }; 00059 } 00060 00061 #endif