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

Constructor & Destructor Documentation

◆ LayerPairHitDoublets()

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

Definition at line 147 of file IntermediateHitDoublets.h.

148  : layerPair_(layerSet[0].index(), layerSet[1].index()), doublets_(std::move(doublets)) {}

Member Function Documentation

◆ doublets()

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

Definition at line 154 of file IntermediateHitDoublets.h.

154 { return doublets_; }

References doublets_.

◆ innerLayerIndex()

SeedingLayerSetsHits::LayerIndex IntermediateHitDoublets::LayerPairHitDoublets::innerLayerIndex ( ) const
inline

Definition at line 151 of file IntermediateHitDoublets.h.

151 { return std::get<0>(layerPair_); }

References layerPair_.

◆ layerPair()

const LayerPair& IntermediateHitDoublets::LayerPairHitDoublets::layerPair ( ) const
inline

Definition at line 150 of file IntermediateHitDoublets.h.

150 { return layerPair_; }

References layerPair_.

◆ outerLayerIndex()

SeedingLayerSetsHits::LayerIndex IntermediateHitDoublets::LayerPairHitDoublets::outerLayerIndex ( ) const
inline

Definition at line 152 of file IntermediateHitDoublets.h.

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

References layerPair_.

Member Data Documentation

◆ doublets_

HitDoublets IntermediateHitDoublets::LayerPairHitDoublets::doublets_
private

pair of indices to the layer

Definition at line 158 of file IntermediateHitDoublets.h.

Referenced by doublets().

◆ layerPair_

LayerPair IntermediateHitDoublets::LayerPairHitDoublets::layerPair_
private

Definition at line 157 of file IntermediateHitDoublets.h.

Referenced by innerLayerIndex(), layerPair(), and outerLayerIndex().

IntermediateHitDoublets::LayerPairHitDoublets::doublets_
HitDoublets doublets_
pair of indices to the layer
Definition: IntermediateHitDoublets.h:158
IntermediateHitDoublets::LayerPairHitDoublets::layerPair_
LayerPair layerPair_
Definition: IntermediateHitDoublets.h:157
IntermediateHitDoublets::LayerPairHitDoublets::doublets
const HitDoublets & doublets() const
Definition: IntermediateHitDoublets.h:154
eostools.move
def move(src, dest)
Definition: eostools.py:511
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46