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