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
SimTracker
TrackAssociation
plugins
ConfigurableFlatResolutionModel.cc
Go to the documentation of this file.
1
#include "
SimTracker/TrackAssociation/interface/ResolutionModel.h
"
2
3
class
ConfigurableFlatResolutionModel
:
public
ResolutionModel
{
4
public
:
5
ConfigurableFlatResolutionModel
(
const
edm::ParameterSet
&conf)
6
:
ResolutionModel
(conf),
reso_
(conf.getParameter<double>(
"resolutionInNs"
)) {}
7
8
float
getTimeResolution
(
const
reco::Track
&)
const override
{
return
reso_
; }
9
float
getTimeResolution
(
const
reco::PFCluster
&)
const override
{
return
reso_
; }
10
11
private
:
12
const
float
reso_
;
13
};
14
15
DEFINE_EDM_PLUGIN
(
ResolutionModelFactory
,
ConfigurableFlatResolutionModel
,
"ConfigurableFlatResolutionModel"
);
ResolutionModel.h
ConfigurableFlatResolutionModel
Definition:
ConfigurableFlatResolutionModel.cc:3
ConfigurableFlatResolutionModel::reso_
const float reso_
Definition:
ConfigurableFlatResolutionModel.cc:12
reco::Track
Definition:
Track.h:27
ConfigurableFlatResolutionModel::ConfigurableFlatResolutionModel
ConfigurableFlatResolutionModel(const edm::ParameterSet &conf)
Definition:
ConfigurableFlatResolutionModel.cc:5
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
ConfigurableFlatResolutionModel::getTimeResolution
float getTimeResolution(const reco::Track &) const override
Definition:
ConfigurableFlatResolutionModel.cc:8
ConfigurableFlatResolutionModel::getTimeResolution
float getTimeResolution(const reco::PFCluster &) const override
Definition:
ConfigurableFlatResolutionModel.cc:9
edm::ParameterSet
Definition:
ParameterSet.h:36
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
reco::PFCluster
Particle flow cluster, see clustering algorithm in PFClusterAlgo.
Definition:
PFCluster.h:46
ResolutionModel
Definition:
ResolutionModel.h:11
Generated for CMSSW Reference Manual by
1.8.16