CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
edm::refhelper::FindForDetSetVector< T > Class Template Reference

#include <DetSetVector.h>

Public Types

using first_argument_type = const DetSetVector< T > &
 
using result_type = const T *
 
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>
class edm::refhelper::FindForDetSetVector< T >

Definition at line 454 of file DetSetVector.h.

Member Typedef Documentation

template<typename T >
using edm::refhelper::FindForDetSetVector< T >::first_argument_type = const DetSetVector<T>&

Definition at line 456 of file DetSetVector.h.

template<typename T >
using edm::refhelper::FindForDetSetVector< T >::result_type = const T*

Definition at line 458 of file DetSetVector.h.

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

Definition at line 457 of file DetSetVector.h.

Member Function Documentation

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

Definition at line 460 of file DetSetVector.h.

References edm::DetSetVector< T >::find().

460  {
461  return &(*(iContainer.find(iIndex.first)->data.begin()+iIndex.second));
462  }