Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#include "boost/shared_ptr.hpp"
25
26
// user include files
27
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
28
#include "
FWCore/Framework/interface/ESProducer.h
"
29
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
30
#include "
CondFormats/SiPixelObjects/interface/SiPixelGainCalibrationOffline.h
"
31
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationOfflineRcd.h
"
32
//
33
// class decleration
34
//
35
36
class
SiPixelFakeGainOfflineESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
37
38
public
:
39
SiPixelFakeGainOfflineESSource
(
const
edm::ParameterSet
&);
40
~SiPixelFakeGainOfflineESSource
();
41
42
// typedef edm::ESProducts<> ReturnType;
43
44
virtual
std::auto_ptr<SiPixelGainCalibrationOffline>
produce
(
const
SiPixelGainCalibrationOfflineRcd
&);
45
46
protected
:
47
48
virtual
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
49
const
edm::IOVSyncValue
&,
50
edm::ValidityInterval
& );
51
52
53
private
:
54
55
edm::FileInPath
fp_
;
56
57
};
58
#endif
SiPixelFakeGainOfflineESSource
Definition:
SiPixelFakeGainOfflineESSource.h:36
SiPixelFakeGainOfflineESSource::produce
virtual std::auto_ptr< SiPixelGainCalibrationOffline > produce(const SiPixelGainCalibrationOfflineRcd &)
Definition:
SiPixelFakeGainOfflineESSource.cc:47
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelGainCalibrationOfflineRcd
Definition:
SiPixelGainCalibrationOfflineRcd.h:24
SiPixelGainCalibrationOfflineRcd.h
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
SiPixelFakeGainOfflineESSource::~SiPixelFakeGainOfflineESSource
~SiPixelFakeGainOfflineESSource()
Definition:
SiPixelFakeGainOfflineESSource.cc:39
SiPixelGainCalibrationOffline.h
edm::FileInPath
Definition:
FileInPath.h:68
SiPixelFakeGainOfflineESSource::setIntervalFor
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
SiPixelFakeGainOfflineESSource.cc:100
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:55
SiPixelFakeGainOfflineESSource::SiPixelFakeGainOfflineESSource
SiPixelFakeGainOfflineESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainOfflineESSource.cc:29
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5