#include <GenericMVAComputerCache.h>
Classes | |
struct | IndividualComputer |
Public Member Functions | |
GenericMVAComputerCache (const std::vector< std::string > &labels) | |
GenericMVAComputer const * | 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 26 of file GenericMVAComputerCache.cc.
References caloDeepCSVTagInfos_cfi::computer, and computers.
GenericMVAComputerCache::~GenericMVAComputerCache | ( | ) |
Definition at line 43 of file GenericMVAComputerCache.cc.
GenericMVAComputer const * GenericMVAComputerCache::getComputer | ( | int | index | ) | const |
Definition at line 47 of file GenericMVAComputerCache.cc.
References computers, errorUpdatingLabel, Exception, and diffTreeTool::index.
Referenced by GenericMVAJetTagComputer::discriminator().
bool GenericMVAComputerCache::isEmpty | ( | void | ) | const |
Definition at line 58 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 68 of file GenericMVAComputerCache.cc.
References cacheId, PhysicsTools::Calibration::MVAComputer::changed(), PhysicsTools::Calibration::MVAComputerContainer::changed(), computers, PhysicsTools::Calibration::MVAComputerContainer::contains(), empty, errorUpdatingLabel, PhysicsTools::Calibration::MVAComputerContainer::find(), PhysicsTools::Calibration::MVAComputer::getCacheId(), PhysicsTools::Calibration::MVAComputerContainer::getCacheId(), and initialized.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), GenericMVAJetTagComputer::initialize(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 36 of file GenericMVAComputerCache.h.
Referenced by update().
|
private |
Definition at line 35 of file GenericMVAComputerCache.h.
Referenced by GenericMVAComputerCache(), getComputer(), and update().
|
private |
Definition at line 38 of file GenericMVAComputerCache.h.
Referenced by mps_create_file_lists._DasCache::dump(), isEmpty(), mps_create_file_lists._DasCache::load(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), Vispa.Gui.VispaWidget.TextField::setAutotruncate(), and update().
|
private |
Definition at line 39 of file GenericMVAComputerCache.h.
Referenced by getComputer(), isEmpty(), and update().
|
private |
Definition at line 37 of file GenericMVAComputerCache.h.
Referenced by update().