Main Page
Namespaces
Classes
Package Documentation
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
14
public
:
15
SiPixelFakeGenErrorDBObjectESSource
(
const
edm::ParameterSet
&);
16
~SiPixelFakeGenErrorDBObjectESSource
()
override
;
17
18
typedef
std::vector<std::string>
vstring
;
19
20
virtual
std::unique_ptr<SiPixelGenErrorDBObject>
produce
(
const
SiPixelGenErrorDBObjectRcd
&);
21
22
protected
:
23
24
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
25
const
edm::IOVSyncValue
&,
26
edm::ValidityInterval
& )
override
;
27
28
private
:
29
30
vstring
GenErrorCalibrations_
;
31
float
version_
;
32
33
};
34
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGenErrorDBObjectESSource::GenErrorCalibrations_
vstring GenErrorCalibrations_
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:30
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:19
SiPixelFakeGenErrorDBObjectESSource::SiPixelFakeGenErrorDBObjectESSource
SiPixelFakeGenErrorDBObjectESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGenErrorDBObjectESSource.cc:5
SiPixelFakeGenErrorDBObjectESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGenErrorDBObjectESSource.cc:90
edm::ESProducer
Definition:
ESProducer.h:99
ParameterSet.h
SiPixelGenErrorDBObjectRcd.h
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeGenErrorDBObjectESSource::vstring
std::vector< std::string > vstring
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:18
SiPixelFakeGenErrorDBObjectESSource::version_
float version_
Definition:
SiPixelFakeGenErrorDBObjectESSource.h:31
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelGenErrorDBObject.h
SiPixelGenErrorDBObjectRcd
Definition:
SiPixelGenErrorDBObjectRcd.h:24
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11