Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:47:34

0001 #include "CalibMuon/CSCCalibration/interface/CSCCrosstalkDBConditions.h"
0002 #include "CalibMuon/CSCCalibration/interface/CSCFakeDBCrosstalk.h"
0003 #include "CondFormats/CSCObjects/interface/CSCDBCrosstalk.h"
0004 #include "CondFormats/DataRecord/interface/CSCDBCrosstalkRcd.h"
0005 
0006 CSCFakeDBCrosstalk::CSCFakeDBCrosstalk(const edm::ParameterSet &iConfig) {
0007   // the following line is needed to tell the framework what
0008   // data is being produced
0009   setWhatProduced(this, &CSCFakeDBCrosstalk::produceDBCrosstalk);
0010   findingRecord<CSCDBCrosstalkRcd>();
0011 }
0012 
0013 CSCFakeDBCrosstalk::~CSCFakeDBCrosstalk() {}
0014 
0015 // ------------ method called to produce the data  ------------
0016 CSCFakeDBCrosstalk::Pointer CSCFakeDBCrosstalk::produceDBCrosstalk(const CSCDBCrosstalkRcd &iRecord) {
0017   return CSCFakeDBCrosstalk::Pointer(prefillDBCrosstalk());
0018 }
0019 
0020 void CSCFakeDBCrosstalk::setIntervalFor(const edm::eventsetup::EventSetupRecordKey &,
0021                                         const edm::IOVSyncValue &,
0022                                         edm::ValidityInterval &oValidity) {
0023   oValidity = edm::ValidityInterval(edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime());
0024 }