CMS 3D CMS Logo

SiStripQualityFakeESSource.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: SiStripQualityFakeESSource
4 // Class: SiStripQualityFakeESSource
5 //
13 //
14 // Original Author: Domenico GIORDANO
15 // Created: Wed Oct 3 11:46:09 CEST 2007
16 //
17 //
18 
20 
22 {
23  setWhatProduced(this);
24  findingRecord<SiStripQualityRcd>();
25 }
26 
27 
28 std::unique_ptr<SiStripQuality> SiStripQualityFakeESSource::produce(const SiStripQualityRcd& iRecord)
29 {
30  return std::make_unique<SiStripQuality>();
31 }
32 
34  const edm::IOVSyncValue& iov,
35  edm::ValidityInterval& iValidity){
37  iValidity = infinity;
38 }
39 
40 
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:124
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
std::unique_ptr< SiStripQuality > produce(const SiStripQualityRcd &)
static const IOVSyncValue & endOfTime()
Definition: IOVSyncValue.cc:82
static const IOVSyncValue & beginOfTime()
Definition: IOVSyncValue.cc:88
const double infinity
SiStripQualityFakeESSource(const edm::ParameterSet &)