CMS 3D CMS Logo

CSCDDUMapValues.cc
Go to the documentation of this file.
1 #include <memory>
2 
3 #include <fstream>
4 
9 
11  //the following line is needed to tell the framework what
12  // data is being produced
14  findingRecord<CSCDDUMapRcd>();
15  //now do what ever other initialization is needed
16 }
17 
19  // do anything here that needs to be done at desctruction time
20  // (e.g. close files, deallocate resources etc.)
21 }
22 
23 //
24 // member functions
25 //
26 
27 // ------------ method called to produce the data ------------
29  //need a new object so to not be deleted at exit
30  return ReturnType(fillDDUMap());
31 }
32 
34  const edm::IOVSyncValue&,
35  edm::ValidityInterval& oValidity) {
37 }
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:163
edm::ValidityInterval
Definition: ValidityInterval.h:28
CSCDDUMapValues::fillDDUMap
static CSCDDUMap * fillDDUMap()
Definition: CSCDDUMapValues.h:45
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
CSCDDUMap.h
CSCDDUMapValues::ReturnType
std::unique_ptr< CSCDDUMap > ReturnType
Definition: CSCDDUMapValues.h:27
CSCDDUMapValues::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: CSCDDUMapValues.cc:33
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
edm::ParameterSet
Definition: ParameterSet.h:47
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
CSCDDUMapRcd
Definition: CSCDDUMapRcd.h:5
CSCDDUMapValues::~CSCDDUMapValues
~CSCDDUMapValues() override
Definition: CSCDDUMapValues.cc:18
CSCDDUMapValues.h
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
CSCDDUMapValues::CSCDDUMapValues
CSCDDUMapValues(const edm::ParameterSet &)
Definition: CSCDDUMapValues.cc:10
CSCDDUMapValues::produceDDUMap
CSCDDUMapValues::ReturnType produceDDUMap(const CSCDDUMapRcd &)
Definition: CSCDDUMapValues.cc:28
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
CSCMap1.h
CSCDDUMapRcd.h