CalibTracker
SiPixelESProducers
interface
SiPixelFakeCPEGenericErrorParmESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelESProducers_SiPixelFakeCPEGenericErrorParmESSource_h
2
#define CalibTracker_SiPixelESProducers_SiPixelFakeCPEGenericErrorParmESSource_h
3
4
#include <memory>
5
6
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
7
#include "
FWCore/Framework/interface/ESProducer.h
"
8
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
9
#include "
CondFormats/SiPixelObjects/interface/SiPixelCPEGenericErrorParm.h
"
10
#include "
CondFormats/DataRecord/interface/SiPixelCPEGenericErrorParmRcd.h
"
11
12
class
SiPixelFakeCPEGenericErrorParmESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
13
public
:
14
SiPixelFakeCPEGenericErrorParmESSource
(
const
edm::ParameterSet
&);
15
~SiPixelFakeCPEGenericErrorParmESSource
()
override
;
16
17
virtual
std::unique_ptr<SiPixelCPEGenericErrorParm>
produce
(
const
SiPixelCPEGenericErrorParmRcd
&);
18
19
protected
:
20
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
21
const
edm::IOVSyncValue
&,
22
edm::ValidityInterval
&)
override
;
23
24
private
:
25
edm::FileInPath
fp_
;
26
double
version_
;
27
};
28
#endif
SiPixelCPEGenericErrorParmRcd
Definition:
SiPixelCPEGenericErrorParmRcd.h:24
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeCPEGenericErrorParmESSource::version_
double version_
Definition:
SiPixelFakeCPEGenericErrorParmESSource.h:26
edm::FileInPath
Definition:
FileInPath.h:61
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
SiPixelFakeCPEGenericErrorParmESSource
Definition:
SiPixelFakeCPEGenericErrorParmESSource.h:12
EventSetupRecordIntervalFinder.h
SiPixelFakeCPEGenericErrorParmESSource::produce
virtual std::unique_ptr< SiPixelCPEGenericErrorParm > produce(const SiPixelCPEGenericErrorParmRcd &)
Definition:
SiPixelFakeCPEGenericErrorParmESSource.cc:15
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelFakeCPEGenericErrorParmESSource::~SiPixelFakeCPEGenericErrorParmESSource
~SiPixelFakeCPEGenericErrorParmESSource() override
Definition:
SiPixelFakeCPEGenericErrorParmESSource.cc:13
SiPixelFakeCPEGenericErrorParmESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeCPEGenericErrorParmESSource.cc:25
SiPixelFakeCPEGenericErrorParmESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeCPEGenericErrorParmESSource.h:25
SiPixelCPEGenericErrorParmRcd.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPixelFakeCPEGenericErrorParmESSource::SiPixelFakeCPEGenericErrorParmESSource
SiPixelFakeCPEGenericErrorParmESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeCPEGenericErrorParmESSource.cc:4
SiPixelCPEGenericErrorParm.h
Generated for CMSSW Reference Manual by
1.8.16