Main Page
Namespaces
Classes
Package Documentation
CalibTracker
SiPixelESProducers
interface
SiPixelFakeLorentzAngleESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPixelESProducers_SiPixelFakeLorentzAngleESSource_h
2
#define CalibTracker_SiPixelESProducers_SiPixelFakeLorentzAngleESSource_h
3
// -*- C++ -*-
4
//
5
// Package: SiPixelFakeLorentzAngleESSource
6
// Class: SiPixelFakeLorentzAngleESSource
7
//
15
//
16
// Original Author: Lotte Wilke
17
// Created: Jan. 31st, 2008
18
//
19
//
20
21
22
// system include files
23
#include <memory>
24
25
// user include files
26
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
27
#include "
FWCore/Framework/interface/ESProducer.h
"
28
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
29
#include "
CondFormats/SiPixelObjects/interface/SiPixelLorentzAngle.h
"
30
#include "
CondFormats/DataRecord/interface/SiPixelLorentzAngleRcd.h
"
31
// #include "CondTools/SiPixel/interface/SiPixelGainCalibrationService.h"
32
//
33
// class decleration
34
//
35
36
class
SiPixelFakeLorentzAngleESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
37
38
public
:
39
SiPixelFakeLorentzAngleESSource
(
const
edm::ParameterSet
&);
40
~SiPixelFakeLorentzAngleESSource
()
override
;
41
42
// typedef edm::ESProducts<> ReturnType;
43
44
virtual
std::unique_ptr<SiPixelLorentzAngle>
produce
(
const
SiPixelLorentzAngleRcd
&);
45
46
protected
:
47
48
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
49
const
edm::IOVSyncValue
&,
50
edm::ValidityInterval
& )
override
;
51
52
53
private
:
54
55
edm::FileInPath
fp_
;
56
57
};
58
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPixelLorentzAngleRcd.h
SiPixelFakeLorentzAngleESSource::~SiPixelFakeLorentzAngleESSource
~SiPixelFakeLorentzAngleESSource() override
Definition:
SiPixelFakeLorentzAngleESSource.cc:38
edm::ESProducer
Definition:
ESProducer.h:99
ParameterSet.h
SiPixelLorentzAngleRcd
Definition:
SiPixelLorentzAngleRcd.h:24
SiPixelFakeLorentzAngleESSource::produce
virtual std::unique_ptr< SiPixelLorentzAngle > produce(const SiPixelLorentzAngleRcd &)
Definition:
SiPixelFakeLorentzAngleESSource.cc:46
SiPixelFakeLorentzAngleESSource::SiPixelFakeLorentzAngleESSource
SiPixelFakeLorentzAngleESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeLorentzAngleESSource.cc:29
edm::FileInPath
Definition:
FileInPath.h:64
SiPixelFakeLorentzAngleESSource
Definition:
SiPixelFakeLorentzAngleESSource.h:36
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeLorentzAngleESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeLorentzAngleESSource.h:55
ESProducer.h
EventSetupRecordIntervalFinder.h
SiPixelFakeLorentzAngleESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeLorentzAngleESSource.cc:71
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::ParameterSet
Definition:
ParameterSet.h:36
SiPixelLorentzAngle.h
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
Generated for CMSSW Reference Manual by
1.8.11