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