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
 
const TrackingRegionregion () const
 
 RegionIndex (const TrackingRegion *reg, unsigned int ind)
 
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.

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

Member Function Documentation

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

Definition at line 28 of file IntermediateHitDoublets.h.

References cache_.

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

Definition at line 29 of file IntermediateHitDoublets.h.

References cache_.

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

Definition at line 31 of file IntermediateHitDoublets.h.

References layerSetBeginIndex_.

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

Definition at line 32 of file IntermediateHitDoublets.h.

References layerSetEndIndex_.

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

Definition at line 26 of file IntermediateHitDoublets.h.

References region_.

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

Definition at line 24 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:37

Member Data Documentation

LayerHitMapCache ihd::RegionIndex::cache_
private

pointer to TrackingRegion (owned elsewhere)

Definition at line 36 of file IntermediateHitDoublets.h.

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

unsigned int ihd::RegionIndex::layerSetBeginIndex_
private

Definition at line 37 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 38 of file IntermediateHitDoublets.h.

Referenced by layerSetEndIndex(), and setLayerSetsEnd().

const TrackingRegion* ihd::RegionIndex::region_
private

Definition at line 35 of file IntermediateHitDoublets.h.

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