CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
convbremhelpers::HeavyObjectCache Class Reference

#include <ConvBremHeavyObjectCache.h>

Public Member Functions

 HeavyObjectCache (const edm::ParameterSet &)
 

Public Attributes

std::unique_ptr< const GBRForestgbrBarrelHighPt_
 
std::unique_ptr< const GBRForestgbrBarrelLowPt_
 
std::unique_ptr< const GBRForestgbrEndcapsHighPt_
 
std::unique_ptr< const GBRForestgbrEndcapsLowPt_
 
std::unique_ptr< const PFEnergyCalibrationpfcalib_
 

Detailed Description

Definition at line 10 of file ConvBremHeavyObjectCache.h.

Constructor & Destructor Documentation

◆ HeavyObjectCache()

convbremhelpers::HeavyObjectCache::HeavyObjectCache ( const edm::ParameterSet conf)

Definition at line 6 of file ConvBremHeavyObjectCache.cc.

6  {
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  }

References createGBRForest(), gbrBarrelHighPt_, gbrBarrelLowPt_, gbrEndcapsHighPt_, gbrEndcapsLowPt_, edm::ParameterSet::getParameter(), and pfcalib_.

Member Data Documentation

◆ gbrBarrelHighPt_

std::unique_ptr<const GBRForest> convbremhelpers::HeavyObjectCache::gbrBarrelHighPt_

Definition at line 14 of file ConvBremHeavyObjectCache.h.

Referenced by HeavyObjectCache().

◆ gbrBarrelLowPt_

std::unique_ptr<const GBRForest> convbremhelpers::HeavyObjectCache::gbrBarrelLowPt_

Definition at line 13 of file ConvBremHeavyObjectCache.h.

Referenced by HeavyObjectCache().

◆ gbrEndcapsHighPt_

std::unique_ptr<const GBRForest> convbremhelpers::HeavyObjectCache::gbrEndcapsHighPt_

Definition at line 16 of file ConvBremHeavyObjectCache.h.

Referenced by HeavyObjectCache().

◆ gbrEndcapsLowPt_

std::unique_ptr<const GBRForest> convbremhelpers::HeavyObjectCache::gbrEndcapsLowPt_

Definition at line 15 of file ConvBremHeavyObjectCache.h.

Referenced by HeavyObjectCache().

◆ pfcalib_

std::unique_ptr<const PFEnergyCalibration> convbremhelpers::HeavyObjectCache::pfcalib_

Definition at line 17 of file ConvBremHeavyObjectCache.h.

Referenced by HeavyObjectCache().

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
createGBRForest
std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightsFile)
Definition: GBRForestTools.cc:244
edm::FileInPath
Definition: FileInPath.h:64
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