CalibTracker
SiStripESProducers
plugins
fake
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
19
#include "
CalibTracker/SiStripESProducers/plugins/fake/SiStripQualityFakeESSource.h
"
20
21
SiStripQualityFakeESSource::SiStripQualityFakeESSource
(
const
edm::ParameterSet
& iConfig) {
22
setWhatProduced
(
this
);
23
findingRecord<SiStripQualityRcd>();
24
}
25
26
std::unique_ptr<SiStripQuality>
SiStripQualityFakeESSource::produce
(
const
SiStripQualityRcd
& iRecord) {
27
return
std::make_unique<SiStripQuality>();
28
}
29
30
void
SiStripQualityFakeESSource::setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
31
const
edm::IOVSyncValue
& iov,
32
edm::ValidityInterval
& iValidity) {
33
edm::ValidityInterval
infinity
(iov.
beginOfTime
(), iov.
endOfTime
());
34
iValidity =
infinity
;
35
}
SiStripQualityFakeESSource::produce
std::unique_ptr< SiStripQuality > produce(const SiStripQualityRcd &)
Definition:
SiStripQualityFakeESSource.cc:26
SiStripQualityFakeESSource.h
SiStripQualityFakeESSource::SiStripQualityFakeESSource
SiStripQualityFakeESSource(const edm::ParameterSet &)
Definition:
SiStripQualityFakeESSource.cc:21
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:138
edm::ValidityInterval
Definition:
ValidityInterval.h:28
infinity
const double infinity
Definition:
CSCChamberFitter.cc:10
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiStripQualityRcd
Definition:
SiStripDependentRecords.h:56
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
SiStripQualityFakeESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
Definition:
SiStripQualityFakeESSource.cc:30
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::IOVSyncValue::endOfTime
static const IOVSyncValue & endOfTime()
Definition:
IOVSyncValue.cc:82
edm::IOVSyncValue::beginOfTime
static const IOVSyncValue & beginOfTime()
Definition:
IOVSyncValue.cc:88
Generated for CMSSW Reference Manual by
1.8.16