27 const std::vector<std::string> &
labels) :
35 for(std::vector<std::string>::const_iterator iter = labels.begin();
36 iter != labels.end(); iter++) {
37 computer->label = *iter;
51 <<
"GenericMVAComputerCache::getComputer Error occurred during update.\n" 53 <<
" not found in MVAComputerContainer." << std::endl;
61 <<
"GenericMVAComputerCache::isEmpty Error occurred during update.\n" 63 <<
" not found in MVAComputerContainer." << std::endl;
77 for(std::vector<IndividualComputer>::iterator iter =
computers.begin();
80 if (iter->label.empty())
92 iter->computer.reset();
97 if (iter->computer.get() &&
98 !computerCalib->
changed(iter->cacheId)) {
104 iter->computer.reset();
110 iter->computer = std::unique_ptr<GenericMVAComputer>(
PhysicsTools::Calibration::MVAComputerContainer::CacheId cacheId
PhysicsTools::Calibration::MVAComputer::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