CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ihd::RegionIndex Class Reference

#include <IntermediateHitDoublets.h>

Public Member Functions

LayerHitMapCachelayerHitMapCache ()
 
const LayerHitMapCachelayerHitMapCache () const
 
unsigned int layerSetBeginIndex () const
 
unsigned int layerSetEndIndex () const
 
RegionIndexoperator= (RegionIndex &&)=default
 
const TrackingRegionregion () const
 
 RegionIndex (const TrackingRegion *reg, unsigned int ind)
 
 RegionIndex (RegionIndex &&)=default
 
void setLayerSetsEnd (unsigned int end)
 

Private Attributes

LayerHitMapCache cache_
 pointer to TrackingRegion (owned elsewhere) More...
 
unsigned int layerSetBeginIndex_
 
unsigned int layerSetEndIndex_
 index of the beginning of layer sets of this region More...
 
const TrackingRegionregion_
 

Detailed Description

Class to hold TrackingRegion and begin+end indices to a vector of seeding layer sets.

The LayerHitMapCache is also hold here as it is a per-region object.

In practice the vector being indexed can be anything.

Definition at line 16 of file IntermediateHitDoublets.h.

Constructor & Destructor Documentation

ihd::RegionIndex::RegionIndex ( const TrackingRegion reg,
unsigned int  ind 
)
inline

Definition at line 18 of file IntermediateHitDoublets.h.

References operator=().

18  :
19  region_(reg),
22  {}
unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region
unsigned int layerSetBeginIndex_
const TrackingRegion * region_
ihd::RegionIndex::RegionIndex ( RegionIndex &&  )
default

Member Function Documentation

LayerHitMapCache& ihd::RegionIndex::layerHitMapCache ( )
inline

Definition at line 30 of file IntermediateHitDoublets.h.

References cache_.

30 { return cache_; }
LayerHitMapCache cache_
pointer to TrackingRegion (owned elsewhere)
const LayerHitMapCache& ihd::RegionIndex::layerHitMapCache ( ) const
inline

Definition at line 31 of file IntermediateHitDoublets.h.

References cache_.

31 { return cache_; }
LayerHitMapCache cache_
pointer to TrackingRegion (owned elsewhere)
unsigned int ihd::RegionIndex::layerSetBeginIndex ( ) const
inline

Definition at line 33 of file IntermediateHitDoublets.h.

References layerSetBeginIndex_.

33 { return layerSetBeginIndex_; }
unsigned int layerSetBeginIndex_
unsigned int ihd::RegionIndex::layerSetEndIndex ( ) const
inline

Definition at line 34 of file IntermediateHitDoublets.h.

References layerSetEndIndex_.

34 { return layerSetEndIndex_; }
unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region
RegionIndex& ihd::RegionIndex::operator= ( RegionIndex &&  )
default
const TrackingRegion& ihd::RegionIndex::region ( ) const
inline

Definition at line 28 of file IntermediateHitDoublets.h.

References region_.

28 { return *region_; }
const TrackingRegion * region_
void ihd::RegionIndex::setLayerSetsEnd ( unsigned int  end)
inline

Definition at line 26 of file IntermediateHitDoublets.h.

References end, and layerSetEndIndex_.

unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region
#define end
Definition: vmac.h:39

Member Data Documentation

LayerHitMapCache ihd::RegionIndex::cache_
private

pointer to TrackingRegion (owned elsewhere)

Definition at line 38 of file IntermediateHitDoublets.h.

Referenced by layerHitMapCache(), and ihd::RegionLayerSets< T >::layerHitMapCache().

unsigned int ihd::RegionIndex::layerSetBeginIndex_
private

Definition at line 39 of file IntermediateHitDoublets.h.

Referenced by layerSetBeginIndex().

unsigned int ihd::RegionIndex::layerSetEndIndex_
private

index of the beginning of layer sets of this region

Definition at line 40 of file IntermediateHitDoublets.h.

Referenced by layerSetEndIndex(), and setLayerSetsEnd().

const TrackingRegion* ihd::RegionIndex::region_
private

Definition at line 37 of file IntermediateHitDoublets.h.

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