8 #include <dqm_core/AlgorithmManager.h>
12 #include <dqm_core/Result.h>
13 #include <dqm_core/Parameter.h>
35 const dqm_core::ParametersMap & map)
37 dqm_core::ParametersMap::const_iterator iter;
41 unsigned int undefined = 0;
42 unsigned int skipped = 0;
44 for (iter=map.begin();iter!=map.end();++iter){
48 if ( iter->second->getWeight() == 0 )
50 ERS_DEBUG(2,
"Skip result (weight 0): "<<iter->first);
56 if( (
status==
dqm_core::Result::Red && (iter->first ==
"JetBarrel" || iter->first ==
"JetASide" || iter->first ==
"JetCSide" ||iter->first ==
"CaloMonBAR" || iter->first ==
"CaloMonECA" || iter->first ==
"CaloMonECC" )) ||
status==dqm_core::Result::Yellow) {
74 newresult->status_=dqm_core::Result::Yellow;
75 }
else if (
green > 0 ) {
80 newresult->tags_.insert(std::make_pair(
"NumRed",(
double)
red));
81 newresult->tags_.insert(std::make_pair(
"NumYellow",(
double)
yellow));
82 newresult->tags_.insert(std::make_pair(
"NumGreen",(
double)
green));
83 newresult->tags_.insert(std::make_pair(
"NumUndefined",(
double)undefined));
84 newresult->tags_.insert(std::make_pair(
"NumExcluded",(
double)skipped));