CMS 3D CMS Logo

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 48 of file IntermediateHitDoublets.h.

Member Typedef Documentation

◆ const_iterator

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

Definition at line 50 of file IntermediateHitDoublets.h.

Constructor & Destructor Documentation

◆ RegionLayerSets()

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 54 of file IntermediateHitDoublets.h.

const LayerHitMapCache * cache_
const const_iterator layerSetsEnd_
const_iterator begin() const
const TrackingRegion * region_
const TrackingRegion & region() const
def cache(function)
Definition: utilities.py:3
const const_iterator layerSetsBegin_
const_iterator end() const

Member Function Documentation

◆ begin()

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

Definition at line 64 of file IntermediateHitDoublets.h.

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

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

64 { return layerSetsBegin_; }
const const_iterator layerSetsBegin_

◆ cbegin()

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

Definition at line 65 of file IntermediateHitDoublets.h.

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

65 { return begin(); }
const_iterator begin() const

◆ cend()

template<typename T >
const_iterator ihd::RegionLayerSets< T >::cend ( ) const
inline

Definition at line 67 of file IntermediateHitDoublets.h.

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

67 { return end(); }
const_iterator end() const

◆ end()

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

Definition at line 66 of file IntermediateHitDoublets.h.

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

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

66 { return layerSetsEnd_; }
const const_iterator layerSetsEnd_

◆ layerHitMapCache()

template<typename T >
const LayerHitMapCache& ihd::RegionLayerSets< T >::layerHitMapCache ( ) const
inline

Definition at line 62 of file IntermediateHitDoublets.h.

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

62 { return *cache_; }
const LayerHitMapCache * cache_

◆ region()

template<typename T >
const TrackingRegion& ihd::RegionLayerSets< T >::region ( ) const
inline

Member Data Documentation

◆ cache_

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

◆ layerSetsBegin_

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

Definition at line 72 of file IntermediateHitDoublets.h.

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

◆ layerSetsEnd_

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

Definition at line 73 of file IntermediateHitDoublets.h.

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

◆ region_

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

Definition at line 70 of file IntermediateHitDoublets.h.

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