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
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:244
FileInPath.h
edm::FileInPath
Definition: FileInPath.h:64
convbremhelpers::HeavyObjectCache::HeavyObjectCache
HeavyObjectCache(const edm::ParameterSet &)
Definition: ConvBremHeavyObjectCache.cc:6
edm::ParameterSet
Definition: ParameterSet.h:36
convbremhelpers::HeavyObjectCache::gbrBarrelLowPt_
std::unique_ptr< const GBRForest > gbrBarrelLowPt_
Definition: ConvBremHeavyObjectCache.h:13
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
convbremhelpers::HeavyObjectCache::gbrEndcapsHighPt_
std::unique_ptr< const GBRForest > gbrEndcapsHighPt_
Definition: ConvBremHeavyObjectCache.h:16
convbremhelpers::HeavyObjectCache::gbrBarrelHighPt_
std::unique_ptr< const GBRForest > gbrBarrelHighPt_
Definition: ConvBremHeavyObjectCache.h:14
convbremhelpers
Definition: ConvBremHeavyObjectCache.h:9