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