test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCFakeDBGains.cc
Go to the documentation of this file.
5 
7 {
8  cndbGains = boost::shared_ptr<CSCDBGains>( prefillDBGains() );
9 
10  // the following line is needed to tell the framework what
11  // data is being produced
13  findingRecord<CSCDBGainsRcd>();
14 }
15 
16 
18 {
19 }
20 
21 // ------------ method called to produce the data ------------
24 {
25  return cndbGains;
26 }
27 
29  edm::ValidityInterval & oValidity)
30  {
32  }
boost::shared_ptr< CSCDBGains > Pointer
Pointer produceDBGains(const CSCDBGainsRcd &)
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
Definition: ESProducer.h:115
static CSCDBGains * prefillDBGains()
static const IOVSyncValue & beginOfTime()
CSCFakeDBGains(const edm::ParameterSet &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)