CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
TrackingRegionsSeedingLayerSets::RegionLayers Class Reference

#include <TrackingRegionsSeedingLayerSets.h>

Public Types

using SeedingLayerSet = SeedingLayerSetsHits::SeedingLayerSet
 

Public Member Functions

std::vector< SeedingLayerSetlayerPairs () const
 
const TrackingRegionregion () const
 
 RegionLayers (const Element *elem, const SeedingLayerSetsHits *seedingLayerSetsHits)
 

Private Attributes

const Elementelem_
 
const SeedingLayerSetsHitsseedingLayerSetsHits_
 

Detailed Description

Definition at line 14 of file TrackingRegionsSeedingLayerSets.h.

Member Typedef Documentation

◆ SeedingLayerSet

Definition at line 16 of file TrackingRegionsSeedingLayerSets.h.

Constructor & Destructor Documentation

◆ RegionLayers()

TrackingRegionsSeedingLayerSets::RegionLayers::RegionLayers ( const Element elem,
const SeedingLayerSetsHits seedingLayerSetsHits 
)
inline

Member Function Documentation

◆ layerPairs()

std::vector< TrackingRegionsSeedingLayerSets::RegionLayers::SeedingLayerSet > TrackingRegionsSeedingLayerSets::RegionLayers::layerPairs ( ) const
inline

Definition at line 113 of file TrackingRegionsSeedingLayerSets.h.

References runTheMatrix::ret, and TrackingRegionsSeedingLayerSets::seedingLayerSetsHits_.

113  {
114  std::vector<SeedingLayerSet> ret; // TODO: get rid of the vector with more boilerplate code (sigh)
115 
116  const auto& layerSets = elem_->layerSets();
117  ret.reserve(layerSets.size());
118  for (const auto& ind : layerSets) {
119  ret.push_back((*seedingLayerSetsHits_)[ind]);
120  }
121  return ret;
122 }
ret
prodAgent to be discontinued
const std::vector< SeedingLayerSetsHits::LayerSetIndex > & layerSets() const

◆ region()

const TrackingRegion & TrackingRegionsSeedingLayerSets::RegionLayers::region ( ) const
inline

Member Data Documentation

◆ elem_

const Element* TrackingRegionsSeedingLayerSets::RegionLayers::elem_
private

Definition at line 25 of file TrackingRegionsSeedingLayerSets.h.

Referenced by region().

◆ seedingLayerSetsHits_

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::RegionLayers::seedingLayerSetsHits_
private

Definition at line 26 of file TrackingRegionsSeedingLayerSets.h.