CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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.

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_
ihd::RegionIndex::RegionIndex ( RegionIndex &&  )
default

Member Function Documentation

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)
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)
unsigned int ihd::RegionIndex::layerSetBeginIndex ( ) const
inline

Definition at line 30 of file IntermediateHitDoublets.h.

References layerSetBeginIndex_.

30 { return layerSetBeginIndex_; }
unsigned int layerSetBeginIndex_
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
RegionIndex& ihd::RegionIndex::operator= ( RegionIndex &&  )
default
const TrackingRegion& ihd::RegionIndex::region ( ) const
inline

Definition at line 25 of file IntermediateHitDoublets.h.

References region_.

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

Definition at line 23 of file IntermediateHitDoublets.h.

References dataset::end, and layerSetEndIndex_.

unsigned int layerSetEndIndex_
index of the beginning of layer sets of this region
string end
Definition: dataset.py:937

Member Data Documentation

LayerHitMapCache ihd::RegionIndex::cache_
private

pointer to TrackingRegion (owned elsewhere)

Definition at line 35 of file IntermediateHitDoublets.h.

Referenced by layerHitMapCache().

unsigned int ihd::RegionIndex::layerSetBeginIndex_
private

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

Referenced by layerSetEndIndex(), and setLayerSetsEnd().

const TrackingRegion* ihd::RegionIndex::region_
private

Definition at line 34 of file IntermediateHitDoublets.h.

Referenced by region().