CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
TrackingRegionsSeedingLayerSets::const_iterator Class Reference

#include <TrackingRegionsSeedingLayerSets.h>

Public Types

using difference_type = internal_iterator_type::difference_type
 
using internal_iterator_type = std::vector< Element >::const_iterator
 
using value_type = RegionLayers
 

Public Member Functions

 const_iterator (internal_iterator_type iter, const SeedingLayerSetsHits *seedingLayerSetsHits)
 
bool operator!= (const const_iterator &other) const
 
value_type operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
bool operator== (const const_iterator &other) const
 

Private Attributes

internal_iterator_type iter_
 
const SeedingLayerSetsHitsseedingLayerSetsHits_
 

Detailed Description

Definition at line 29 of file TrackingRegionsSeedingLayerSets.h.

Member Typedef Documentation

◆ difference_type

using TrackingRegionsSeedingLayerSets::const_iterator::difference_type = internal_iterator_type::difference_type

Definition at line 33 of file TrackingRegionsSeedingLayerSets.h.

◆ internal_iterator_type

Definition at line 31 of file TrackingRegionsSeedingLayerSets.h.

◆ value_type

Definition at line 32 of file TrackingRegionsSeedingLayerSets.h.

Constructor & Destructor Documentation

◆ const_iterator()

TrackingRegionsSeedingLayerSets::const_iterator::const_iterator ( internal_iterator_type  iter,
const SeedingLayerSetsHits seedingLayerSetsHits 
)
inline

Member Function Documentation

◆ operator!=()

bool TrackingRegionsSeedingLayerSets::const_iterator::operator!= ( const const_iterator other) const
inline

Definition at line 50 of file TrackingRegionsSeedingLayerSets.h.

50 { return !operator==(other); }

References operator==(), and trackingPlots::other.

◆ operator*()

value_type TrackingRegionsSeedingLayerSets::const_iterator::operator* ( void  ) const
inline

Definition at line 38 of file TrackingRegionsSeedingLayerSets.h.

38 { return RegionLayers(&(*iter_), seedingLayerSetsHits_); }

References iter_, and seedingLayerSetsHits_.

◆ operator++() [1/2]

const_iterator& TrackingRegionsSeedingLayerSets::const_iterator::operator++ ( void  )
inline

Definition at line 39 of file TrackingRegionsSeedingLayerSets.h.

39  {
40  ++iter_;
41  return *this;
42  }

References iter_.

◆ operator++() [2/2]

const_iterator TrackingRegionsSeedingLayerSets::const_iterator::operator++ ( int  )
inline

Definition at line 43 of file TrackingRegionsSeedingLayerSets.h.

43  {
44  const_iterator clone(*this);
45  ++(*this);
46  return clone;
47  }

References clone().

◆ operator==()

bool TrackingRegionsSeedingLayerSets::const_iterator::operator== ( const const_iterator other) const
inline

Definition at line 49 of file TrackingRegionsSeedingLayerSets.h.

49 { return iter_ == other.iter_; }

References iter_, and trackingPlots::other.

Referenced by operator!=().

Member Data Documentation

◆ iter_

internal_iterator_type TrackingRegionsSeedingLayerSets::const_iterator::iter_
private

Definition at line 53 of file TrackingRegionsSeedingLayerSets.h.

Referenced by operator*(), operator++(), and operator==().

◆ seedingLayerSetsHits_

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::const_iterator::seedingLayerSetsHits_
private

Definition at line 54 of file TrackingRegionsSeedingLayerSets.h.

Referenced by operator*().

TrackingRegionsSeedingLayerSets::const_iterator::const_iterator
const_iterator(internal_iterator_type iter, const SeedingLayerSetsHits *seedingLayerSetsHits)
Definition: TrackingRegionsSeedingLayerSets.h:35
clone
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
Definition: eve_macros.cc:135
TrackingRegionsSeedingLayerSets::const_iterator::operator==
bool operator==(const const_iterator &other) const
Definition: TrackingRegionsSeedingLayerSets.h:49
trackingPlots.other
other
Definition: trackingPlots.py:1460
TrackingRegionsSeedingLayerSets::const_iterator::iter_
internal_iterator_type iter_
Definition: TrackingRegionsSeedingLayerSets.h:53
TrackingRegionsSeedingLayerSets::seedingLayerSetsHits
const SeedingLayerSetsHits & seedingLayerSetsHits() const
Definition: TrackingRegionsSeedingLayerSets.h:79
TrackingRegionsSeedingLayerSets::const_iterator::seedingLayerSetsHits_
const SeedingLayerSetsHits * seedingLayerSetsHits_
Definition: TrackingRegionsSeedingLayerSets.h:54