CalibTracker
SiPixelESProducers
interface
SiPixelFakeGainOfflineESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelGainESProducers_SiPixelFakeGainOfflineESSource_h
2
#define CalibTracker_SiPixelGainESProducers_SiPixelFakeGainOfflineESSource_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelFakeGainESSource
6
// Class: SiPixelFakeGainOfflineESSource
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/SiPixelGainCalibrationOffline.h
"
29
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationOfflineRcd.h
"
30
//
31
// class decleration
32
//
33
34
class
SiPixelFakeGainOfflineESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
35
public
:
36
SiPixelFakeGainOfflineESSource
(
const
edm::ParameterSet
&);
37
~SiPixelFakeGainOfflineESSource
()
override
;
38
39
// typedef edm::ESProducts<> ReturnType;
40
41
virtual
std::unique_ptr<SiPixelGainCalibrationOffline>
produce
(
const
SiPixelGainCalibrationOfflineRcd
&);
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
SiPixelGainCalibrationOfflineRcd.h
SiPixelFakeGainOfflineESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainOfflineESSource.h:49
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
edm::FileInPath
Definition:
FileInPath.h:61
SiPixelFakeGainOfflineESSource
Definition:
SiPixelFakeGainOfflineESSource.h:34
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
SiPixelGainCalibrationOfflineRcd
Definition:
SiPixelGainCalibrationOfflineRcd.h:24
SiPixelGainCalibrationOffline.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelFakeGainOfflineESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGainOfflineESSource.cc:94
SiPixelFakeGainOfflineESSource::~SiPixelFakeGainOfflineESSource
~SiPixelFakeGainOfflineESSource() override
Definition:
SiPixelFakeGainOfflineESSource.cc:38
edm::ESProducer
Definition:
ESProducer.h:104
SiPixelFakeGainOfflineESSource::produce
virtual std::unique_ptr< SiPixelGainCalibrationOffline > produce(const SiPixelGainCalibrationOfflineRcd &)
Definition:
SiPixelFakeGainOfflineESSource.cc:43
ParameterSet.h
SiPixelFakeGainOfflineESSource::SiPixelFakeGainOfflineESSource
SiPixelFakeGainOfflineESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainOfflineESSource.cc:29
Generated for CMSSW Reference Manual by
1.8.16