1 #ifndef ElementsInEllipseRef_h 2 #define ElementsInEllipseRef_h 8 template <
typename T,
typename C>
19 if(distance <= 1.)elementsInEllipse.
push_back(*element);
20 else elementsOutEllipse.
push_back(*element);
22 std::pair<edm::RefVector<C>,
edm::RefVector<C> > theInOutPair(elementsInEllipse, elementsOutEllipse);
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
const std::pair< edm::RefVector< C >, edm::RefVector< C > > operator()(const T &axis, double rPhi, double rEta, const edm::RefVector< C > &elements) const
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
double ellipse(const T1 &t1, const T2 &t2, double rPhi, double rEta)