CalibTracker
SiPixelESProducers
interface
SiPixelFakeQualityESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelESProducers_SiPixelFakeQualityESSource_h
2
#define CalibTracker_SiPixelESProducers_SiPixelFakeQualityESSource_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelFakeQualityESSource
6
// Class: SiPixelFakeQualityESSource
7
//
15
//
16
// Original Author: Bernadette Heyburn
17
// Created: Oct. 21st, 2008
18
//
19
//
20
21
// system include files
22
#include <memory>
23
24
// user include files
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Framework/interface/ESProducer.h
"
27
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
28
#include "
CondFormats/SiPixelObjects/interface/SiPixelQuality.h
"
29
#include "
CondFormats/DataRecord/interface/SiPixelQualityFromDbRcd.h
"
30
// #include "CondTools/SiPixel/interface/SiPixelGainCalibrationService.h"
31
//
32
// class decleration
33
//
34
35
class
SiPixelFakeQualityESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
36
public
:
37
SiPixelFakeQualityESSource
(
const
edm::ParameterSet
&);
38
~SiPixelFakeQualityESSource
()
override
;
39
40
// typedef edm::ESProducts<> ReturnType;
41
42
virtual
std::unique_ptr<SiPixelQuality>
produce
(
const
SiPixelQualityFromDbRcd
&);
43
44
protected
:
45
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
46
const
edm::IOVSyncValue
&,
47
edm::ValidityInterval
&)
override
;
48
49
private
:
50
edm::FileInPath
fp_
;
51
};
52
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeQualityESSource::~SiPixelFakeQualityESSource
~SiPixelFakeQualityESSource() override
Definition:
SiPixelFakeQualityESSource.cc:38
SiPixelQualityFromDbRcd.h
SiPixelFakeQualityESSource::SiPixelFakeQualityESSource
SiPixelFakeQualityESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeQualityESSource.cc:29
SiPixelFakeQualityESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeQualityESSource.cc:62
ESProducer.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPixelFakeQualityESSource::produce
virtual std::unique_ptr< SiPixelQuality > produce(const SiPixelQualityFromDbRcd &)
Definition:
SiPixelFakeQualityESSource.cc:43
SiPixelQuality.h
edm::FileInPath
Definition:
FileInPath.h:61
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeQualityESSource
Definition:
SiPixelFakeQualityESSource.h:35
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelFakeQualityESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeQualityESSource.h:50
SiPixelQualityFromDbRcd
Definition:
SiPixelQualityFromDbRcd.h:24
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14