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 
21 
23  setWhatProduced(this);
24  findingRecord<SiStripQualityRcd>();
25 }
26 
27 std::unique_ptr<SiStripQuality> SiStripQualityFakeESSource::produce(const SiStripQualityRcd& iRecord) {
28  const auto detInfo =
30  return std::make_unique<SiStripQuality>(detInfo);
31 }
32 
34  const edm::IOVSyncValue& iov,
35  edm::ValidityInterval& iValidity) {
37  iValidity = infinity;
38 }
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition: ESProducer.h:166
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
SiStripDetInfo read(std::string filePath)
static constexpr char const *const kDefaultFile
SiStripQualityFakeESSource(const edm::ParameterSet &)