Main Page
Namespaces
Classes
Package Documentation
src
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
22
// system include files
23
#include <memory>
24
25
// user include files
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
#include "
FWCore/Framework/interface/ESProducer.h
"
28
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
29
#include "
CondFormats/SiPixelObjects/interface/SiPixelQuality.h
"
30
#include "
CondFormats/DataRecord/interface/SiPixelQualityFromDbRcd.h
"
31
// #include "CondTools/SiPixel/interface/SiPixelGainCalibrationService.h"
32
//
33
// class decleration
34
//
35
36
class
SiPixelFakeQualityESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
37
38
public
:
39
SiPixelFakeQualityESSource
(
const
edm::ParameterSet
&);
40
~SiPixelFakeQualityESSource
()
override
;
41
42
// typedef edm::ESProducts<> ReturnType;
43
44
virtual
std::unique_ptr<SiPixelQuality>
produce
(
const
SiPixelQualityFromDbRcd
&);
45
46
protected
:
47
48
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
49
const
edm::IOVSyncValue
&,
50
edm::ValidityInterval
& )
override
;
51
52
53
private
:
54
55
edm::FileInPath
fp_
;
56
57
};
58
#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:66
edm::ESProducer
Definition:
ESProducer.h:99
ParameterSet.h
SiPixelFakeQualityESSource::produce
virtual std::unique_ptr< SiPixelQuality > produce(const SiPixelQualityFromDbRcd &)
Definition:
SiPixelFakeQualityESSource.cc:46
SiPixelQuality.h
edm::FileInPath
Definition:
FileInPath.h:64
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeQualityESSource
Definition:
SiPixelFakeQualityESSource.h:36
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelFakeQualityESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeQualityESSource.h:55
SiPixelQualityFromDbRcd
Definition:
SiPixelQualityFromDbRcd.h:24
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11