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 }
MessageLogger.h
RPCStripNoisesRcd
Definition: RPCStripNoisesRcd.h:24
edm::ValidityInterval
Definition: ValidityInterval.h:28
RPCStripNoisesRcd.h
infinity
const double infinity
Definition: CSCChamberFitter.cc:10
edm::eventsetup::EventSetupRecordKey
Definition: EventSetupRecordKey.h:30
RPCStripNoises
Definition: RPCStripNoises.h:10
edm::IOVSyncValue
Definition: IOVSyncValue.h:31
SiStripConstants.h
edm::ParameterSet
Definition: ParameterSet.h:36
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
hgcalDigitizer_cfi.noise
noise
Definition: hgcalDigitizer_cfi.py:150
RPCPerformanceESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition: RPCPerformanceESSource.cc:27
RPCPerformanceESSource::RPCPerformanceESSource
RPCPerformanceESSource(const edm::ParameterSet &)
Definition: RPCPerformanceESSource.cc:12
RPCPerformanceESSource.h
std
Definition: JetResolutionObject.h:76
RPCStripNoises.h
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
RPCPerformanceESSource::produce
std::unique_ptr< RPCStripNoises > produce(const RPCStripNoisesRcd &)
Definition: RPCPerformanceESSource.cc:19
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27