Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
L1Trigger
L1TMuonBarrel
plugins
L1TMuonBarrelKalmanParamsESProducer.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Class: L1TMuonBarrelKalmanParamsESProducer
4
//
5
// Original Author (of the base file): Giannis Flouris
6
// Kalman Mod & clean up: Panos Katsoulis
7
// Created:
8
//
9
//
10
11
// system include files
12
#include <memory>
13
14
// user include files
15
#include "
FWCore/Framework/interface/ModuleFactory.h
"
16
#include "
FWCore/Framework/interface/ESProducer.h
"
17
18
#include "
CondFormats/L1TObjects/interface/L1TMuonBarrelKalmanParams.h
"
19
#include "
CondFormats/DataRecord/interface/L1TMuonBarrelKalmanParamsRcd.h
"
20
21
// for future, LUTs implementaion
22
//#include "L1Trigger/L1TMuon/interface/MicroGMTLUTFactories.h"
23
// for future, masks
24
//#include "L1Trigger/L1TCommon/interface/Mask.h"
25
26
// class declaration
27
//
28
29
class
L1TMuonBarrelKalmanParamsESProducer
:
public
edm::ESProducer
{
30
public
:
31
L1TMuonBarrelKalmanParamsESProducer
(
const
edm::ParameterSet
&);
32
~L1TMuonBarrelKalmanParamsESProducer
()
override
;
33
34
using
ReturnType
= std::unique_ptr<L1TMuonBarrelKalmanParams>;
35
ReturnType
produce
(
const
L1TMuonBarrelKalmanParamsRcd
&);
36
37
private
:
38
L1TMuonBarrelKalmanParams
kalman_params
;
39
};
40
41
//
42
// constants, enums and typedefs
43
//
44
45
//
46
// static data member definitions
47
//
48
49
//
50
// constructors and destructor
51
//
52
L1TMuonBarrelKalmanParamsESProducer::L1TMuonBarrelKalmanParamsESProducer
(
const
edm::ParameterSet
& iConfig) {
53
// the following line is needed to tell the framework what data is being produced
54
setWhatProduced
(
this
);
55
56
// basic configurables needed (now set static)
57
kalman_params
.
pnodes_
[
kalman_params
.
CONFIG
].fwVersion_ = iConfig.
getParameter
<
unsigned
>(
"fwVersion"
);
58
59
// the LUTs
60
kalman_params
.
pnodes_
[
kalman_params
.
CONFIG
].kalmanLUTsPath_ = iConfig.
getParameter
<
std::string
>(
"LUTsPath"
);
61
}
62
63
L1TMuonBarrelKalmanParamsESProducer::~L1TMuonBarrelKalmanParamsESProducer
() {}
64
65
//
66
// member functions
67
//
68
69
// ------------ method called to produce the data ------------
70
L1TMuonBarrelKalmanParamsESProducer::ReturnType
L1TMuonBarrelKalmanParamsESProducer::produce
(
71
const
L1TMuonBarrelKalmanParamsRcd
& iRecord) {
72
return
std::make_unique<L1TMuonBarrelKalmanParams>(
kalman_params
);
73
}
74
75
//define this as a plug-in
76
DEFINE_FWK_EVENTSETUP_MODULE
(
L1TMuonBarrelKalmanParamsESProducer
);
L1TMuonBarrelKalmanParams::pnodes_
std::vector< Node > pnodes_
Definition:
L1TMuonBarrelKalmanParams.h:41
L1TMuonBarrelKalmanParamsESProducer::ReturnType
std::unique_ptr< L1TMuonBarrelKalmanParams > ReturnType
Definition:
L1TMuonBarrelKalmanParamsESProducer.cc:34
L1TMuonBarrelKalmanParamsESProducer::L1TMuonBarrelKalmanParamsESProducer
L1TMuonBarrelKalmanParamsESProducer(const edm::ParameterSet &)
Definition:
L1TMuonBarrelKalmanParamsESProducer.cc:52
edm::ESProducer::setWhatProduced
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Definition:
ESProducer.h:163
L1TMuonBarrelKalmanParamsESProducer::kalman_params
L1TMuonBarrelKalmanParams kalman_params
Definition:
L1TMuonBarrelKalmanParamsESProducer.cc:38
ESProducer.h
L1TMuonBarrelKalmanParamsESProducer::produce
ReturnType produce(const L1TMuonBarrelKalmanParamsRcd &)
Definition:
L1TMuonBarrelKalmanParamsESProducer.cc:70
L1TMuonBarrelKalmanParams
Definition:
L1TMuonBarrelKalmanParams.h:21
L1TMuonBarrelKalmanParamsESProducer::~L1TMuonBarrelKalmanParamsESProducer
~L1TMuonBarrelKalmanParamsESProducer() override
Definition:
L1TMuonBarrelKalmanParamsESProducer.cc:63
L1TMuonBarrelKalmanParams::CONFIG
Definition:
L1TMuonBarrelKalmanParams.h:27
L1TMuonBarrelKalmanParamsESProducer
Definition:
L1TMuonBarrelKalmanParamsESProducer.cc:29
L1TMuonBarrelKalmanParams.h
edm::ParameterSet
Definition:
ParameterSet.h:47
L1TMuonBarrelKalmanParamsRcd
Definition:
L1TMuonBarrelKalmanParamsRcd.h:13
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
ModuleFactory.h
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
L1TMuonBarrelKalmanParamsRcd.h
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
edm::ESProducer
Definition:
ESProducer.h:104
Generated for CMSSW Reference Manual by
1.8.16