Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
#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/SiPixelGainCalibration.h
"
31
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationRcd.h
"
32
//
33
// class decleration
34
//
35
36
class
SiPixelFakeGainESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
37
38
public
:
39
SiPixelFakeGainESSource
(
const
edm::ParameterSet
&);
40
~SiPixelFakeGainESSource
();
41
42
// typedef edm::ESProducts<> ReturnType;
43
44
virtual
std::auto_ptr<SiPixelGainCalibration>
produce
(
const
SiPixelGainCalibrationRcd
&);
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
SiPixelFakeGainESSource
Definition:
SiPixelFakeGainESSource.h:36
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGainESSource::SiPixelFakeGainESSource
SiPixelFakeGainESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainESSource.cc:29
SiPixelFakeGainESSource::produce
virtual std::auto_ptr< SiPixelGainCalibration > produce(const SiPixelGainCalibrationRcd &)
Definition:
SiPixelFakeGainESSource.cc:47
SiPixelFakeGainESSource::setIntervalFor
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
SiPixelFakeGainESSource.cc:89
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
SiPixelFakeGainESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainESSource.h:55
SiPixelFakeGainESSource::~SiPixelFakeGainESSource
~SiPixelFakeGainESSource()
Definition:
SiPixelFakeGainESSource.cc:39
edm::FileInPath
Definition:
FileInPath.h:68
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
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.5