CMS 3D CMS Logo

CSCBadWiresConditions.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
12  findingRecord<CSCBadWiresRcd>();
13  // now do what ever other initialization is needed
14 }
15 
17  // do anything here that needs to be done at desctruction time
18  // (e.g. close files, deallocate resources etc.)
19 }
20 
21 //
22 // member functions
23 //
24 
25 // ------------ method called to produce the data ------------
27  // need a new object so to not be deleted at exit
29 }
30 
32  const edm::IOVSyncValue &,
33  edm::ValidityInterval &oValidity) {
35 }
CSCBadWiresConditions::produceBadWires
ReturnType produceBadWires(const CSCBadWiresRcd &)
Definition: CSCBadWiresConditions.cc:26
CSCBadWiresConditions::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: CSCBadWiresConditions.cc:31
CSCBadWiresConditions::prefillBadWires
static CSCBadWires * prefillBadWires()
Definition: CSCBadWiresConditions.h:44
CSCBadWires.h
CSCBadWiresConditions::ReturnType
std::unique_ptr< CSCBadWires > ReturnType
Definition: CSCBadWiresConditions.h:27
CSCBadWiresConditions.h
CSCBadWiresConditions::~CSCBadWiresConditions
~CSCBadWiresConditions() override
Definition: CSCBadWiresConditions.cc:16
CSCBadWiresRcd.h
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:138
edm::ValidityInterval
Definition: ValidityInterval.h:28
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
CSCBadWiresRcd
Definition: CSCBadWiresRcd.h:5
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
edm::ParameterSet
Definition: ParameterSet.h:36
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
CSCBadWiresConditions::CSCBadWiresConditions
CSCBadWiresConditions(const edm::ParameterSet &)
Definition: CSCBadWiresConditions.cc:8
cond::ValidityInterval
std::pair< Time_t, Time_t > ValidityInterval
Definition: Time.h:17
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88