CalibTracker
SiStripESProducers
interface
SiStripPedestalsESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiStripESProducers_SiStripPedestalsESSource_H
2
#define CalibTracker_SiStripESProducers_SiStripPedestalsESSource_H
3
4
#include "
FWCore/Framework/interface/ESProducer.h
"
5
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include <memory>
8
9
class
SiStripPedestals
;
10
class
SiStripPedestalsRcd
;
11
17
class
SiStripPedestalsESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
18
public
:
19
SiStripPedestalsESSource
(
const
edm::ParameterSet
&);
20
~SiStripPedestalsESSource
()
override
{ ; }
21
22
virtual
std::unique_ptr<SiStripPedestals>
produce
(
const
SiStripPedestalsRcd
&);
23
24
protected
:
25
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
26
const
edm::IOVSyncValue
&,
27
edm::ValidityInterval
&)
override
;
28
29
private
:
30
SiStripPedestalsESSource
(
const
SiStripPedestalsESSource
&) =
delete
;
31
const
SiStripPedestalsESSource
&
operator=
(
const
SiStripPedestalsESSource
&) =
delete
;
32
33
virtual
SiStripPedestals
*
makePedestals
() = 0;
34
};
35
36
#endif // CalibTracker_SiStripESProducers_SiStripPedestalsESSource_H
SiStripPedestalsESSource::~SiStripPedestalsESSource
~SiStripPedestalsESSource() override
Definition:
SiStripPedestalsESSource.h:20
SiStripPedestalsESSource::makePedestals
virtual SiStripPedestals * makePedestals()=0
SiStripPedestalsESSource::operator=
const SiStripPedestalsESSource & operator=(const SiStripPedestalsESSource &)=delete
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SiStripPedestalsRcd
Definition:
SiStripCondDataRecords.h:43
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripPedestalsESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiStripPedestalsESSource.cc:33
SiStripPedestalsESSource::SiStripPedestalsESSource
SiStripPedestalsESSource(const edm::ParameterSet &)
Definition:
SiStripPedestalsESSource.cc:12
edm::ESProducer
Definition:
ESProducer.h:104
SiStripPedestalsESSource::produce
virtual std::unique_ptr< SiStripPedestals > produce(const SiStripPedestalsRcd &)
Definition:
SiStripPedestalsESSource.cc:19
SiStripPedestals
Definition:
SiStripPedestals.h:27
ParameterSet.h
SiStripPedestalsESSource
Pure virtual class for EventSetup sources of SiStripPedestals.
Definition:
SiStripPedestalsESSource.h:17
Generated for CMSSW Reference Manual by
1.8.16