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 | Private Attributes
ihd::RegionLayerSets< T > Class Template Reference

#include <IntermediateHitDoublets.h>

Public Types

using const_iterator = typename std::vector< T >::const_iterator
 

Public Member Functions

const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_iterator end () const
 
const LayerHitMapCachelayerHitMapCache () const
 
const TrackingRegionregion () const
 
template<typename TMP >
 RegionLayerSets (const TrackingRegion *region, const LayerHitMapCache *cache, const TMP *, const_iterator begin, const_iterator end)
 

Private Attributes

const LayerHitMapCachecache_
 
const const_iterator layerSetsBegin_
 
const const_iterator layerSetsEnd_
 
const TrackingRegionregion_
 

Detailed Description

template<typename T>
class ihd::RegionLayerSets< T >

Helper class to provide nice interface to loop over the layer sets of a region

Template Parameters
TConcrete type in a vector<T> actually holding the layer sets

Templatized because used here and in RegionSeedingHitSets

Definition at line 49 of file IntermediateHitDoublets.h.

Member Typedef Documentation

template<typename T >
using ihd::RegionLayerSets< T >::const_iterator = typename std::vector<T>::const_iterator

Definition at line 51 of file IntermediateHitDoublets.h.

Constructor & Destructor Documentation

template<typename T >
template<typename TMP >
ihd::RegionLayerSets< T >::RegionLayerSets ( const TrackingRegion region,
const LayerHitMapCache cache,
const TMP *  ,
const_iterator  begin,
const_iterator  end 
)
inline

Definition at line 55 of file IntermediateHitDoublets.h.

55  :
56  region_(region), cache_(cache), layerSetsBegin_(begin), layerSetsEnd_(end) {}
const_iterator begin() const
const LayerHitMapCache * cache_
const_iterator end() const
const const_iterator layerSetsEnd_
const TrackingRegion * region_
const const_iterator layerSetsBegin_

Member Function Documentation

template<typename T >
const_iterator ihd::RegionLayerSets< T >::begin ( void  ) const
inline
template<typename T >
const_iterator ihd::RegionLayerSets< T >::cbegin ( ) const
inline

Definition at line 62 of file IntermediateHitDoublets.h.

References ihd::RegionLayerSets< T >::begin().

62 { return begin(); }
const_iterator begin() const
template<typename T >
const_iterator ihd::RegionLayerSets< T >::cend ( ) const
inline

Definition at line 64 of file IntermediateHitDoublets.h.

References ihd::RegionLayerSets< T >::end().

64 { return end(); }
const_iterator end() const
template<typename T >
const_iterator ihd::RegionLayerSets< T >::end ( void  ) const
inline
template<typename T >
const LayerHitMapCache& ihd::RegionLayerSets< T >::layerHitMapCache ( ) const
inline

Definition at line 59 of file IntermediateHitDoublets.h.

References ihd::RegionLayerSets< T >::cache_.

59 { return *cache_; }
const LayerHitMapCache * cache_
template<typename T >
const TrackingRegion& ihd::RegionLayerSets< T >::region ( ) const
inline

Member Data Documentation

template<typename T >
const LayerHitMapCache* ihd::RegionLayerSets< T >::cache_
private
template<typename T >
const const_iterator ihd::RegionLayerSets< T >::layerSetsBegin_
private

Definition at line 69 of file IntermediateHitDoublets.h.

Referenced by ihd::RegionLayerSets< T >::begin().

template<typename T >
const const_iterator ihd::RegionLayerSets< T >::layerSetsEnd_
private

Definition at line 70 of file IntermediateHitDoublets.h.

Referenced by ihd::RegionLayerSets< T >::end().

template<typename T >
const TrackingRegion* ihd::RegionLayerSets< T >::region_
private

Definition at line 67 of file IntermediateHitDoublets.h.

Referenced by ihd::RegionLayerSets< T >::region().