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 82 of file DetSetRefVector.h.

Member Typedef Documentation

◆ ref_type

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 83 of file DetSetRefVector.h.

Member Function Documentation

◆ operator()() [1/2]

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

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

84 { return iRef.key() < iId; }

◆ operator()() [2/2]

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