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 139 of file IntermediateHitDoublets.h.

Constructor & Destructor Documentation

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

Definition at line 141 of file IntermediateHitDoublets.h.

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

Member Function Documentation

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

Definition at line 150 of file IntermediateHitDoublets.h.

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

Definition at line 147 of file IntermediateHitDoublets.h.

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

Definition at line 148 of file IntermediateHitDoublets.h.

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

Member Data Documentation

HitDoublets IntermediateHitDoublets::LayerPairHitDoublets::doublets_
private

pair of indices to the layer

Definition at line 154 of file IntermediateHitDoublets.h.

LayerPair IntermediateHitDoublets::LayerPairHitDoublets::layerPair_
private

Definition at line 153 of file IntermediateHitDoublets.h.