|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef DERIVATIONFRAMEWORKTRIGGER_RANGEDITR_H
6 #define DERIVATIONFRAMEWORKTRIGGER_RANGEDITR_H
10 #include <type_traits>
20 using tr = std::iterator_traits<T>;
74 return !(*
this ==
other);
97 #endif //> !DERIVATIONFRAMEWORKTRIGGER_RANGEDITR_H
typename tr::difference_type difference_type
std::bidirectional_iterator_tag iterator_category
RangedItr(const T &begin, const T &end, const T &position)
Construct from a beginning, an end and a starting position.
reference operator*()
Iterator interface.
difference_type size() const
bool operator!=(const RangedItr &other)
utility class that acts wraps a bidirectional iterator.
RangedItr operator--(int)
RangedItr begin() const
Make this act as a range.
bool operator==(const RangedItr &other)
void restart()
Reset this iterator to its start.
std::iterator_traits< T > tr
typename tr::pointer pointer
RangedItr(const T &begin, const T &end)
Construct from a beginning and an end.
RangedItr operator++(int)
bool exhausted() const
Is this iterator exhausted?
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
RangedItr()=default
Default Constructor.