src
CalibTracker
SiPixelESProducers
interface
SiPixelFakeGenErrorDBObjectESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelESProducers_SiPixelFakeGenErrorDBObjectESSource_h
2
#define CalibTracker_SiPixelESProducers_SiPixelFakeGenErrorDBObjectESSource_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/SiPixelGenErrorDBObject.h
"
10
#include "
CondFormats/DataRecord/interface/SiPixelGenErrorDBObjectRcd.h
"
11
12
class
SiPixelFakeGenErrorDBObjectESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
13
public
:
14
SiPixelFakeGenErrorDBObjectESSource
(
const
edm::ParameterSet
&);
15
~SiPixelFakeGenErrorDBObjectESSource
()
override
;
16
17
typedef
std::vector<std::string>
vstring
;
18
19
virtual
std::unique_ptr<SiPixelGenErrorDBObject>
produce
(
const
SiPixelGenErrorDBObjectRcd
&);
20
21
protected
:
22
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
23
const
edm::IOVSyncValue
&,
24
edm::ValidityInterval
&)
override
;
25
26
private
:
27
vstring
GenErrorCalibrations_
;
28
float
version_
;
29
};
30
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGenErrorDBObjectESSource::GenErrorCalibrations_
vstring GenErrorCalibrations_
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:27
SiPixelFakeGenErrorDBObjectESSource::~SiPixelFakeGenErrorDBObjectESSource
~SiPixelFakeGenErrorDBObjectESSource() override
Definition:
SiPixelFakeGenErrorDBObjectESSource.cc:15
SiPixelFakeGenErrorDBObjectESSource
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:12
SiPixelFakeGenErrorDBObjectESSource::produce
virtual std::unique_ptr< SiPixelGenErrorDBObject > produce(const SiPixelGenErrorDBObjectRcd &)
Definition:
SiPixelFakeGenErrorDBObjectESSource.cc:17
SiPixelFakeGenErrorDBObjectESSource::SiPixelFakeGenErrorDBObjectESSource
SiPixelFakeGenErrorDBObjectESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGenErrorDBObjectESSource.cc:5
ESProducer.h
SiPixelFakeGenErrorDBObjectESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGenErrorDBObjectESSource.cc:95
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPixelGenErrorDBObjectRcd.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeGenErrorDBObjectESSource::vstring
std::vector< std::string > vstring
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:17
SiPixelFakeGenErrorDBObjectESSource::version_
float version_
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:28
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelGenErrorDBObject.h
SiPixelGenErrorDBObjectRcd
Definition:
SiPixelGenErrorDBObjectRcd.h:24
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14