1 #ifndef PhysicsTools_IsolationUtils_TauConeIsolationAlgo_h 2 #define PhysicsTools_IsolationUtils_TauConeIsolationAlgo_h 6 #include "PhysicsTools/Utilities/interface/Math.h" 8 template <
typename T,
typename C,
typename M>
17 template <
typename T,
typename C,
typename M>
22 element != elements.
end(); ++element ) {
23 double distance = metric(coneAxis, (*element)->momentum());
25 if ( distance <= coneSize ) {
30 return elementsInCone;
const edm::RefVector< C > operator()(const T &coneAxis, double coneSize, const edm::RefVector< C > &elements, const M &metric) const
const_iterator end() const
Termination of iteration.
const_iterator begin() const
Initialize an iterator over the RefVector.
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.