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_ = 0
 

Detailed Description

Definition at line 10 of file TrackingRegionsSeedingLayerSets.h.

Constructor & Destructor Documentation

TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( )
default
TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( const SeedingLayerSetsHits seedingLayerSetsHits)
inlineexplicit

Definition at line 53 of file TrackingRegionsSeedingLayerSets.h.

References operator=(), TrackingRegionsSeedingLayerSets(), and ~TrackingRegionsSeedingLayerSets().

53  :
54  seedingLayerSetsHits_(seedingLayerSetsHits)
55  {}
const SeedingLayerSetsHits * seedingLayerSetsHits_
TrackingRegionsSeedingLayerSets::~TrackingRegionsSeedingLayerSets ( )
default
TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( TrackingRegionsSeedingLayerSets const &  )
delete
TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( TrackingRegionsSeedingLayerSets &&  )
default

Member Function Documentation

const_iterator TrackingRegionsSeedingLayerSets::begin ( void  ) const
inline
const_iterator TrackingRegionsSeedingLayerSets::cbegin ( ) const
inline

Definition at line 79 of file TrackingRegionsSeedingLayerSets.h.

References begin().

79 { return begin(); }
const_iterator TrackingRegionsSeedingLayerSets::cend ( ) const
inline

Definition at line 81 of file TrackingRegionsSeedingLayerSets.h.

References end().

81 { return end(); }
void TrackingRegionsSeedingLayerSets::emplace_back ( std::unique_ptr< TrackingRegion > &&  region,
std::vector< SeedingLayerSetsHits::LayerSetIndex > &&  layerSets 
)
inline

Definition at line 65 of file TrackingRegionsSeedingLayerSets.h.

References eostools::move(), TrackingRegionsSeedingLayerSets::RegionLayers::region(), and regionLayers_.

66  {
67  regionLayers_.emplace_back(std::move(region), std::move(layerSets));
68  }
def move(src, dest)
Definition: eostools.py:510
const_iterator TrackingRegionsSeedingLayerSets::end ( void  ) const
inline
TrackingRegionsSeedingLayerSets& TrackingRegionsSeedingLayerSets::operator= ( TrackingRegionsSeedingLayerSets const &  )
delete
TrackingRegionsSeedingLayerSets& TrackingRegionsSeedingLayerSets::operator= ( TrackingRegionsSeedingLayerSets &&  )
default
size_t TrackingRegionsSeedingLayerSets::regionsSize ( ) const
inline

Definition at line 76 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_.

76 { return regionLayers_.size(); }
void TrackingRegionsSeedingLayerSets::reserve ( size_t  s)
inline

Definition at line 62 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_.

const SeedingLayerSetsHits& TrackingRegionsSeedingLayerSets::seedingLayerSetsHits ( ) const
inline
void TrackingRegionsSeedingLayerSets::swap ( TrackingRegionsSeedingLayerSets other)
inline

Definition at line 70 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_, TrackingRegionsSeedingLayerSets::RegionLayers::seedingLayerSetsHits_, seedingLayerSetsHits_, and std::swap().

70  {
72  regionLayers_.swap(other.regionLayers_);
73  }
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
const SeedingLayerSetsHits * seedingLayerSetsHits_

Member Data Documentation

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

Definition at line 103 of file TrackingRegionsSeedingLayerSets.h.

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

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::seedingLayerSetsHits_ = 0
private

Definition at line 102 of file TrackingRegionsSeedingLayerSets.h.

Referenced by swap().