266 return dqm_algorithms::BinHeightThreshold::binStatus::anUndefBin;
270 if(
type==
"GreaterThan")
272 if(bincontent>thresholdRed)
273 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
274 if(bincontent>thresholdGr)
275 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
276 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
280 if(bincontent<thresholdRed)
281 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
282 if(bincontent<thresholdGr)
283 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
284 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
286 if(
type==
"GreaterThanEqual")
289 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
291 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
292 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
294 if(
type==
"LessThanEqual")
297 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
299 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
300 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
302 if(
type==
"redEqual_yellowGreaterThan")
305 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
306 if(bincontent>thresholdGr)
307 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
308 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
310 if(
type==
"redEqual_yellowLessThan")
313 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
314 if(bincontent<thresholdGr)
315 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
316 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
321 return dqm_algorithms::BinHeightThreshold::binStatus::aRedBin;
323 return dqm_algorithms::BinHeightThreshold::binStatus::aYellowBin;
324 return dqm_algorithms::BinHeightThreshold::binStatus::aGreenBin;
326 return dqm_algorithms::BinHeightThreshold::binStatus::anUndefBin;