CMS 3D CMS Logo

CSCNoiseMatrixDBConditions.cc
Go to the documentation of this file.
1 #include <fstream>
2 #include <memory>
3 
7 
9  // the following line is needed to tell the framework what
10  // data is being produced
11  // added by Zhen (changed since 1_2_0)
13  findingRecord<CSCDBNoiseMatrixRcd>();
14  // now do what ever other initialization is needed
15 }
16 
18  // do anything here that needs to be done at desctruction time
19  // (e.g. close files, deallocate resources etc.)
20 }
21 
22 //
23 // member functions
24 //
25 
26 // ------------ method called to produce the data ------------
28  const CSCDBNoiseMatrixRcd &iRecord) {
29  // need a new object so to not be deleted at exit
31 }
32 
34  const edm::IOVSyncValue &,
35  edm::ValidityInterval &oValidity) {
37 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:124
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
static CSCDBNoiseMatrix * prefillDBNoiseMatrix()
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
std::unique_ptr< CSCDBNoiseMatrix > ReturnType
ReturnType produceDBNoiseMatrix(const CSCDBNoiseMatrixRcd &)
CSCNoiseMatrixDBConditions(const edm::ParameterSet &)