1 #ifndef __JTOOLS__JHASHSET__
2 #define __JTOOLS__JHASHSET__
17 namespace JPP {
using namespace JTOOLS; }
29 template<
class JElement_t,
class JEvaluator_t = JHashEvaluator>
43 typedef typename container_type::iterator
iterator;
87 JHashSet(
const JEvaluator_t& evaluator = JEvaluator_t()) :
101 const int ival = this->
getValue(element);
103 if (!this->
router.has(ival)) {
105 iterator p = container_type::insert(lower_bound(this->begin(), this->end(), element,
compare), element);
109 for (
iterator i = p; ++i != this->end(); ) {
std::vector< T >::difference_type distance(typename std::vector< T >::const_iterator first, typename PhysicsEvent::const_iterator< T > second)
Specialisation of STL distance.
General purpose class for a hash collection of unique elements.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first