CMS 3D CMS Logo

RPCPerformanceESSource.cc
Go to the documentation of this file.
6 #include <iostream>
7 
8 using namespace std;
9 
10 // -----------------------------------------------------------------------------
11 //
13  setWhatProduced(this);
14  findingRecord<RPCStripNoisesRcd>();
15 }
16 
17 // -----------------------------------------------------------------------------
18 //
19 unique_ptr<RPCStripNoises> RPCPerformanceESSource::produce(const RPCStripNoisesRcd &) {
20  RPCStripNoises *noise = makeNoise();
21 
22  return unique_ptr<RPCStripNoises>(noise);
23 }
24 
25 // -----------------------------------------------------------------------------
26 //
28  const edm::IOVSyncValue &iosv,
29  edm::ValidityInterval &oValidity) {
31  oValidity = infinity;
32 }
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
RPCPerformanceESSource(const edm::ParameterSet &)
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
std::unique_ptr< RPCStripNoises > produce(const RPCStripNoisesRcd &)
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
const double infinity