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__) 61 const_iterator
begin()
const {
return data.begin(); }
62 const_iterator
end()
const {
return data.end(); }
91 return x.detId() < y.detId();
97 operator< (DetSet<T>
const&
x, det_id_type y) {
104 operator< (det_id_type x, DetSet<T>
const& y) {
105 return x < y.detId();
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.
Container::value_type value_type
collection_type::value_type value_type
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
def template(fileName, svg, replaceme="REPLACEME")
collection_type::reference reference
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)