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
// system include files
22
#include <memory>
23
24
// user include files
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Framework/interface/ESProducer.h
"
27
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
28
#include "
CondFormats/SiPixelObjects/interface/SiPixelLorentzAngle.h
"
29
#include "
CondFormats/DataRecord/interface/SiPixelLorentzAngleRcd.h
"
30
// #include "CondTools/SiPixel/interface/SiPixelGainCalibrationService.h"
31
//
32
// class decleration
33
//
34
35
class
SiPixelFakeLorentzAngleESSource
:
public
edm::ESProducer
,
public
edm::EventSetupRecordIntervalFinder
{
36
public
:
37
SiPixelFakeLorentzAngleESSource
(
const
edm::ParameterSet
&);
38
~SiPixelFakeLorentzAngleESSource
()
override
;
39
40
// typedef edm::ESProducts<> ReturnType;
41
42
virtual
std::unique_ptr<SiPixelLorentzAngle>
produce
(
const
SiPixelLorentzAngleRcd
&);
43
44
protected
:
45
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
46
const
edm::IOVSyncValue
&,
47
edm::ValidityInterval
&)
override
;
48
49
private
:
50
edm::FileInPath
fp_
;
51
};
52
#endif
edm::ValidityInterval
Definition:
ValidityInterval.h:28
ESProducer.h
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPixelFakeLorentzAngleESSource::~SiPixelFakeLorentzAngleESSource
~SiPixelFakeLorentzAngleESSource() override
Definition:
SiPixelFakeLorentzAngleESSource.cc:38
edm::FileInPath
Definition:
FileInPath.h:64
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPixelFakeLorentzAngleESSource::SiPixelFakeLorentzAngleESSource
SiPixelFakeLorentzAngleESSource(const edm::ParameterSet &)
Definition:
SiPixelFakeLorentzAngleESSource.cc:29
SiPixelLorentzAngleRcd
Definition:
SiPixelLorentzAngleRcd.h:24
SiPixelFakeLorentzAngleESSource
Definition:
SiPixelFakeLorentzAngleESSource.h:35
SiPixelLorentzAngleRcd.h
SiPixelFakeLorentzAngleESSource::produce
virtual std::unique_ptr< SiPixelLorentzAngle > produce(const SiPixelLorentzAngleRcd &)
Definition:
SiPixelFakeLorentzAngleESSource.cc:43
SiPixelFakeLorentzAngleESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPixelFakeLorentzAngleESSource.cc:66
SiPixelLorentzAngle.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPixelFakeLorentzAngleESSource::fp_
edm::FileInPath fp_
Definition:
SiPixelFakeLorentzAngleESSource.h:50
Generated for CMSSW Reference Manual by
1.8.16