src
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
SiPixelFakeGainOfflineESSource
Definition:
SiPixelFakeGainOfflineESSource.h:34
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGainOfflineESSource::~SiPixelFakeGainOfflineESSource
~SiPixelFakeGainOfflineESSource() override
Definition:
SiPixelFakeGainOfflineESSource.cc:38
SiPixelGainCalibrationOfflineRcd
Definition:
SiPixelGainCalibrationOfflineRcd.h:24
SiPixelFakeGainOfflineESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGainOfflineESSource.cc:88
ESProducer.h
SiPixelGainCalibrationOfflineRcd.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPixelGainCalibrationOffline.h
edm::FileInPath
Definition:
FileInPath.h:61
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SiPixelFakeGainOfflineESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainOfflineESSource.h:49
SiPixelFakeGainOfflineESSource::SiPixelFakeGainOfflineESSource
SiPixelFakeGainOfflineESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainOfflineESSource.cc:29
SiPixelFakeGainOfflineESSource::produce
virtual std::unique_ptr< SiPixelGainCalibrationOffline > produce(const SiPixelGainCalibrationOfflineRcd &)
Definition:
SiPixelFakeGainOfflineESSource.cc:43
edm::ParameterSet
Definition:
ParameterSet.h:48
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.14