src
CalibTracker
SiStripESProducers
plugins
fake
SiStripQualityFakeESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiStripESProducers_SiStripQualityFakeESSource
2
#define CalibTracker_SiStripESProducers_SiStripQualityFakeESSource
3
4
// system include files
5
#include <memory>
6
7
// user include files
8
#include "
FWCore/Framework/interface/ModuleFactory.h
"
9
#include "
FWCore/Framework/interface/ESProducer.h
"
10
11
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
12
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
13
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
14
15
#include "
CalibFormats/SiStripObjects/interface/SiStripQuality.h
"
16
#include "
CalibTracker/Records/interface/SiStripQualityRcd.h
"
17
18
//
19
// class declaration
20
//
21
22
class
SiStripQualityFakeESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
23
public
:
24
SiStripQualityFakeESSource
(
const
edm::ParameterSet
&);
25
~SiStripQualityFakeESSource
()
override
{};
26
SiStripQualityFakeESSource
(
const
SiStripQualityFakeESSource
&) =
delete
;
27
const
SiStripQualityFakeESSource
&
operator=
(
const
SiStripQualityFakeESSource
&) =
delete
;
28
29
std::unique_ptr<SiStripQuality>
produce
(
const
SiStripQualityRcd
&);
30
31
private
:
32
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
33
const
edm::IOVSyncValue
& iov,
34
edm::ValidityInterval
& iValidity)
override
;
35
};
36
37
#endif
ModuleFactory.h
SiStripQualityFakeESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &iov, edm::ValidityInterval &iValidity) override
Definition:
SiStripQualityFakeESSource.cc:33
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiStripQualityRcd.h
SiStripQualityRcd
Definition:
SiStripDependentRecords.h:51
MessageLogger.h
SiStripQualityFakeESSource::operator=
const SiStripQualityFakeESSource & operator=(const SiStripQualityFakeESSource &)=delete
SiStripQualityFakeESSource::produce
std::unique_ptr< SiStripQuality > produce(const SiStripQualityRcd &)
Definition:
SiStripQualityFakeESSource.cc:27
SiStripQualityFakeESSource::~SiStripQualityFakeESSource
~SiStripQualityFakeESSource() override
Definition:
SiStripQualityFakeESSource.h:25
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiStripQuality.h
SiStripQualityFakeESSource
Definition:
SiStripQualityFakeESSource.h:22
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:48
SiStripQualityFakeESSource::SiStripQualityFakeESSource
SiStripQualityFakeESSource(const edm::ParameterSet &)
Definition:
SiStripQualityFakeESSource.cc:22
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14