CMS 3D CMS Logo

CSCNoiseMatrixDBConditions.cc
Go to the documentation of this file.
1 #include <memory>
2 #include <fstream>
3 
7 
9 {
10  //the following line is needed to tell the framework what
11  // data is being produced
12  // added by Zhen (changed since 1_2_0)
14  findingRecord<CSCDBNoiseMatrixRcd>();
15  //now do what ever other initialization is needed
16 }
17 
18 
20 {
21 
22  // do anything here that needs to be done at desctruction time
23  // (e.g. close files, deallocate resources etc.)
24 }
25 
26 
27 //
28 // member functions
29 //
30 
31 // ------------ method called to produce the data ------------
34 {
35  //need a new object so to not be deleted at exit
37 
38 }
39 
41  edm::ValidityInterval & oValidity)
42  {
44 
45  }
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static CSCDBNoiseMatrix * prefillDBNoiseMatrix()
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 const IOVSyncValue & beginOfTime()
std::unique_ptr< CSCDBNoiseMatrix > ReturnType
ReturnType produceDBNoiseMatrix(const CSCDBNoiseMatrixRcd &)
CSCNoiseMatrixDBConditions(const edm::ParameterSet &)