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
// $Id: SiPixelFakeGainESSource.h,v 1.4 2008/02/11 15:23:28 friis 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/SiPixelGainCalibration.h
"
32
#include "
CondFormats/DataRecord/interface/SiPixelGainCalibrationRcd.h
"
33
//
34
// class decleration
35
//
36
37
class
SiPixelFakeGainESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
38
39
public
:
40
SiPixelFakeGainESSource
(
const
edm::ParameterSet
&);
41
~SiPixelFakeGainESSource
();
42
43
// typedef edm::ESProducts<> ReturnType;
44
45
virtual
std::auto_ptr<SiPixelGainCalibration>
produce
(
const
SiPixelGainCalibrationRcd
&);
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
SiPixelFakeGainESSource
Definition:
SiPixelFakeGainESSource.h:37
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelFakeGainESSource::SiPixelFakeGainESSource
SiPixelFakeGainESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeGainESSource.cc:30
SiPixelFakeGainESSource::produce
virtual std::auto_ptr< SiPixelGainCalibration > produce(const SiPixelGainCalibrationRcd &)
Definition:
SiPixelFakeGainESSource.cc:48
SiPixelFakeGainESSource::setIntervalFor
virtual void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &)
Definition:
SiPixelFakeGainESSource.cc:90
edm::ESProducer
Definition:
ESProducer.h:97
ParameterSet.h
SiPixelFakeGainESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeGainESSource.h:56
SiPixelFakeGainESSource::~SiPixelFakeGainESSource
~SiPixelFakeGainESSource()
Definition:
SiPixelFakeGainESSource.cc:40
edm::FileInPath
Definition:
FileInPath.h:68
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
ESProducer.h
EventSetupRecordIntervalFinder.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:34
SiPixelGainCalibrationRcd.h
SiPixelGainCalibration.h
edm::ParameterSet
Definition:
ParameterSet.h:35
SiPixelGainCalibrationRcd
Definition:
SiPixelGainCalibrationRcd.h:24
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.5