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

Member Function Documentation

◆ begin()

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

◆ cbegin()

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

Definition at line 65 of file IntermediateHitDoublets.h.

65 { return begin(); }

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

◆ cend()

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

Definition at line 67 of file IntermediateHitDoublets.h.

67 { return end(); }

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

◆ end()

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

Definition at line 66 of file IntermediateHitDoublets.h.

66 { return layerSetsEnd_; }

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

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

◆ layerHitMapCache()

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

Definition at line 62 of file IntermediateHitDoublets.h.

62 { return *cache_; }

References ihd::RegionLayerSets< T >::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().

ihd::RegionLayerSets::region
const TrackingRegion & region() const
Definition: IntermediateHitDoublets.h:61
ihd::RegionLayerSets::layerSetsBegin_
const const_iterator layerSetsBegin_
Definition: IntermediateHitDoublets.h:72
utilities.cache
def cache(function)
Definition: utilities.py:3
ihd::RegionLayerSets::end
const_iterator end() const
Definition: IntermediateHitDoublets.h:66
ihd::RegionLayerSets::cache_
const LayerHitMapCache * cache_
Definition: IntermediateHitDoublets.h:71
ihd::RegionLayerSets::layerSetsEnd_
const const_iterator layerSetsEnd_
Definition: IntermediateHitDoublets.h:73
ihd::RegionLayerSets::begin
const_iterator begin() const
Definition: IntermediateHitDoublets.h:64
ihd::RegionLayerSets::region_
const TrackingRegion * region_
Definition: IntermediateHitDoublets.h:70