9 #include <dqm_core/AlgorithmManager.h>
29 const dqm_core::ParametersMap& map)
32 dqm_core::ParametersMap::const_iterator iter = map.begin();
33 for ( ; iter != map.end() ; ++iter)
37 else if (mystatus == dqm_core::Result::Yellow) { ++
y; }
39 const double n_problems = (
double)
r + 0.5*(
double)
y;
44 result->tags_[
"RedThresh"] = m_thresholdRed;
45 result->tags_[
"YellowThresh"] = m_thresholdYellow;
46 if ( n_problems > m_thresholdRed)
50 else if (n_problems > m_thresholdYellow)
52 result->status_ = dqm_core::Result::Yellow;