CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
IntermediateHitDoublets::LayerPairHitDoublets Class Reference

#include <IntermediateHitDoublets.h>

Public Member Functions

const HitDoubletsdoublets () const
 
SeedingLayerSetsHits::LayerIndex innerLayerIndex () const
 
const LayerPairlayerPair () const
 
 LayerPairHitDoublets (const SeedingLayerSetsHits::SeedingLayerSet &layerSet, HitDoublets &&doublets)
 
SeedingLayerSetsHits::LayerIndex outerLayerIndex () const
 

Private Attributes

HitDoublets doublets_
 pair of indices to the layer More...
 
LayerPair layerPair_
 

Detailed Description

This class stores the indices of a layer pair, and the doublets generated from there.

The layer indices are those from SeedingLayerSetsHits.

Since the doublets are stored directly here, the same class works nicely for both storage and use.

Definition at line 141 of file IntermediateHitDoublets.h.

Constructor & Destructor Documentation

IntermediateHitDoublets::LayerPairHitDoublets::LayerPairHitDoublets ( const SeedingLayerSetsHits::SeedingLayerSet layerSet,
HitDoublets &&  doublets 
)
inline

Definition at line 143 of file IntermediateHitDoublets.h.

143  :
144  layerPair_(layerSet[0].index(), layerSet[1].index()),
145  doublets_(std::move(doublets))
146  {}
HitDoublets doublets_
pair of indices to the layer
def move(src, dest)
Definition: eostools.py:511

Member Function Documentation

const HitDoublets& IntermediateHitDoublets::LayerPairHitDoublets::doublets ( ) const
inline

Definition at line 152 of file IntermediateHitDoublets.h.

152 { return doublets_; }
HitDoublets doublets_
pair of indices to the layer
SeedingLayerSetsHits::LayerIndex IntermediateHitDoublets::LayerPairHitDoublets::innerLayerIndex ( ) const
inline

Definition at line 149 of file IntermediateHitDoublets.h.

149 { return std::get<0>(layerPair_); }
const LayerPair& IntermediateHitDoublets::LayerPairHitDoublets::layerPair ( ) const
inline
SeedingLayerSetsHits::LayerIndex IntermediateHitDoublets::LayerPairHitDoublets::outerLayerIndex ( ) const
inline

Definition at line 150 of file IntermediateHitDoublets.h.

150 { return std::get<1>(layerPair_); }

Member Data Documentation

HitDoublets IntermediateHitDoublets::LayerPairHitDoublets::doublets_
private

pair of indices to the layer

Definition at line 156 of file IntermediateHitDoublets.h.

LayerPair IntermediateHitDoublets::LayerPairHitDoublets::layerPair_
private

Definition at line 155 of file IntermediateHitDoublets.h.