CMS 3D CMS Logo

Public Types | Public Member Functions

edm::CompareRefDetSet< T, C > Struct Template Reference

#include <DetSetRefVector.h>

List of all members.

Public Types

typedef Ref< C, DetSet< T >
, refhelper::FindDetSetForDetSetVector
< T, C > > 
ref_type

Public Member Functions

bool operator() (const ref_type &iRef, det_id_type iId)
bool operator() (det_id_type iId, const ref_type &iRef)

Detailed Description

template<typename T, typename C = DetSetVector<T>>
struct edm::CompareRefDetSet< T, C >

Definition at line 80 of file DetSetRefVector.h.


Member Typedef Documentation

template<typename T , typename C = DetSetVector<T>>
typedef Ref<C, DetSet<T>, refhelper::FindDetSetForDetSetVector<T,C> > edm::CompareRefDetSet< T, C >::ref_type

Definition at line 81 of file DetSetRefVector.h.


Member Function Documentation

template<typename T , typename C = DetSetVector<T>>
bool edm::CompareRefDetSet< T, C >::operator() ( const ref_type iRef,
det_id_type  iId 
) [inline]

Definition at line 82 of file DetSetRefVector.h.

References edm::Ref< C, T, F >::key().

                                                             {
        return iRef.key() < iId;
      }
template<typename T , typename C = DetSetVector<T>>
bool edm::CompareRefDetSet< T, C >::operator() ( det_id_type  iId,
const ref_type iRef 
) [inline]

Definition at line 85 of file DetSetRefVector.h.

References edm::Ref< C, T, F >::key().

                                                             {
        return iId < iRef.key();
      }