test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
17  findingRecord<CSCChamberMapRcd>();
18  //now do what ever other initialization is needed
19 }
20 
21 
23 {
24 
25  // do anything here that needs to be done at desctruction time
26  // (e.g. close files, deallocate resources etc.)
27  delete mapObj;
28 }
29 
30 
31 //
32 // member functions
33 //
34 
35 // ------------ method called to produce the data ------------
38 {
39  //need a new object so to not be deleted at exit
40  CSCChamberMap* mydata=new CSCChamberMap( *mapObj );
41  return mydata;
42 
43 }
44 
46  edm::ValidityInterval & oValidity)
47  {
49 
50  }
ReturnType produceChamberMap(const CSCChamberMapRcd &)
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
static CSCChamberMap * fillChamberMap()
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()
CSCChamberMap * mapObj
CSCChamberMapValues(const edm::ParameterSet &)