#include <EpCombinationTool.h>
Public Member Functions | |
void | combine (SimpleElectron &mySimpleElectron) |
EpCombinationTool () | |
bool | init (const std::string ®ressionFile, const std::string &bdtName="") |
~EpCombinationTool () | |
Private Attributes | |
GBRForest * | m_forest |
Definition at line 10 of file EpCombinationTool.h.
EpCombinationTool::EpCombinationTool | ( | ) |
Definition at line 13 of file EpCombinationTool.cc.
EpCombinationTool::~EpCombinationTool | ( | ) |
void EpCombinationTool::combine | ( | SimpleElectron & | mySimpleElectron | ) |
Definition at line 54 of file EpCombinationTool.cc.
References gather_cfg::cout, relval_parameters_module::energy, energyError(), SimpleElectron::getElClass(), SimpleElectron::getNewEnergy(), SimpleElectron::getNewEnergyError(), GBRForest::GetResponse(), SimpleElectron::getTrackerMomentum(), SimpleElectron::getTrackerMomentumError(), SimpleElectron::isEB(), SimpleElectron::isEcalDriven(), SimpleElectron::isTrackerDriven(), m_forest, SimpleElectron::setCombinedMomentum(), SimpleElectron::setCombinedMomentumError(), mathSSE::sqrt(), and histoStyle::weight.
bool EpCombinationTool::init | ( | const std::string & | regressionFile, |
const std::string & | bdtName = "" |
||
) |
Definition at line 30 of file EpCombinationTool.cc.
References gather_cfg::cout, and m_forest.
|
private |
Definition at line 25 of file EpCombinationTool.h.
Referenced by combine(), init(), and ~EpCombinationTool().