00001 #ifndef CalibTracker_SiStripESProducers_SiStripFedCablingFakeESSource_H 00002 #define CalibTracker_SiStripESProducers_SiStripFedCablingFakeESSource_H 00003 00004 #include "CalibTracker/SiStripESProducers/interface/SiStripFedCablingESProducer.h" 00005 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 #include "FWCore/ParameterSet/interface/FileInPath.h" 00008 00009 class SiStripFedCabling; 00010 class SiStripFedCablingRcd; 00011 00017 class SiStripFedCablingFakeESSource : public SiStripFedCablingESProducer, public edm::EventSetupRecordIntervalFinder { 00018 00019 public: 00020 00021 explicit SiStripFedCablingFakeESSource( const edm::ParameterSet& ); 00022 ~SiStripFedCablingFakeESSource(); 00023 00024 protected: 00025 00026 virtual void setIntervalFor( const edm::eventsetup::EventSetupRecordKey&, 00027 const edm::IOVSyncValue&, 00028 edm::ValidityInterval& ); 00029 00030 private: 00031 00033 virtual SiStripFedCabling* make( const SiStripFedCablingRcd& ); 00034 00036 edm::FileInPath detIds_; 00037 00039 edm::FileInPath fedIds_; 00040 edm::ParameterSet pset_; 00041 }; 00042 00043 #endif // CalibTracker_SiStripESProducers_SiStripFedCablingFakeESSource_H 00044 00045