#include <GenericMVAComputerCache.h>
Classes | |
struct | IndividualComputer |
Public Member Functions | |
GenericMVAComputerCache (const std::vector< std::string > &labels) | |
const GenericMVAComputer * | getComputer (int index) const |
bool | isEmpty () const |
bool | update (const PhysicsTools::Calibration::MVAComputerContainer *calib) |
~GenericMVAComputerCache () | |
Private Attributes | |
PhysicsTools::Calibration::MVAComputerContainer::CacheId | cacheId |
std::vector< IndividualComputer > | computers |
bool | empty |
std::string | errorUpdatingLabel |
bool | initialized |
Definition at line 12 of file GenericMVAComputerCache.h.
GenericMVAComputerCache::GenericMVAComputerCache | ( | const std::vector< std::string > & | labels | ) |
Definition at line 19 of file GenericMVAComputerCache.cc.
References HLT_2018_cff::computer, computers, and SummaryClient_cfi::labels.
GenericMVAComputerCache::~GenericMVAComputerCache | ( | ) |
Definition at line 33 of file GenericMVAComputerCache.cc.
const GenericMVAComputer * GenericMVAComputerCache::getComputer | ( | int | index | ) | const |
Definition at line 35 of file GenericMVAComputerCache.cc.
References computers, errorUpdatingLabel, and Exception.
Referenced by GenericMVAJetTagComputer::discriminator().
bool GenericMVAComputerCache::isEmpty | ( | void | ) | const |
Definition at line 44 of file GenericMVAComputerCache.cc.
References empty, errorUpdatingLabel, and Exception.
Referenced by plotting.Plot::clone().
bool GenericMVAComputerCache::update | ( | const PhysicsTools::Calibration::MVAComputerContainer * | calib | ) |
Definition at line 53 of file GenericMVAComputerCache.cc.
References cacheId, PhysicsTools::Calibration::MVAComputer::changed(), computers, empty, errorUpdatingLabel, PhysicsTools::Calibration::MVAComputer::getCacheId(), and initialized.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), GenericMVAJetTagComputer::initialize(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 35 of file GenericMVAComputerCache.h.
Referenced by update().
|
private |
Definition at line 34 of file GenericMVAComputerCache.h.
Referenced by GenericMVAComputerCache(), getComputer(), and update().
|
private |
Definition at line 37 of file GenericMVAComputerCache.h.
Referenced by tkal_create_file_lists._DasCache::dump(), isEmpty(), tkal_create_file_lists._DasCache::load(), and update().
|
private |
Definition at line 38 of file GenericMVAComputerCache.h.
Referenced by getComputer(), isEmpty(), and update().
|
private |
Definition at line 36 of file GenericMVAComputerCache.h.
Referenced by update().