File indexing completed on 2024-04-06 11:59:51
0001 #ifndef CalibTracker_SiStripESProducers_SiStripFedCablingFakeESSource_H
0002 #define CalibTracker_SiStripESProducers_SiStripFedCablingFakeESSource_H
0003
0004 #include "CalibTracker/SiStripESProducers/interface/SiStripFedCablingESProducer.h"
0005 #include "CalibFormats/SiStripObjects/interface/SiStripDetInfo.h"
0006 #include "FWCore/Framework/interface/EventSetupRecordIntervalFinder.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0008 #include "FWCore/ParameterSet/interface/FileInPath.h"
0009
0010 class SiStripFedCabling;
0011 class SiStripFedCablingRcd;
0012
0013
0014
0015
0016
0017
0018 class SiStripFedCablingFakeESSource : public SiStripFedCablingESProducer, public edm::EventSetupRecordIntervalFinder {
0019 public:
0020 explicit SiStripFedCablingFakeESSource(const edm::ParameterSet&);
0021 ~SiStripFedCablingFakeESSource() override;
0022
0023 protected:
0024 void setIntervalFor(const edm::eventsetup::EventSetupRecordKey&,
0025 const edm::IOVSyncValue&,
0026 edm::ValidityInterval&) override;
0027
0028 private:
0029
0030 SiStripFedCabling* make(const SiStripFedCablingRcd&) override;
0031
0032
0033 edm::FileInPath fedIds_;
0034 edm::ParameterSet pset_;
0035 SiStripDetInfo m_detInfo;
0036 };
0037
0038 #endif