#include <ElementsInAnnulus.h>
Public Member Functions | |
ElementsInAnnulus () | |
const edm::RefVector< C > | operator() (const T &coneAxis, const M &innerconeMetric, double innerconeSize, const N &outerconeMetric, double outerconeSize, const edm::RefVector< C > &elements) const |
~ElementsInAnnulus () |
Definition at line 10 of file ElementsInAnnulus.h.
ElementsInAnnulus< T, M, N, C >::ElementsInAnnulus | ( | ) | [inline] |
Definition at line 12 of file ElementsInAnnulus.h.
{}
ElementsInAnnulus< T, M, N, C >::~ElementsInAnnulus | ( | ) | [inline] |
Definition at line 13 of file ElementsInAnnulus.h.
{}
const edm::RefVector<C> ElementsInAnnulus< T, M, N, C >::operator() | ( | const T & | coneAxis, |
const M & | innerconeMetric, | ||
double | innerconeSize, | ||
const N & | outerconeMetric, | ||
double | outerconeSize, | ||
const edm::RefVector< C > & | elements | ||
) | const [inline] |
Definition at line 14 of file ElementsInAnnulus.h.
{ edm::RefVector<C> elementsInBand; for(typename edm::RefVector<C>::const_iterator element=elements.begin();element!=elements.end();++element) { double innerconeMetric_distance=innerconeMetric(coneAxis,(*element)->momentum()); double outerconeMetric_distance=outerconeMetric(coneAxis,(*element)->momentum()); if (innerconeMetric_distance>innerconeSize && outerconeMetric_distance<=outerconeSize)elementsInBand.push_back(*element); } return elementsInBand; }