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
// 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
Definition:
SiPixelFakeGainESSource.h:34
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGainESSource::SiPixelFakeGainESSource
SiPixelFakeGainESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainESSource.cc:29
SiPixelFakeGainESSource::~SiPixelFakeGainESSource
~SiPixelFakeGainESSource() override
Definition:
SiPixelFakeGainESSource.cc:38
edm::ESProducer
Definition:
ESProducer.h:101
ParameterSet.h
SiPixelFakeGainESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainESSource.h:49
SiPixelFakeGainESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeGainESSource.cc:81
edm::FileInPath
Definition:
FileInPath.h:64
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:43
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