Main Page
Namespaces
Classes
Package Documentation
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
14
public
:
15
SiPixelFakeTemplateDBObjectESSource
(
const
edm::ParameterSet
&);
16
~SiPixelFakeTemplateDBObjectESSource
()
override
;
17
18
typedef
std::vector<std::string>
vstring
;
19
20
virtual
std::unique_ptr<SiPixelTemplateDBObject>
produce
(
const
SiPixelTemplateDBObjectRcd
&);
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
templateCalibrations_
;
31
float
version_
;
32
33
};
34
#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:18
SiPixelTemplateDBObjectRcd
Definition:
SiPixelTemplateDBObjectRcd.h:24
SiPixelFakeTemplateDBObjectESSource::version_
float version_
Definition:
SiPixelFakeTemplateDBObjectESSource.h:31
edm::ESProducer
Definition:
ESProducer.h:99
ParameterSet.h
SiPixelFakeTemplateDBObjectESSource::SiPixelFakeTemplateDBObjectESSource
SiPixelFakeTemplateDBObjectESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeTemplateDBObjectESSource.cc:5
SiPixelFakeTemplateDBObjectESSource::templateCalibrations_
vstring templateCalibrations_
Definition:
SiPixelFakeTemplateDBObjectESSource.h:30
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeTemplateDBObjectESSource::produce
virtual std::unique_ptr< SiPixelTemplateDBObject > produce(const SiPixelTemplateDBObjectRcd &)
Definition:
SiPixelFakeTemplateDBObjectESSource.cc:19
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SiPixelTemplateDBObject.h
SiPixelTemplateDBObjectRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelFakeTemplateDBObjectESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeTemplateDBObjectESSource.cc:90
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11