CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
IntermediateHitTriplets::LayerHitTriplets Class Reference

#include <IntermediateHitTriplets.h>

Public Types

using const_iterator = std::vector< OrderedHitTriplet >::const_iterator
 
using TripletRange = std::pair< std::vector< OrderedHitTriplet >::const_iterator, std::vector< OrderedHitTriplet >::const_iterator >
 

Public Member Functions

const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
const_iterator end () const
 
SeedingLayerSetsHits::LayerIndex innerLayerIndex () const
 
 LayerHitTriplets (const IntermediateHitTriplets *hitSets, const PLayerHitTriplets *layerTriplet)
 
SeedingLayerSetsHits::LayerIndex middleLayerIndex () const
 
SeedingLayerSetsHits::LayerIndex outerLayerIndex () const
 

Private Attributes

const IntermediateHitTripletshitSets_
 
const PLayerHitTripletslayerTriplet_
 

Detailed Description

Helper class providing a nice interface for the hit triplets of a layer triplet.

Definition at line 63 of file IntermediateHitTriplets.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 65 of file IntermediateHitTriplets.h.

◆ TripletRange

Definition at line 71 of file IntermediateHitTriplets.h.

Constructor & Destructor Documentation

◆ LayerHitTriplets()

IntermediateHitTriplets::LayerHitTriplets::LayerHitTriplets ( const IntermediateHitTriplets hitSets,
const PLayerHitTriplets layerTriplet 
)
inline

Definition at line 67 of file IntermediateHitTriplets.h.

68  : hitSets_(hitSets), layerTriplet_(layerTriplet) {}

Member Function Documentation

◆ begin()

const_iterator IntermediateHitTriplets::LayerHitTriplets::begin ( void  ) const
inline

◆ cbegin()

const_iterator IntermediateHitTriplets::LayerHitTriplets::cbegin ( ) const
inline

Definition at line 78 of file IntermediateHitTriplets.h.

78 { return begin(); }

References begin().

◆ cend()

const_iterator IntermediateHitTriplets::LayerHitTriplets::cend ( ) const
inline

Definition at line 80 of file IntermediateHitTriplets.h.

80 { return end(); }

References end().

◆ end()

const_iterator IntermediateHitTriplets::LayerHitTriplets::end ( void  ) const
inline

◆ innerLayerIndex()

SeedingLayerSetsHits::LayerIndex IntermediateHitTriplets::LayerHitTriplets::innerLayerIndex ( ) const
inline

Definition at line 73 of file IntermediateHitTriplets.h.

73 { return std::get<0>(layerTriplet_->layerTriplet()); }

References IntermediateHitTriplets::PLayerHitTriplets::layerTriplet(), and layerTriplet_.

◆ middleLayerIndex()

SeedingLayerSetsHits::LayerIndex IntermediateHitTriplets::LayerHitTriplets::middleLayerIndex ( ) const
inline

Definition at line 74 of file IntermediateHitTriplets.h.

74 { return std::get<1>(layerTriplet_->layerTriplet()); }

References IntermediateHitTriplets::PLayerHitTriplets::layerTriplet(), and layerTriplet_.

◆ outerLayerIndex()

SeedingLayerSetsHits::LayerIndex IntermediateHitTriplets::LayerHitTriplets::outerLayerIndex ( ) const
inline

Definition at line 75 of file IntermediateHitTriplets.h.

75 { return std::get<2>(layerTriplet_->layerTriplet()); }

References IntermediateHitTriplets::PLayerHitTriplets::layerTriplet(), and layerTriplet_.

Member Data Documentation

◆ hitSets_

const IntermediateHitTriplets* IntermediateHitTriplets::LayerHitTriplets::hitSets_
private

Definition at line 83 of file IntermediateHitTriplets.h.

Referenced by begin(), and end().

◆ layerTriplet_

const PLayerHitTriplets* IntermediateHitTriplets::LayerHitTriplets::layerTriplet_
private
IntermediateHitTriplets::LayerHitTriplets::layerTriplet_
const PLayerHitTriplets * layerTriplet_
Definition: IntermediateHitTriplets.h:84
IntermediateHitTriplets::tripletsBegin
std::vector< OrderedHitTriplet >::const_iterator tripletsBegin() const
Definition: IntermediateHitTriplets.h:284
IntermediateHitTriplets::LayerHitTriplets::end
const_iterator end() const
Definition: IntermediateHitTriplets.h:79
IntermediateHitTriplets::LayerHitTriplets::begin
const_iterator begin() const
Definition: IntermediateHitTriplets.h:77
IntermediateHitTriplets::LayerHitTriplets::hitSets_
const IntermediateHitTriplets * hitSets_
Definition: IntermediateHitTriplets.h:83
IntermediateHitTriplets::PLayerHitTriplets::tripletsEnd
unsigned int tripletsEnd() const
Definition: IntermediateHitTriplets.h:49
IntermediateHitTriplets::PLayerHitTriplets::layerTriplet
const LayerTriplet & layerTriplet() const
Definition: IntermediateHitTriplets.h:46
IntermediateHitTriplets::PLayerHitTriplets::tripletsBegin
unsigned int tripletsBegin() const
Definition: IntermediateHitTriplets.h:48