CMS 3D CMS Logo

CSCFakeDBPedestals.cc
Go to the documentation of this file.
5 
7  // the following line is needed to tell the framework what
8  // data is being produced
10  findingRecord<CSCDBPedestalsRcd>();
11 }
12 
14 
15 // ------------ method called to produce the data ------------
17  Pointer cndbPedestals(prefillDBPedestals());
18  return cndbPedestals;
19 }
20 
22  const edm::IOVSyncValue &,
23  edm::ValidityInterval &oValidity) {
25 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:124
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
static CSCDBPedestals * prefillDBPedestals()
~CSCFakeDBPedestals() override
CSCFakeDBPedestals(const edm::ParameterSet &)
Pointer produceDBPedestals(const CSCDBPedestalsRcd &)
std::unique_ptr< CSCDBPedestals > Pointer