CMS 3D CMS Logo

EGRegressionModifierHelpers.cc
Go to the documentation of this file.
2 
3 std::vector<const GBRForestD*> retrieveGBRForests(edm::EventSetup const& evs, std::vector<std::string> const& names)
4 {
5  std::vector<const GBRForestD*> items;
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 
const std::string names[nVars_]
std::vector< const GBRForestD * > retrieveGBRForests(edm::EventSetup const &evs, std::vector< std::string > const &names)
T get() const
Definition: EventSetup.h:71
T const * product() const
Definition: ESHandle.h:86