CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
TrackingRegionsSeedingLayerSets Class Reference

#include <TrackingRegionsSeedingLayerSets.h>

Classes

class  const_iterator
 
class  Element
 
class  RegionLayers
 

Public Member Functions

const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
void emplace_back (std::unique_ptr< TrackingRegion > &&region, std::vector< SeedingLayerSetsHits::LayerSetIndex > &&layerSets)
 
const_iterator end () const
 
TrackingRegionsSeedingLayerSetsoperator= (TrackingRegionsSeedingLayerSets const &)=delete
 
TrackingRegionsSeedingLayerSetsoperator= (TrackingRegionsSeedingLayerSets &&)=default
 
size_t regionsSize () const
 
void reserve (size_t s)
 
const SeedingLayerSetsHitsseedingLayerSetsHits () const
 
void swap (TrackingRegionsSeedingLayerSets &other)
 
 TrackingRegionsSeedingLayerSets ()=default
 
 TrackingRegionsSeedingLayerSets (const SeedingLayerSetsHits *seedingLayerSetsHits)
 
 TrackingRegionsSeedingLayerSets (TrackingRegionsSeedingLayerSets const &)=delete
 
 TrackingRegionsSeedingLayerSets (TrackingRegionsSeedingLayerSets &&)=default
 
 ~TrackingRegionsSeedingLayerSets ()=default
 

Private Attributes

std::vector< ElementregionLayers_
 
const SeedingLayerSetsHitsseedingLayerSetsHits_ = nullptr
 

Detailed Description

Definition at line 10 of file TrackingRegionsSeedingLayerSets.h.

Constructor & Destructor Documentation

◆ TrackingRegionsSeedingLayerSets() [1/4]

TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( )
default

◆ TrackingRegionsSeedingLayerSets() [2/4]

TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( const SeedingLayerSetsHits seedingLayerSetsHits)
inlineexplicit

Definition at line 58 of file TrackingRegionsSeedingLayerSets.h.

◆ ~TrackingRegionsSeedingLayerSets()

TrackingRegionsSeedingLayerSets::~TrackingRegionsSeedingLayerSets ( )
default

◆ TrackingRegionsSeedingLayerSets() [3/4]

TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( TrackingRegionsSeedingLayerSets const &  )
delete

◆ TrackingRegionsSeedingLayerSets() [4/4]

TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( TrackingRegionsSeedingLayerSets &&  )
default

Member Function Documentation

◆ begin()

const_iterator TrackingRegionsSeedingLayerSets::begin ( void  ) const
inline

Definition at line 82 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_, and seedingLayerSetsHits_.

Referenced by cbegin().

82 { return const_iterator(regionLayers_.begin(), seedingLayerSetsHits_); }
const SeedingLayerSetsHits * seedingLayerSetsHits_

◆ cbegin()

const_iterator TrackingRegionsSeedingLayerSets::cbegin ( ) const
inline

Definition at line 83 of file TrackingRegionsSeedingLayerSets.h.

References begin().

83 { return begin(); }

◆ cend()

const_iterator TrackingRegionsSeedingLayerSets::cend ( ) const
inline

Definition at line 85 of file TrackingRegionsSeedingLayerSets.h.

References end().

85 { return end(); }

◆ emplace_back()

void TrackingRegionsSeedingLayerSets::emplace_back ( std::unique_ptr< TrackingRegion > &&  region,
std::vector< SeedingLayerSetsHits::LayerSetIndex > &&  layerSets 
)
inline

Definition at line 69 of file TrackingRegionsSeedingLayerSets.h.

References eostools::move(), HLT_2022v11_cff::region, and regionLayers_.

70  {
71  regionLayers_.emplace_back(std::move(region), std::move(layerSets));
72  }
def move(src, dest)
Definition: eostools.py:511

◆ end()

const_iterator TrackingRegionsSeedingLayerSets::end ( void  ) const
inline

Definition at line 84 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_, and seedingLayerSetsHits_.

Referenced by cend().

84 { return const_iterator(regionLayers_.end(), seedingLayerSetsHits_); }
const SeedingLayerSetsHits * seedingLayerSetsHits_

◆ operator=() [1/2]

TrackingRegionsSeedingLayerSets& TrackingRegionsSeedingLayerSets::operator= ( TrackingRegionsSeedingLayerSets const &  )
delete

◆ operator=() [2/2]

TrackingRegionsSeedingLayerSets& TrackingRegionsSeedingLayerSets::operator= ( TrackingRegionsSeedingLayerSets &&  )
default

◆ regionsSize()

size_t TrackingRegionsSeedingLayerSets::regionsSize ( ) const
inline

Definition at line 80 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_.

80 { return regionLayers_.size(); }

◆ reserve()

void TrackingRegionsSeedingLayerSets::reserve ( size_t  s)
inline

Definition at line 66 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_, and alignCSCRings::s.

◆ seedingLayerSetsHits()

const SeedingLayerSetsHits& TrackingRegionsSeedingLayerSets::seedingLayerSetsHits ( ) const
inline

Definition at line 79 of file TrackingRegionsSeedingLayerSets.h.

References seedingLayerSetsHits_.

79 { return *seedingLayerSetsHits_; }
const SeedingLayerSetsHits * seedingLayerSetsHits_

◆ swap()

void TrackingRegionsSeedingLayerSets::swap ( TrackingRegionsSeedingLayerSets other)
inline

Definition at line 74 of file TrackingRegionsSeedingLayerSets.h.

References trackingPlots::other, regionLayers_, seedingLayerSetsHits_, and std::swap().

74  {
75  std::swap(seedingLayerSetsHits_, other.seedingLayerSetsHits_);
76  regionLayers_.swap(other.regionLayers_);
77  }
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
const SeedingLayerSetsHits * seedingLayerSetsHits_

Member Data Documentation

◆ regionLayers_

std::vector<Element> TrackingRegionsSeedingLayerSets::regionLayers_
private

Definition at line 107 of file TrackingRegionsSeedingLayerSets.h.

Referenced by begin(), emplace_back(), end(), regionsSize(), reserve(), and swap().

◆ seedingLayerSetsHits_

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::seedingLayerSetsHits_ = nullptr
private