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
27
std::unique_ptr<SiStripQuality>
produce
(
const
SiStripQualityRcd
&);
28
29
private
:
30
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
31
const
edm::IOVSyncValue
& iov,
32
edm::ValidityInterval
& iValidity)
override
;
33
34
SiStripQualityFakeESSource
(
const
SiStripQualityFakeESSource
&) =
delete
;
35
const
SiStripQualityFakeESSource
&
operator=
(
const
SiStripQualityFakeESSource
&) =
delete
;
36
};
37
38
#endif
SiStripQualityFakeESSource::produce
std::unique_ptr< SiStripQuality > produce(const SiStripQualityRcd &)
Definition:
SiStripQualityFakeESSource.cc:26
SiStripQualityFakeESSource::SiStripQualityFakeESSource
SiStripQualityFakeESSource(const edm::ParameterSet &)
Definition:
SiStripQualityFakeESSource.cc:21
MessageLogger.h
SiStripQualityFakeESSource
Definition:
SiStripQualityFakeESSource.h:22
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiStripQualityFakeESSource::~SiStripQualityFakeESSource
~SiStripQualityFakeESSource() override
Definition:
SiStripQualityFakeESSource.h:25
SiStripQualityRcd
Definition:
SiStripDependentRecords.h:56
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
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
SiStripQualityFakeESSource::operator=
const SiStripQualityFakeESSource & operator=(const SiStripQualityFakeESSource &)=delete
ModuleFactory.h
SiStripQuality.h
SiStripQualityRcd.h
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
Generated for CMSSW Reference Manual by
1.8.16