CMS 3D CMS Logo

ConvBremHeavyObjectCache.cc
Go to the documentation of this file.
4 
5 namespace convbremhelpers {
7  pfcalib_ = std::make_unique<PFEnergyCalibration>();
8 
9  const bool useConvBremFinder_ = conf.getParameter<bool>("useConvBremFinder");
10 
11  if (useConvBremFinder_) {
13  createGBRForest(conf.getParameter<edm::FileInPath>("pf_convBremFinderID_mvaWeightFileBarrelLowPt"));
15  createGBRForest(conf.getParameter<edm::FileInPath>("pf_convBremFinderID_mvaWeightFileBarrelHighPt"));
17  createGBRForest(conf.getParameter<edm::FileInPath>("pf_convBremFinderID_mvaWeightFileEndcapsLowPt"));
19  createGBRForest(conf.getParameter<edm::FileInPath>("pf_convBremFinderID_mvaWeightFileEndcapsHighPt"));
20  }
21  }
22 } // namespace convbremhelpers
T getParameter(std::string const &) const
std::unique_ptr< const GBRForest > gbrEndcapsHighPt_
std::unique_ptr< const GBRForest > gbrEndcapsLowPt_
std::unique_ptr< const GBRForest > gbrBarrelLowPt_
HeavyObjectCache(const edm::ParameterSet &)
std::unique_ptr< const PFEnergyCalibration > pfcalib_
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
std::unique_ptr< const GBRForest > gbrBarrelHighPt_