Creates and and MVAComputer from calibrations via EventSetup. More...
#include <MVAComputerCache.h>
Public Member Functions | |
MVAComputer * | get () |
const MVAComputer * | get () const |
MVAComputerCache () | |
operator bool () const | |
MVAComputer & | operator* () |
const MVAComputer & | operator* () const |
MVAComputer * | operator-> () |
const MVAComputer * | operator-> () const |
std::unique_ptr< MVAComputer > | release () |
void | reset () |
bool | update (const Calibration::MVAComputer *computer) |
bool | update (const Calibration::MVAComputerContainer *container, const char *calib) |
~MVAComputerCache () | |
Private Attributes | |
std::unique_ptr< MVAComputer > | computer |
Calibration::MVAComputer::CacheId | computerCacheId |
Calibration::MVAComputerContainer::CacheId | containerCacheId |
Creates and and MVAComputer from calibrations via EventSetup.
Definition at line 26 of file MVAComputerCache.h.
PhysicsTools::MVAComputerCache::MVAComputerCache | ( | ) |
Definition at line 9 of file MVAComputerCache.cc.
PhysicsTools::MVAComputerCache::~MVAComputerCache | ( | ) |
Definition at line 13 of file MVAComputerCache.cc.
|
inline |
Definition at line 42 of file MVAComputerCache.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and submitPVValidationJobs.BetterConfigParser::getResultingSection().
|
inline |
Definition at line 43 of file MVAComputerCache.h.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), and submitPVValidationJobs.BetterConfigParser::getResultingSection().
|
inline |
Definition at line 34 of file MVAComputerCache.h.
|
inline |
Definition at line 36 of file MVAComputerCache.h.
References computer.
|
inline |
Definition at line 37 of file MVAComputerCache.h.
References computer.
|
inline |
Definition at line 39 of file MVAComputerCache.h.
|
inline |
Definition at line 40 of file MVAComputerCache.h.
std::unique_ptr< MVAComputer > PhysicsTools::MVAComputerCache::release | ( | ) |
Definition at line 53 of file MVAComputerCache.cc.
References computer, computerCacheId, containerCacheId, and eostools::move().
|
inline |
Definition at line 47 of file MVAComputerCache.h.
bool PhysicsTools::MVAComputerCache::update | ( | const Calibration::MVAComputer * | computer | ) |
Definition at line 15 of file MVAComputerCache.cc.
References PhysicsTools::Calibration::MVAComputer::changed(), computer, computerCacheId, containerCacheId, and PhysicsTools::Calibration::MVAComputer::getCacheId().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), MatrixUtil.Steps::overwrite(), TtFullHadSignalSelMVAComputer::produce(), TtSemiLepJetCombMVAComputer::produce(), TtSemiLepSignalSelMVAComputer::produce(), and update().
bool PhysicsTools::MVAComputerCache::update | ( | const Calibration::MVAComputerContainer * | container, |
const char * | calib | ||
) |
Definition at line 33 of file MVAComputerCache.cc.
References PhysicsTools::Calibration::MVAComputerContainer::changed(), computer, computerCacheId, containerCacheId, PhysicsTools::Calibration::MVAComputerContainer::find(), PhysicsTools::Calibration::MVAComputerContainer::getCacheId(), mps_fire::result, and update().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 52 of file MVAComputerCache.h.
Referenced by operator*(), release(), and update().
|
private |
Definition at line 51 of file MVAComputerCache.h.
|
private |
Definition at line 50 of file MVAComputerCache.h.