| OpenMS 2.5.0

Public Types | Public Member Functions | Public Attributes | List of all members
IDFilter::HasGoodScore< HitType > Struct Template Reference

Is the score of this hit at least as good as the given value? More...

`#include <OpenMS/FILTERING/ID/IDFilter.h>`

## Public Types

typedef HitType | argument_type

## Public Member Functions

| HasGoodScore (double score_, bool higher_score_better_)
bool | operator() (const HitType &hit) const

## Public Attributes

double | score
bool | higher_score_better

## Detailed Description

### template<class HitType>
struct OpenMS::IDFilter::HasGoodScore< HitType >

Is the score of this hit at least as good as the given value?

## Member Typedef Documentation

## ◆ argument_type

typedef HitType argument_type

## Constructor & Destructor Documentation

## ◆ HasGoodScore()

HasGoodScore | ( | double | score_,
|  | bool | higher_score_better_
| ) |  |

inline

## Member Function Documentation

## ◆ operator()()

bool operator() | ( | const HitType & | hit | ) | const

inline

## Member Data Documentation

## ◆ higher_score_better

bool higher_score_better

## ◆ score

double score