src
CalibMuon
RPCCalibration
interface
RPCPerformanceESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_RPCCalibration_RPCPerformanceESSource_H
2
#define CalibTracker_RPCCalibration_RPCPerformanceESSource_H
3
4
#include "
FWCore/Framework/interface/ESHandle.h
"
5
#include "
FWCore/Framework/interface/ESProducer.h
"
6
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
7
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
8
#include <memory>
9
10
class
RPCStripNoises
;
11
class
RPCStripNoisesRcd
;
12
18
class
RPCPerformanceESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
19
public
:
20
RPCPerformanceESSource
(
const
edm::ParameterSet
&);
21
~RPCPerformanceESSource
()
override
{ ; }
22
23
std::unique_ptr<RPCStripNoises>
produce
(
const
RPCStripNoisesRcd
&);
24
25
// protected:
26
27
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
28
const
edm::IOVSyncValue
&,
29
edm::ValidityInterval
&)
override
;
30
31
// private:
32
33
RPCPerformanceESSource
(
const
RPCPerformanceESSource
&);
34
const
RPCPerformanceESSource
&
operator=
(
const
RPCPerformanceESSource
&);
35
36
virtual
RPCStripNoises
*
makeNoise
() = 0;
37
};
38
39
#endif // CalibTracker_RPCCalibration_RPCPerformanceESSource_H
edm::ValidityInterval
Definition:
ValidityInterval.h:28
RPCPerformanceESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
RPCPerformanceESSource.cc:27
RPCPerformanceESSource::RPCPerformanceESSource
RPCPerformanceESSource(const edm::ParameterSet &)
Definition:
RPCPerformanceESSource.cc:12
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
RPCPerformanceESSource::produce
std::unique_ptr< RPCStripNoises > produce(const RPCStripNoisesRcd &)
Definition:
RPCPerformanceESSource.cc:19
ESHandle.h
RPCPerformanceESSource::makeNoise
virtual RPCStripNoises * makeNoise()=0
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
RPCPerformanceESSource::~RPCPerformanceESSource
~RPCPerformanceESSource() override
Definition:
RPCPerformanceESSource.h:21
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
RPCStripNoisesRcd
Definition:
RPCStripNoisesRcd.h:24
edm::ParameterSet
Definition:
ParameterSet.h:47
RPCPerformanceESSource
Pure virtual class for EventSetup sources of RPCStripNoises.
Definition:
RPCPerformanceESSource.h:18
RPCPerformanceESSource::operator=
const RPCPerformanceESSource & operator=(const RPCPerformanceESSource &)
RPCStripNoises
Definition:
RPCStripNoises.h:10
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14