Main Page
Namespaces
Classes
Package Documentation
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
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/SiPixelGainCalibration.h
"
30
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationRcd.h
"
31
//
32
// class decleration
33
//
34
35
class
SiPixelFakeGainESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
36
37
public
:
38
SiPixelFakeGainESSource
(
const
edm::ParameterSet
&);
39
~SiPixelFakeGainESSource
()
override
;
40
41
// typedef edm::ESProducts<> ReturnType;
42
43
virtual
std::unique_ptr<SiPixelGainCalibration>
produce
(
const
SiPixelGainCalibrationRcd
&);
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
SiPixelFakeGainESSource
Definition:
SiPixelFakeGainESSource.h:35
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGainESSource::SiPixelFakeGainESSource
SiPixelFakeGainESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainESSource.cc:29
SiPixelFakeGainESSource::~SiPixelFakeGainESSource
~SiPixelFakeGainESSource() override
Definition:
SiPixelFakeGainESSource.cc:39
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
SiPixelFakeGainESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainESSource.h:54
SiPixelFakeGainESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGainESSource.cc:89
edm::FileInPath
Definition:
FileInPath.h:68
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
SiPixelFakeGainESSource::produce
virtual std::unique_ptr< SiPixelGainCalibration > produce(const SiPixelGainCalibrationRcd &)
Definition:
SiPixelFakeGainESSource.cc:47
SiPixelGainCalibrationRcd.h
SiPixelGainCalibration.h
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelGainCalibrationRcd
Definition:
SiPixelGainCalibrationRcd.h:24
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11