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 &&)=default
 
TrackingRegionsSeedingLayerSetsoperator= (TrackingRegionsSeedingLayerSets const &)=delete
 
size_t regionsSize () const
 
void reserve (size_t s)
 
const SeedingLayerSetsHitsseedingLayerSetsHits () const
 
void swap (TrackingRegionsSeedingLayerSets &other)
 
 TrackingRegionsSeedingLayerSets ()=default
 
 TrackingRegionsSeedingLayerSets (const SeedingLayerSetsHits *seedingLayerSetsHits)
 
 TrackingRegionsSeedingLayerSets (TrackingRegionsSeedingLayerSets &&)=default
 
 TrackingRegionsSeedingLayerSets (TrackingRegionsSeedingLayerSets const &)=delete
 
 ~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

◆ ~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.

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

References regionLayers_, and seedingLayerSetsHits_.

Referenced by cbegin().

◆ cbegin()

const_iterator TrackingRegionsSeedingLayerSets::cbegin ( ) const
inline

Definition at line 83 of file TrackingRegionsSeedingLayerSets.h.

83 { return begin(); }

References begin().

◆ cend()

const_iterator TrackingRegionsSeedingLayerSets::cend ( ) const
inline

Definition at line 85 of file TrackingRegionsSeedingLayerSets.h.

85 { return end(); }

References 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.

70  {
71  regionLayers_.emplace_back(std::move(region), std::move(layerSets));
72  }

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

◆ end()

const_iterator TrackingRegionsSeedingLayerSets::end ( void  ) const
inline

Definition at line 84 of file TrackingRegionsSeedingLayerSets.h.

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

References regionLayers_, and seedingLayerSetsHits_.

Referenced by cend().

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ regionsSize()

size_t TrackingRegionsSeedingLayerSets::regionsSize ( ) const
inline

Definition at line 80 of file TrackingRegionsSeedingLayerSets.h.

80 { return regionLayers_.size(); }

References regionLayers_.

◆ reserve()

void TrackingRegionsSeedingLayerSets::reserve ( size_t  s)
inline

Definition at line 66 of file TrackingRegionsSeedingLayerSets.h.

66 { regionLayers_.reserve(s); }

References regionLayers_, and alignCSCRings::s.

◆ seedingLayerSetsHits()

const SeedingLayerSetsHits& TrackingRegionsSeedingLayerSets::seedingLayerSetsHits ( ) const
inline

Definition at line 79 of file TrackingRegionsSeedingLayerSets.h.

79 { return *seedingLayerSetsHits_; }

References seedingLayerSetsHits_.

◆ swap()

void TrackingRegionsSeedingLayerSets::swap ( TrackingRegionsSeedingLayerSets other)
inline

Definition at line 74 of file TrackingRegionsSeedingLayerSets.h.

74  {
75  std::swap(seedingLayerSetsHits_, other.seedingLayerSetsHits_);
76  regionLayers_.swap(other.regionLayers_);
77  }

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

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
alignCSCRings.s
s
Definition: alignCSCRings.py:92
TrackingRegionsSeedingLayerSets::begin
const_iterator begin() const
Definition: TrackingRegionsSeedingLayerSets.h:82
std::swap
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Definition: DataFrameContainer.h:209
trackingPlots.other
other
Definition: trackingPlots.py:1460
TrackingRegionsSeedingLayerSets::end
const_iterator end() const
Definition: TrackingRegionsSeedingLayerSets.h:84
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:88267
eostools.move
def move(src, dest)
Definition: eostools.py:511
TrackingRegionsSeedingLayerSets::regionLayers_
std::vector< Element > regionLayers_
Definition: TrackingRegionsSeedingLayerSets.h:107
TrackingRegionsSeedingLayerSets::seedingLayerSetsHits
const SeedingLayerSetsHits & seedingLayerSetsHits() const
Definition: TrackingRegionsSeedingLayerSets.h:79
TrackingRegionsSeedingLayerSets::seedingLayerSetsHits_
const SeedingLayerSetsHits * seedingLayerSetsHits_
Definition: TrackingRegionsSeedingLayerSets.h:106