CMS 3D CMS Logo

CSCFakeDBPedestals.cc
Go to the documentation of this file.
5 
7 {
8  cndbPedestals = std::shared_ptr<CSCDBPedestals> ( prefillDBPedestals() );
9 
10  //the following line is needed to tell the framework what
11  // data is being produced
13  findingRecord<CSCDBPedestalsRcd>();
14 }
15 
16 
18 {
19 }
20 
21 // ------------ method called to produce the data ------------
24 {
25  return cndbPedestals;
26 }
27 
29  edm::ValidityInterval & oValidity)
30  {
32 
33  }
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
std::shared_ptr< CSCDBPedestals > Pointer
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
static const IOVSyncValue & beginOfTime()
static CSCDBPedestals * prefillDBPedestals()
~CSCFakeDBPedestals() override
CSCFakeDBPedestals(const edm::ParameterSet &)
Pointer produceDBPedestals(const CSCDBPedestalsRcd &)