27 const std::vector<std::string> &
labels) :
34 std::vector<IndividualComputer>::iterator computer =
computers.begin();
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::auto_ptr<GenericMVAComputer>(
PhysicsTools::Calibration::MVAComputerContainer::CacheId cacheId
std::string errorUpdatingLabel
MVATrainerComputer * calib
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
volatile std::atomic< bool > shutdown_flag false
tuple size
Write out results.