#include <MaxMultFilter.h>
Definition at line 12 of file MaxMultFilter.h.
◆ MaxMultFilter() [1/2]
MaxMultFilter::MaxMultFilter |
( |
| ) |
|
|
inline |
◆ MaxMultFilter() [2/2]
MaxMultFilter::MaxMultFilter |
( |
std::size_t |
end, |
|
|
double |
etaMin, |
|
|
double |
etaMax |
|
) |
| |
◆ filter()
Implements IHypoJetVectorFilter.
Definition at line 15 of file MaxMultFilter.cxx.
19 std::copy_if(jv.begin(), jv.end(), std::back_inserter(filtered),
21 return (std::abs(jp->eta())<this->m_etaMax && std::abs(jp->eta())>this->m_etaMin);} );
26 filtered.begin() + nToSort,
30 filtered.resize(nToSort);
◆ toString()
std::string MaxMultFilter::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_end
const std::size_t MaxMultFilter::m_end {0} |
|
private |
◆ m_etaMax
const double MaxMultFilter::m_etaMax {5.} |
|
private |
◆ m_etaMin
const double MaxMultFilter::m_etaMin {0.} |
|
private |
◆ m_nToSort
const long unsigned int MaxMultFilter::m_nToSort {0u} |
|
private |
The documentation for this class was generated from the following files:
void partial_sort(std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, std::reverse_iterator< DataModel_detail::iterator< DVL > > mid, std::reverse_iterator< DataModel_detail::iterator< DVL > > end, Compare comp)
Specialization of partial_sort for DataVector/List.