Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaTools
plugins
EGRegressionModifierHelpers.cc
Go to the documentation of this file.
1
#include "
RecoEgamma/EgammaTools/plugins/EGRegressionModifierHelpers.h
"
2
3
std::vector<const GBRForestD*>
retrieveGBRForests
(
edm::EventSetup
const
& evs, std::vector<std::string>
const
&
names
)
4
{
5
std::vector<const GBRForestD*>
items
;
6
edm::ESHandle<GBRForestD>
handle
;
7
8
for
(
auto
const
&
name
: names) {
9
evs.
get
<
GBRDWrapperRcd
>().
get
(
name
, handle);
10
items.push_back(handle.
product
());
11
}
12
13
return
items
;
14
}
15
names
const std::string names[nVars_]
Definition:
PhotonIDValueMapProducer.cc:121
retrieveGBRForests
std::vector< const GBRForestD * > retrieveGBRForests(edm::EventSetup const &evs, std::vector< std::string > const &names)
Definition:
EGRegressionModifierHelpers.cc:3
edm::ESHandle
Definition:
DTSurvey.h:22
edm::EventSetup
Definition:
EventSetup.h:57
GBRDWrapperRcd
Definition:
GBRDWrapperRcd.h:24
mps_monitormerge.items
list items
Definition:
mps_monitormerge.py:29
cmsBatch.handle
handle
Definition:
cmsBatch.py:286
edm::EventSetup::get
T get() const
Definition:
EventSetup.h:71
dataset.name
name
Definition:
dataset.py:45
edm::ESHandle::product
T const * product() const
Definition:
ESHandle.h:86
EGRegressionModifierHelpers.h
Generated for CMSSW Reference Manual by
1.8.11