CalibTracker
SiPixelESProducers
interface
SiPixelFakeGainForHLTESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelGainForHLTESProducers_SiPixelFakeGainForHLTESSource_h
2
#define CalibTracker_SiPixelGainForHLTESProducers_SiPixelFakeGainForHLTESSource_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelFakeGainForHLTESSource
6
// Class: SiPixelFakeGainForHLTESSource
7
//
15
//
16
// Original Author: Vincenzo Chiochia
17
// Created: Tue 8 12:31:25 CEST 2007
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/SiPixelGainCalibrationForHLT.h
"
29
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationForHLTRcd.h
"
30
//
31
// class decleration
32
//
33
34
class
SiPixelFakeGainForHLTESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
35
public
:
36
SiPixelFakeGainForHLTESSource
(
const
edm::ParameterSet
&);
37
~SiPixelFakeGainForHLTESSource
()
override
;
38
39
// typedef edm::ESProducts<> ReturnType;
40
41
virtual
std::unique_ptr<SiPixelGainCalibrationForHLT>
produce
(
const
SiPixelGainCalibrationForHLTRcd
&);
42
43
protected
:
44
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
45
const
edm::IOVSyncValue
&,
46
edm::ValidityInterval
&)
override
;
47
48
private
:
49
edm::FileInPath
fp_
;
50
};
51
#endif
SiPixelFakeGainForHLTESSource
Definition:
SiPixelFakeGainForHLTESSource.h:34
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelGainCalibrationForHLTRcd.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPixelFakeGainForHLTESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGainForHLTESSource.cc:96
edm::FileInPath
Definition:
FileInPath.h:61
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelGainCalibrationForHLT.h
SiPixelFakeGainForHLTESSource::produce
virtual std::unique_ptr< SiPixelGainCalibrationForHLT > produce(const SiPixelGainCalibrationForHLTRcd &)
Definition:
SiPixelFakeGainForHLTESSource.cc:43
ESProducer.h
SiPixelFakeGainForHLTESSource::~SiPixelFakeGainForHLTESSource
~SiPixelFakeGainForHLTESSource() override
Definition:
SiPixelFakeGainForHLTESSource.cc:38
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SiPixelGainCalibrationForHLTRcd
Definition:
SiPixelGainCalibrationForHLTRcd.h:24
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelFakeGainForHLTESSource::SiPixelFakeGainForHLTESSource
SiPixelFakeGainForHLTESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainForHLTESSource.cc:29
SiPixelFakeGainForHLTESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainForHLTESSource.h:49
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14