CalibTracker
SiStripESProducers
interface
SiStripGainESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiStripESProducers_SiStripGainESSource_H
2
#define CalibTracker_SiStripESProducers_SiStripGainESSource_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
SiStripApvGain
;
10
class
SiStripApvGainRcd
;
11
17
class
SiStripGainESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
18
public
:
19
SiStripGainESSource
(
const
edm::ParameterSet
&);
20
~SiStripGainESSource
()
override
{ ; }
21
22
virtual
std::unique_ptr<SiStripApvGain>
produce
(
const
SiStripApvGainRcd
&);
23
24
protected
:
25
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
26
const
edm::IOVSyncValue
&,
27
edm::ValidityInterval
&)
override
;
28
29
private
:
30
SiStripGainESSource
(
const
SiStripGainESSource
&) =
delete
;
31
const
SiStripGainESSource
&
operator=
(
const
SiStripGainESSource
&) =
delete
;
32
33
virtual
SiStripApvGain
*
makeGain
() = 0;
34
};
35
36
#endif // CalibTracker_SiStripESProducers_SiStripGainESSource_H
SiStripGainESSource::produce
virtual std::unique_ptr< SiStripApvGain > produce(const SiStripApvGainRcd &)
Definition:
SiStripGainESSource.cc:19
SiStripGainESSource
Pure virtual class for EventSetup sources of SiStripApvGain.
Definition:
SiStripGainESSource.h:17
SiStripGainESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiStripGainESSource.cc:33
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
SiStripGainESSource::~SiStripGainESSource
~SiStripGainESSource() override
Definition:
SiStripGainESSource.h:20
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiStripGainESSource::SiStripGainESSource
SiStripGainESSource(const edm::ParameterSet &)
Definition:
SiStripGainESSource.cc:12
SiStripGainESSource::operator=
const SiStripGainESSource & operator=(const SiStripGainESSource &)=delete
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiStripApvGainRcd
Definition:
SiStripCondDataRecords.h:8
edm::ESProducer
Definition:
ESProducer.h:104
SiStripGainESSource::makeGain
virtual SiStripApvGain * makeGain()=0
ParameterSet.h
SiStripApvGain
Definition:
SiStripApvGain.h:25
Generated for CMSSW Reference Manual by
1.8.16