19 auto comp = [](
const valPair&
a,
const valPair& b) ->
bool {
return a.first < b.first; };
22 if (
getMinCutValue() < 0) std::cout << std::endl <<
"MuonLayerHoughSelector: Negative cuts found!!!" << std::endl;
28 const float pos = std::abs(position);
30 if (cut.first < pos)
return cut.second;
37 std::cout <<
"MuonLayerHoughSelector: cutValues not available, returning invalid value";
float getCutValue(float pos) const
Getter Methods.
virtual ~MuonLayerHoughSelector()
Destructor.
std::vector< std::pair< int, float > > m_cutValues
float getMinCutValue() const
bool passesCutValue(float testValue, float position) const
MuonLayerHoughSelector()=default
Default constructor.
std::pair< int, float > valPair
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.