CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions
edm::CompareRefDetSet< T, C > Struct Template Reference

#include <DetSetRefVector.h>

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().

82  {
83  return iRef.key() < iId;
84  }
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().

85  {
86  return iId < iRef.key();
87  }