CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
edm::refhelper::FindForDetSetRefVector< T, C > Struct Template Reference

#include <DetSetRefVector.h>

Public Types

using first_argument_type = DetSetRefVector< T, C > const &
 
using result_type = T const *
 
using second_argument_type = std::pair< det_id_type, typename DetSet< T >::collection_type::size_type >
 

Public Member Functions

result_type operator() (first_argument_type iContainer, second_argument_type iIndex)
 

Detailed Description

template<typename T, typename C>
struct edm::refhelper::FindForDetSetRefVector< T, C >

Definition at line 294 of file DetSetRefVector.h.

Member Typedef Documentation

template<typename T , typename C >
using edm::refhelper::FindForDetSetRefVector< T, C >::first_argument_type = DetSetRefVector<T,C> const&

Definition at line 297 of file DetSetRefVector.h.

template<typename T , typename C >
using edm::refhelper::FindForDetSetRefVector< T, C >::result_type = T const*

Definition at line 296 of file DetSetRefVector.h.

template<typename T , typename C >
using edm::refhelper::FindForDetSetRefVector< T, C >::second_argument_type = std::pair<det_id_type, typename DetSet<T>::collection_type::size_type>

Definition at line 298 of file DetSetRefVector.h.

Member Function Documentation

template<typename T , typename C >
result_type edm::refhelper::FindForDetSetRefVector< T, C >::operator() ( first_argument_type  iContainer,
second_argument_type  iIndex 
)
inline

Definition at line 300 of file DetSetRefVector.h.

References edm::DetSetRefVector< T, C >::find().

300  {
301  return &(*(iContainer.find(iIndex.first)->data.begin()+iIndex.second));
302  }