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