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