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