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.

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 }

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

◆ region()

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

Definition at line 110 of file TrackingRegionsSeedingLayerSets.h.

110 { return elem_->region(); }

References elem_, and TrackingRegionsSeedingLayerSets::Element::region().

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.

runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:543
TrackingRegionsSeedingLayerSets::RegionLayers::seedingLayerSetsHits_
const SeedingLayerSetsHits * seedingLayerSetsHits_
Definition: TrackingRegionsSeedingLayerSets.h:26
TrackingRegionsSeedingLayerSets::RegionLayers::elem_
const Element * elem_
Definition: TrackingRegionsSeedingLayerSets.h:25
TrackingRegionsSeedingLayerSets::Element::layerSets
const std::vector< SeedingLayerSetsHits::LayerSetIndex > & layerSets() const
Definition: TrackingRegionsSeedingLayerSets.h:99
TrackingRegionsSeedingLayerSets::Element::region
const TrackingRegion & region() const
Definition: TrackingRegionsSeedingLayerSets.h:98
TrackingRegionsSeedingLayerSets::seedingLayerSetsHits
const SeedingLayerSetsHits & seedingLayerSetsHits() const
Definition: TrackingRegionsSeedingLayerSets.h:79