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