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