Main Page
Namespaces
Classes
Package Documentation
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
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/SiPixelGainCalibrationOffline.h
"
30
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationOfflineRcd.h
"
31
//
32
// class decleration
33
//
34
35
class
SiPixelFakeGainOfflineESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
36
37
public
:
38
SiPixelFakeGainOfflineESSource
(
const
edm::ParameterSet
&);
39
~SiPixelFakeGainOfflineESSource
()
override
;
40
41
// typedef edm::ESProducts<> ReturnType;
42
43
virtual
std::unique_ptr<SiPixelGainCalibrationOffline>
produce
(
const
SiPixelGainCalibrationOfflineRcd
&);
44
45
protected
:
46
47
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
48
const
edm::IOVSyncValue
&,
49
edm::ValidityInterval
& )
override
;
50
51
52
private
:
53
54
edm::FileInPath
fp_
;
55
56
};
57
#endif
SiPixelFakeGainOfflineESSource
Definition:
SiPixelFakeGainOfflineESSource.h:35
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGainOfflineESSource::~SiPixelFakeGainOfflineESSource
~SiPixelFakeGainOfflineESSource() override
Definition:
SiPixelFakeGainOfflineESSource.cc:39
SiPixelGainCalibrationOfflineRcd
Definition:
SiPixelGainCalibrationOfflineRcd.h:24
SiPixelFakeGainOfflineESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGainOfflineESSource.cc:100
SiPixelGainCalibrationOfflineRcd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
SiPixelGainCalibrationOffline.h
edm::FileInPath
Definition:
FileInPath.h:68
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SiPixelFakeGainOfflineESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainOfflineESSource.h:54
SiPixelFakeGainOfflineESSource::SiPixelFakeGainOfflineESSource
SiPixelFakeGainOfflineESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainOfflineESSource.cc:29
SiPixelFakeGainOfflineESSource::produce
virtual std::unique_ptr< SiPixelGainCalibrationOffline > produce(const SiPixelGainCalibrationOfflineRcd &)
Definition:
SiPixelFakeGainOfflineESSource.cc:47
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11