CMS 3D CMS Logo

CSCChamberMapValues.cc
Go to the documentation of this file.
1 #include <memory>
2 #include "boost/shared_ptr.hpp"
3 #include <fstream>
4 
9 
10 
12 {
13  //the following line is needed to tell the framework what
14  // data is being produced
16  findingRecord<CSCChamberMapRcd>();
17  //now do what ever other initialization is needed
18 }
19 
20 
22 {
23 
24  // do anything here that needs to be done at desctruction time
25  // (e.g. close files, deallocate resources etc.)
26 }
27 
28 
29 //
30 // member functions
31 //
32 
33 // ------------ method called to produce the data ------------
36 {
37  //need a new object so to not be deleted at exit
38  return ReturnType(fillChamberMap());
39 }
40 
42  edm::ValidityInterval & oValidity)
43  {
45 
46  }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:116
ReturnType produceChamberMap(const CSCChamberMapRcd &)
static CSCChamberMap * fillChamberMap()
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:19
static const IOVSyncValue & beginOfTime()
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
CSCChamberMapValues(const edm::ParameterSet &)
std::unique_ptr< CSCChamberMap > ReturnType