26 for (std::vector<std::string>::const_iterator iter = labels.begin(); iter != labels.end(); iter++) {
27 computer->label = *iter;
38 <<
"GenericMVAComputerCache::getComputer Error occurred during update.\n"
39 <<
"Calibration record " <<
errorUpdatingLabel <<
" not found in MVAComputerContainer." << std::endl;
47 <<
"GenericMVAComputerCache::isEmpty Error occurred during update.\n"
48 <<
"Calibration record " <<
errorUpdatingLabel <<
" not found in MVAComputerContainer." << std::endl;
61 for (std::vector<IndividualComputer>::iterator iter =
computers.begin(); iter !=
computers.end(); iter++) {
63 if (iter->label.empty())
75 iter->computer.reset();
80 if (iter->computer.get() && !computerCalib->
changed(iter->cacheId)) {
86 iter->computer.reset();
92 iter->computer = std::make_unique<GenericMVAComputer>(computerCalib);
PhysicsTools::Calibration::MVAComputerContainer::CacheId cacheId
std::string errorUpdatingLabel
bool update(const PhysicsTools::Calibration::MVAComputerContainer *calib)
GenericMVAComputerCache(const std::vector< std::string > &labels)
GenericMVAComputer const * getComputer(int index) const
~GenericMVAComputerCache()
std::vector< IndividualComputer > computers
tuple size
Write out results.