#include <EpCombinationTool.h>
Public Member Functions | |
void | combine (SimpleElectron &mySimpleElectron) const |
EpCombinationTool () | |
EpCombinationTool (const EpCombinationTool &other)=delete | |
bool | init (const GBRForest *forest) |
bool | init (const std::string ®ressionFile, const std::string &bdtName) |
EpCombinationTool & | operator= (const EpCombinationTool &other)=delete |
~EpCombinationTool () | |
Private Attributes | |
const GBRForest * | m_forest |
bool | m_ownForest |
Definition at line 10 of file EpCombinationTool.h.
EpCombinationTool::EpCombinationTool | ( | ) |
Definition at line 12 of file EpCombinationTool.cc.
EpCombinationTool::~EpCombinationTool | ( | ) |
|
delete |
void EpCombinationTool::combine | ( | SimpleElectron & | mySimpleElectron | ) | const |
Definition at line 62 of file EpCombinationTool.cc.
References gather_cfg::cout, energyError(), GBRForest::GetResponse(), m_forest, mathSSE::sqrt(), and mps_merge::weight.
Referenced by ElectronEnergyCalibratorRun2::calibrate(), CalibratedPatElectronProducer::produce(), and CalibratedElectronProducer::produce().
bool EpCombinationTool::init | ( | const GBRForest * | forest | ) |
Definition at line 52 of file EpCombinationTool.cc.
References m_forest, and m_ownForest.
Referenced by CalibratedElectronProducer::CalibratedElectronProducer(), CalibratedPatElectronProducer::CalibratedPatElectronProducer(), and CalibratedElectronProducerRun2T< T >::produce().
bool EpCombinationTool::init | ( | const std::string & | regressionFile, |
const std::string & | bdtName | ||
) |
Definition at line 29 of file EpCombinationTool.cc.
References gather_cfg::cout, m_forest, and m_ownForest.
|
delete |
|
private |
Definition at line 25 of file EpCombinationTool.h.
Referenced by combine(), init(), and ~EpCombinationTool().
|
private |
Definition at line 26 of file EpCombinationTool.h.
Referenced by init(), and ~EpCombinationTool().