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) {}

◆ 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.

27 { return cache_; }

References cache_.

◆ layerHitMapCache() [2/2]

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

Definition at line 28 of file IntermediateHitDoublets.h.

28 { return cache_; }

References cache_.

◆ layerSetBeginIndex()

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

Definition at line 30 of file IntermediateHitDoublets.h.

30 { return layerSetBeginIndex_; }

References layerSetBeginIndex_.

◆ layerSetEndIndex()

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

Definition at line 31 of file IntermediateHitDoublets.h.

31 { return layerSetEndIndex_; }

References layerSetEndIndex_.

◆ operator=()

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

◆ region()

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

Definition at line 25 of file IntermediateHitDoublets.h.

25 { return *region_; }

References region_.

◆ setLayerSetsEnd()

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

Definition at line 23 of file IntermediateHitDoublets.h.

References mps_fire::end, and layerSetEndIndex_.

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().

ihd::RegionIndex::layerSetBeginIndex_
unsigned int layerSetBeginIndex_
Definition: IntermediateHitDoublets.h:36
ihd::RegionIndex::region_
const TrackingRegion * region_
Definition: IntermediateHitDoublets.h:34
mps_fire.end
end
Definition: mps_fire.py:242
ihd::RegionIndex::cache_
LayerHitMapCache cache_
pointer to TrackingRegion (owned elsewhere)
Definition: IntermediateHitDoublets.h:35
ihd::RegionIndex::layerSetEndIndex_
unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region
Definition: IntermediateHitDoublets.h:37