CMS 3D CMS Logo

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 84 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 85 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 86 of file DetSetRefVector.h.

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

86  {
87  return iRef.key() < iId;
88  }
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 89 of file DetSetRefVector.h.

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

89  {
90  return iId < iRef.key();
91  }