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
RecoParticleFlow
PFTracking
src
ConvBremHeavyObjectCache.cc
Go to the documentation of this file.
1
#include "
CommonTools/MVAUtils/interface/GBRForestTools.h
"
2
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
3
#include "
RecoParticleFlow/PFTracking/interface/ConvBremHeavyObjectCache.h
"
4
5
namespace
convbremhelpers
{
6
HeavyObjectCache::HeavyObjectCache
(
const
edm::ParameterSet
& conf) {
7
pfcalib_
= std::make_unique<PFEnergyCalibration>();
8
9
const
bool
useConvBremFinder_ = conf.
getParameter
<
bool
>(
"useConvBremFinder"
);
10
11
if
(useConvBremFinder_) {
12
gbrBarrelLowPt_
=
13
createGBRForest
(conf.
getParameter
<
edm::FileInPath
>(
"pf_convBremFinderID_mvaWeightFileBarrelLowPt"
));
14
gbrBarrelHighPt_
=
15
createGBRForest
(conf.
getParameter
<
edm::FileInPath
>(
"pf_convBremFinderID_mvaWeightFileBarrelHighPt"
));
16
gbrEndcapsLowPt_
=
17
createGBRForest
(conf.
getParameter
<
edm::FileInPath
>(
"pf_convBremFinderID_mvaWeightFileEndcapsLowPt"
));
18
gbrEndcapsHighPt_
=
19
createGBRForest
(conf.
getParameter
<
edm::FileInPath
>(
"pf_convBremFinderID_mvaWeightFileEndcapsHighPt"
));
20
}
21
}
22
}
// namespace convbremhelpers
convbremhelpers::HeavyObjectCache::pfcalib_
std::unique_ptr< const PFEnergyCalibration > pfcalib_
Definition:
ConvBremHeavyObjectCache.h:17
convbremhelpers::HeavyObjectCache::gbrEndcapsLowPt_
std::unique_ptr< const GBRForest > gbrEndcapsLowPt_
Definition:
ConvBremHeavyObjectCache.h:15
GBRForestTools.h
ConvBremHeavyObjectCache.h
createGBRForest
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
Definition:
GBRForestTools.cc:257
FileInPath.h
edm::FileInPath
Definition:
FileInPath.h:64
convbremhelpers::HeavyObjectCache::HeavyObjectCache
HeavyObjectCache(const edm::ParameterSet &)
Definition:
ConvBremHeavyObjectCache.cc:6
edm::ParameterSet
Definition:
ParameterSet.h:47
convbremhelpers::HeavyObjectCache::gbrBarrelLowPt_
std::unique_ptr< const GBRForest > gbrBarrelLowPt_
Definition:
ConvBremHeavyObjectCache.h:13
convbremhelpers::HeavyObjectCache::gbrEndcapsHighPt_
std::unique_ptr< const GBRForest > gbrEndcapsHighPt_
Definition:
ConvBremHeavyObjectCache.h:16
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition:
ParameterSet.h:303
convbremhelpers::HeavyObjectCache::gbrBarrelHighPt_
std::unique_ptr< const GBRForest > gbrBarrelHighPt_
Definition:
ConvBremHeavyObjectCache.h:14
convbremhelpers
Definition:
ConvBremHeavyObjectCache.h:9
Generated for CMSSW Reference Manual by
1.8.16