1 #ifndef DataFormats_Common_DetSet_h
2 #define DataFormats_Common_DetSet_h
32 typedef typename collection_type::iterator
iterator;
41 #if defined( __GXX_EXPERIMENTAL_CXX0X__)
44 DetSet<T> & operator=(DetSet<T>
const & rh) {
52 DetSet<T> & operator=(DetSet<T> && rh)
noexcept {
91 return x.detId() < y.detId();
104 operator< (det_id_type x, DetSet<T>
const& y) {
105 return x < y.detId();
112 data.swap(other.data);
std::vector< T > collection_type
void push_back(const T &t)
collection_type::iterator iterator
det_id_type detId() const
const_iterator begin() const
reference operator[](size_type i)
#define CMS_CLASS_VERSION(_version_)
DetSet(det_id_type i)
constructor by detector identifier
T x() const
Cartesian x coordinate.
collection_type::value_type value_type
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
collection_type::reference reference
Container::value_type value_type
const_iterator end() const
DetSet()
default constructor
const_reference operator[](size_type i) const
collection_type::size_type size_type
collection_type::const_reference const_reference
collection_type::const_iterator const_iterator
void swap(DetSet< T > &other)