File indexing completed on 2024-04-06 11:58:21
0001 #include "CalibMuon/CSCCalibration/interface/CSCFakeDBGains.h"
0002 #include "CalibMuon/CSCCalibration/interface/CSCGainsDBConditions.h"
0003 #include "CondFormats/CSCObjects/interface/CSCDBGains.h"
0004 #include "CondFormats/DataRecord/interface/CSCDBGainsRcd.h"
0005
0006 CSCFakeDBGains::CSCFakeDBGains(const edm::ParameterSet &iConfig) {
0007
0008
0009 setWhatProduced(this, &CSCFakeDBGains::produceDBGains);
0010 findingRecord<CSCDBGainsRcd>();
0011 }
0012
0013 CSCFakeDBGains::~CSCFakeDBGains() {}
0014
0015
0016 CSCFakeDBGains::Pointer CSCFakeDBGains::produceDBGains(const CSCDBGainsRcd &iRecord) {
0017 return CSCFakeDBGains::Pointer(prefillDBGains());
0018 }
0019
0020 void CSCFakeDBGains::setIntervalFor(const edm::eventsetup::EventSetupRecordKey &,
0021 const edm::IOVSyncValue &,
0022 edm::ValidityInterval &oValidity) {
0023 oValidity = edm::ValidityInterval(edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime());
0024 }