Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaTools
interface
GBRForestTools.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------------------------------
2
//
3
// GRBForestTools
4
//
5
// Utility to read a TMVA weights file with a BDT into a GRBForest.
6
//
7
// Author: Jonas Rembser
8
//--------------------------------------------------------------------------------------------------
9
10
11
#ifndef RecoEgamma_EgammaTools_GBRForestTools_h
12
#define RecoEgamma_EgammaTools_GBRForestTools_h
13
14
#include <vector>
15
#include <string>
16
17
#include "
CondFormats/EgammaObjects/interface/GBRForest.h
"
18
#include "
FWCore/ParameterSet/interface/FileInPath.h
"
19
20
#include "TMVA/MethodBDT.h"
21
#include "TMVA/Reader.h"
22
23
#include "
CommonTools/Utils/interface/TMVAZipReader.h
"
24
25
class
GBRForestTools
26
{
27
public
:
28
GBRForestTools
() {}
29
30
static
std::unique_ptr<const GBRForest>
createGBRForest
(
const
std::string
&
weightFile
);
31
static
std::unique_ptr<const GBRForest>
createGBRForest
(
const
edm::FileInPath
&weightFile);
32
33
};
34
35
#endif
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
GBRForestTools::createGBRForest
static std::unique_ptr< const GBRForest > createGBRForest(const std::string &weightFile)
Definition:
GBRForestTools.cc:30
FileInPath.h
GBRForestTools::GBRForestTools
GBRForestTools()
Definition:
GBRForestTools.h:28
TMVAZipReader.h
electrons_cff.weightFile
weightFile
Definition:
electrons_cff.py:181
edm::FileInPath
Definition:
FileInPath.h:68
GBRForest.h
GBRForestTools
Definition:
GBRForestTools.h:25
Generated for CMSSW Reference Manual by
1.8.11