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 
14  setWhatProduced( this );
15  findingRecord<RPCStripNoisesRcd>();
16 }
17 
18 // -----------------------------------------------------------------------------
19 //
20 unique_ptr<RPCStripNoises> RPCPerformanceESSource::produce( const RPCStripNoisesRcd&) {
21 
22  RPCStripNoises* noise = makeNoise();
23 
24  return unique_ptr<RPCStripNoises>(noise);
25 
26 }
27 
28 // -----------------------------------------------------------------------------
29 //
31  const edm::IOVSyncValue& iosv,
32  edm::ValidityInterval& oValidity ) {
34  oValidity = infinity;
35 }
36 
37 
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
RPCPerformanceESSource(const edm::ParameterSet &)
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:97
std::unique_ptr< RPCStripNoises > produce(const RPCStripNoisesRcd &)
static const IOVSyncValue & beginOfTime()
const double infinity