CalibTracker
SiPhase2TrackerESProducers
interface
SiPhase2OuterTrackerFakeLorentzAngleESSource.h
Go to the documentation of this file.
1
#ifndef CalibTracker_SiPhase2TrackerESProducers_SiPhase2OuterTrackerFakeLorentzAngleESSource_h
2
#define CalibTracker_SiPhase2TrackerESProducers_SiPhase2OuterTrackerFakeLorentzAngleESSource_h
3
// -*- C++ -*-
4
//
5
// Package: SiPhase2OuterTrackerFakeLorentzAngleESSource
6
// Class: SiPhase2OuterTrackerFakeLorentzAngleESSource
7
//
13
//
14
// Original Author: Marco Musich
15
// Created: July 31st, 2020
16
//
17
//
18
19
// system include files
20
#include <memory>
21
22
// user include files
23
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
25
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
26
#include "
FWCore/Framework/interface/ESProducer.h
"
27
#include "
FWCore/Framework/interface/EventSetupRecordIntervalFinder.h
"
28
#include "
CondFormats/SiPhase2TrackerObjects/interface/SiPhase2OuterTrackerLorentzAngle.h
"
29
#include "
CondFormats/DataRecord/interface/SiPhase2OuterTrackerLorentzAngleRcd.h
"
30
#include "
Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h
"
31
#include "
Geometry/Records/interface/TrackerDigiGeometryRecord.h
"
32
33
//
34
// class decleration
35
//
36
37
class
SiPhase2OuterTrackerFakeLorentzAngleESSource
:
public
edm::ESProducer
,
38
public
edm::EventSetupRecordIntervalFinder
{
39
public
:
40
SiPhase2OuterTrackerFakeLorentzAngleESSource
(
const
edm::ParameterSet
&);
41
~SiPhase2OuterTrackerFakeLorentzAngleESSource
()
override
;
42
43
void
produce
(){};
44
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
&);
45
46
protected
:
47
void
setIntervalFor
(
const
edm::eventsetup::EventSetupRecordKey
&,
48
const
edm::IOVSyncValue
&,
49
edm::ValidityInterval
&)
override
;
50
51
virtual
std::unique_ptr<SiPhase2OuterTrackerLorentzAngle>
produceOTLA
(
const
SiPhase2OuterTrackerLorentzAngleRcd
&);
52
virtual
std::unique_ptr<SiPhase2OuterTrackerLorentzAngle>
produceOTSimLA
(
53
const
SiPhase2OuterTrackerLorentzAngleSimRcd
&);
54
55
private
:
56
edm::ESGetToken<TrackerTopology, TrackerTopologyRcd>
m_tTopoToken
;
57
edm::ESGetToken<GeometricDet, IdealGeometryRecord>
m_geomDetToken
;
58
const
float
LAvalue_
;
59
const
std::string
recordName_
;
60
};
61
#endif
ConfigurationDescriptions.h
TrackerGeometry.h
SiPhase2OuterTrackerLorentzAngleSimRcd
Definition:
SiPhase2OuterTrackerCondDataRecords.h:12
edm::ValidityInterval
Definition:
ValidityInterval.h:28
SiPhase2OuterTrackerFakeLorentzAngleESSource::LAvalue_
const float LAvalue_
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.h:58
ESProducer.h
SiPhase2OuterTrackerFakeLorentzAngleESSource
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.h:37
edm::EventSetupRecordIntervalFinder
Definition:
EventSetupRecordIntervalFinder.h:33
edm::eventsetup::EventSetupRecordKey
Definition:
EventSetupRecordKey.h:30
SiPhase2OuterTrackerLorentzAngleRcd.h
SiPhase2OuterTrackerFakeLorentzAngleESSource::produce
void produce()
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.h:43
SiPhase2OuterTrackerFakeLorentzAngleESSource::setIntervalFor
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.cc:82
SiPhase2OuterTrackerFakeLorentzAngleESSource::~SiPhase2OuterTrackerFakeLorentzAngleESSource
~SiPhase2OuterTrackerFakeLorentzAngleESSource() override
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.cc:48
ParameterSetDescription.h
SiPhase2OuterTrackerFakeLorentzAngleESSource::SiPhase2OuterTrackerFakeLorentzAngleESSource
SiPhase2OuterTrackerFakeLorentzAngleESSource(const edm::ParameterSet &)
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.cc:29
edm::IOVSyncValue
Definition:
IOVSyncValue.h:31
EventSetupRecordIntervalFinder.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
TrackerDigiGeometryRecord.h
edm::ParameterSet
Definition:
ParameterSet.h:47
SiPhase2OuterTrackerFakeLorentzAngleESSource::produceOTLA
virtual std::unique_ptr< SiPhase2OuterTrackerLorentzAngle > produceOTLA(const SiPhase2OuterTrackerLorentzAngleRcd &)
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.cc:70
SiPhase2OuterTrackerFakeLorentzAngleESSource::produceOTSimLA
virtual std::unique_ptr< SiPhase2OuterTrackerLorentzAngle > produceOTSimLA(const SiPhase2OuterTrackerLorentzAngleSimRcd &)
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.cc:76
SiPhase2OuterTrackerLorentzAngleRcd
Definition:
SiPhase2OuterTrackerCondDataRecords.h:9
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd >
SiPhase2OuterTrackerFakeLorentzAngleESSource::recordName_
const std::string recordName_
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.h:59
SiPhase2OuterTrackerFakeLorentzAngleESSource::m_tTopoToken
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > m_tTopoToken
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.h:56
SiPhase2OuterTrackerFakeLorentzAngleESSource::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &)
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.cc:89
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
SiPhase2OuterTrackerFakeLorentzAngleESSource::m_geomDetToken
edm::ESGetToken< GeometricDet, IdealGeometryRecord > m_geomDetToken
Definition:
SiPhase2OuterTrackerFakeLorentzAngleESSource.h:57
SiPhase2OuterTrackerLorentzAngle.h
Generated for CMSSW Reference Manual by
1.8.16