LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
UniqueRangeSet.h File Reference

Class def header for a class UniqueRangeSet. More...

#include <set>
#include <iostream>
#include <exception>
#include "Range.h"

Go to the source code of this file.

Classes

class  util::UniqueRangeSet< T >
 std::set of util::Range, which does not allow any overlap in contained element. std::set<Range> w/ modified insert/emplace function. Original std::set does not allow
modification of element. I assume what we're interested in is "find if the range already \n exists, and merge if it exists". The insert function does that by recursively looking up
overlapping elements w.r.t. input argument of insert function.
More...
 

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 

Detailed Description

Class def header for a class UniqueRangeSet.

Author
kazuhiro

Definition in file UniqueRangeSet.h.