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
TrackingTools
KalmanUpdators
plugins
TrackingRecHitPropagatorESProducer.cc
Go to the documentation of this file.
1
#include "
FWCore/Framework/interface/ESProducer.h
"
2
#include "
FWCore/Framework/interface/EventSetup.h
"
3
#include "
FWCore/Framework/interface/ESHandle.h
"
4
#include "
FWCore/Framework/interface/ModuleFactory.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
FWCore/Utilities/interface/ESInputTag.h
"
7
#include "
TrackingTools/Records/interface/TrackingComponentsRecord.h
"
8
#include "
TrackingTools/KalmanUpdators/interface/TrackingRecHitPropagator.h
"
9
10
#include <string>
11
#include <memory>
12
13
class
TrackingRecHitPropagatorESProducer
:
public
edm::ESProducer
{
14
public
:
15
TrackingRecHitPropagatorESProducer
(
const
edm::ParameterSet
&
p
);
16
17
std::unique_ptr<TrackingRecHitPropagator>
produce
(
const
TrackingComponentsRecord
&);
18
19
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
20
21
private
:
22
const
edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>
mfToken_
;
23
};
24
25
using namespace
edm
;
26
27
TrackingRecHitPropagatorESProducer::TrackingRecHitPropagatorESProducer
(
const
edm::ParameterSet
&
p
)
28
: mfToken_(setWhatProduced(this,
p
.getParameter<
std
::
string
>(
"ComponentName"
))
29
.consumesFrom<
MagneticField
,
IdealMagneticFieldRecord
>(
30
edm
::
ESInputTag
(
""
,
p
.getParameter<
std
::
string
>(
"SimpleMagneticField"
)))) {}
31
32
std::unique_ptr<TrackingRecHitPropagator>
TrackingRecHitPropagatorESProducer::produce
(
33
const
TrackingComponentsRecord
& iRecord) {
34
return
std::make_unique<TrackingRecHitPropagator>(&iRecord.
get
(
mfToken_
));
35
}
36
37
void
TrackingRecHitPropagatorESProducer::fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions) {
38
edm::ParameterSetDescription
desc
;
39
desc
.add<
std::string
>(
"ComponentName"
);
40
desc
.add<
std::string
>(
"SimpleMagneticField"
,
""
);
41
descriptions.
addDefault
(
desc
);
42
}
43
DEFINE_FWK_EVENTSETUP_MODULE
(
TrackingRecHitPropagatorESProducer
);
TrackingRecHitPropagatorESProducer
Definition:
TrackingRecHitPropagatorESProducer.cc:13
edm::ESInputTag
Definition:
ESInputTag.h:87
ESHandle.h
edm
HLT enums.
Definition:
AlignableModifier.h:19
TrackingRecHitPropagatorESProducer::TrackingRecHitPropagatorESProducer
TrackingRecHitPropagatorESProducer(const edm::ParameterSet &p)
Definition:
TrackingRecHitPropagatorESProducer.cc:27
edm::ParameterSetDescription
Definition:
ParameterSetDescription.h:52
ESProducer.h
TrackingRecHitPropagatorESProducer::mfToken_
const edm::ESGetToken< MagneticField, IdealMagneticFieldRecord > mfToken_
Definition:
TrackingRecHitPropagatorESProducer.cc:22
IdealMagneticFieldRecord
Definition:
IdealMagneticFieldRecord.h:11
TrackingRecHitPropagator.h
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition:
DependentRecordImplementation.h:109
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:47
AlCaHLTBitMon_ParallelJobs.p
def p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ESGetToken< MagneticField, IdealMagneticFieldRecord >
ModuleFactory.h
submitPVResolutionJobs.desc
string desc
Definition:
submitPVResolutionJobs.py:251
ESInputTag.h
std
Definition:
JetResolutionObject.h:76
DEFINE_FWK_EVENTSETUP_MODULE
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
Definition:
ModuleFactory.h:60
TrackingRecHitPropagatorESProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
TrackingRecHitPropagatorESProducer.cc:37
TrackingComponentsRecord.h
EventSetup.h
edm::ESProducer
Definition:
ESProducer.h:104
ParameterSet.h
TrackingRecHitPropagatorESProducer::produce
std::unique_ptr< TrackingRecHitPropagator > produce(const TrackingComponentsRecord &)
Definition:
TrackingRecHitPropagatorESProducer.cc:32
edm::ConfigurationDescriptions::addDefault
void addDefault(ParameterSetDescription const &psetDescription)
Definition:
ConfigurationDescriptions.cc:99
MagneticField
Definition:
MagneticField.h:19
TrackingComponentsRecord
Definition:
TrackingComponentsRecord.h:12
Generated for CMSSW Reference Manual by
1.8.16