26 std::vector<CriteriaItem>::const_iterator it = m_items.begin();
29 while (it != m_items.end()) {
32 bool status = m_HltStoreSvc->
get(it->name, p_itemValue);
33 if (!status)
return false;
35 status = p_itemValue->
getValue(itemValue);
36 if (!status)
return false;
41 if (it->type ==
"MIN") {
42 if (itemValue <= it->value) judge=
false;
43 }
else if (it->type ==
"MAX") {
44 if (itemValue >= it->value) judge=
false;
45 }
else if (it->type ==
"TRUE") {
46 if (fabs(itemValue - it->value) > 0.000001) judge=
false;
47 }
else if (it->type ==
"FALSE") {
48 if (fabs(itemValue - it->value) < 0.000001) judge=
false;
50 std::cout <<
"In HltCriteria::satisfyCriteria() ==> Unvalid CriteriaItemType!" << std::endl;
54 if(it->name ==
"nmuc"){
57 else if(it->name ==
"nmdc"){
60 else if(it->name==
"etot"&&it->type==
"MIN"){
63 else if(it->name==
"etot"&&it->type==
"MAX"){
66 else if(it->name==
"acop"&&it->type==
"MAX"){