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

◆ RegionIndex() [1/2]

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

Definition at line 18 of file IntermediateHitDoublets.h.

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

◆ RegionIndex() [2/2]

ihd::RegionIndex::RegionIndex ( RegionIndex &&  )
default

Member Function Documentation

◆ layerHitMapCache() [1/2]

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

Definition at line 27 of file IntermediateHitDoublets.h.

References cache_.

27 { return cache_; }
LayerHitMapCache cache_
pointer to TrackingRegion (owned elsewhere)

◆ layerHitMapCache() [2/2]

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

Definition at line 28 of file IntermediateHitDoublets.h.

References cache_.

28 { return cache_; }
LayerHitMapCache cache_
pointer to TrackingRegion (owned elsewhere)

◆ layerSetBeginIndex()

unsigned int ihd::RegionIndex::layerSetBeginIndex ( ) const
inline

Definition at line 30 of file IntermediateHitDoublets.h.

References layerSetBeginIndex_.

30 { return layerSetBeginIndex_; }
unsigned int layerSetBeginIndex_

◆ layerSetEndIndex()

unsigned int ihd::RegionIndex::layerSetEndIndex ( ) const
inline

Definition at line 31 of file IntermediateHitDoublets.h.

References layerSetEndIndex_.

31 { return layerSetEndIndex_; }
unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region

◆ operator=()

RegionIndex& ihd::RegionIndex::operator= ( RegionIndex &&  )
default

◆ region()

const TrackingRegion& ihd::RegionIndex::region ( ) const
inline

Definition at line 25 of file IntermediateHitDoublets.h.

References region_.

25 { return *region_; }
const TrackingRegion * region_

◆ setLayerSetsEnd()

void ihd::RegionIndex::setLayerSetsEnd ( unsigned int  end)
inline

Definition at line 23 of file IntermediateHitDoublets.h.

References mps_fire::end, and layerSetEndIndex_.

unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region

Member Data Documentation

◆ cache_

LayerHitMapCache ihd::RegionIndex::cache_
private

pointer to TrackingRegion (owned elsewhere)

Definition at line 35 of file IntermediateHitDoublets.h.

Referenced by layerHitMapCache().

◆ layerSetBeginIndex_

unsigned int ihd::RegionIndex::layerSetBeginIndex_
private

Definition at line 36 of file IntermediateHitDoublets.h.

Referenced by layerSetBeginIndex().

◆ layerSetEndIndex_

unsigned int ihd::RegionIndex::layerSetEndIndex_
private

index of the beginning of layer sets of this region

Definition at line 37 of file IntermediateHitDoublets.h.

Referenced by layerSetEndIndex(), and setLayerSetsEnd().

◆ region_

const TrackingRegion* ihd::RegionIndex::region_
private

Definition at line 34 of file IntermediateHitDoublets.h.

Referenced by region().