CMS 3D CMS Logo

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

Definition at line 16 of file TrackingRegionsSeedingLayerSets.h.

Constructor & Destructor Documentation

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

Definition at line 18 of file TrackingRegionsSeedingLayerSets.h.

Member Function Documentation

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 }
tuple ret
prodAgent to be discontinued
const std::vector< SeedingLayerSetsHits::LayerSetIndex > & layerSets() const
const TrackingRegion & TrackingRegionsSeedingLayerSets::RegionLayers::region ( ) const
inline

Member Data Documentation

const Element* TrackingRegionsSeedingLayerSets::RegionLayers::elem_
private

Definition at line 25 of file TrackingRegionsSeedingLayerSets.h.

Referenced by region().

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::RegionLayers::seedingLayerSetsHits_
private

Definition at line 26 of file TrackingRegionsSeedingLayerSets.h.