File indexing completed on 2024-04-06 11:58:22
0001 #include <fstream>
0002 #include <memory>
0003
0004 #include "CalibMuon/CSCCalibration/interface/CSCNoiseMatrixDBConditions.h"
0005 #include "CondFormats/CSCObjects/interface/CSCDBNoiseMatrix.h"
0006 #include "CondFormats/DataRecord/interface/CSCDBNoiseMatrixRcd.h"
0007
0008 CSCNoiseMatrixDBConditions::CSCNoiseMatrixDBConditions(const edm::ParameterSet &iConfig) {
0009
0010
0011
0012 setWhatProduced(this, &CSCNoiseMatrixDBConditions::produceDBNoiseMatrix);
0013 findingRecord<CSCDBNoiseMatrixRcd>();
0014
0015 }
0016
0017 CSCNoiseMatrixDBConditions::~CSCNoiseMatrixDBConditions() {
0018
0019
0020 }
0021
0022
0023
0024
0025
0026
0027 CSCNoiseMatrixDBConditions::ReturnType CSCNoiseMatrixDBConditions::produceDBNoiseMatrix(
0028 const CSCDBNoiseMatrixRcd &iRecord) {
0029
0030 return CSCNoiseMatrixDBConditions::ReturnType(prefillDBNoiseMatrix());
0031 }
0032
0033 void CSCNoiseMatrixDBConditions::setIntervalFor(const edm::eventsetup::EventSetupRecordKey &,
0034 const edm::IOVSyncValue &,
0035 edm::ValidityInterval &oValidity) {
0036 oValidity = edm::ValidityInterval(edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime());
0037 }