CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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::TrackingRegionsSeedingLayerSets ( )
default
TrackingRegionsSeedingLayerSets::TrackingRegionsSeedingLayerSets ( const SeedingLayerSetsHits seedingLayerSetsHits)
inlineexplicit

Definition at line 58 of file TrackingRegionsSeedingLayerSets.h.

59  : seedingLayerSetsHits_(seedingLayerSetsHits) {}
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

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_
const_iterator TrackingRegionsSeedingLayerSets::cbegin ( ) const
inline

Definition at line 83 of file TrackingRegionsSeedingLayerSets.h.

References begin().

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

Definition at line 85 of file TrackingRegionsSeedingLayerSets.h.

References end().

85 { return end(); }
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_FULL_cff::region, and regionLayers_.

70  {
71  regionLayers_.emplace_back(std::move(region), std::move(layerSets));
72  }
def move
Definition: eostools.py:511
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_
TrackingRegionsSeedingLayerSets& TrackingRegionsSeedingLayerSets::operator= ( TrackingRegionsSeedingLayerSets const &  )
delete
TrackingRegionsSeedingLayerSets& TrackingRegionsSeedingLayerSets::operator= ( TrackingRegionsSeedingLayerSets &&  )
default
size_t TrackingRegionsSeedingLayerSets::regionsSize ( ) const
inline

Definition at line 80 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_.

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

Definition at line 66 of file TrackingRegionsSeedingLayerSets.h.

References regionLayers_.

66 { regionLayers_.reserve(s); }
const SeedingLayerSetsHits& TrackingRegionsSeedingLayerSets::seedingLayerSetsHits ( ) const
inline

Definition at line 79 of file TrackingRegionsSeedingLayerSets.h.

References seedingLayerSetsHits_.

79 { return *seedingLayerSetsHits_; }
const SeedingLayerSetsHits * seedingLayerSetsHits_
void TrackingRegionsSeedingLayerSets::swap ( TrackingRegionsSeedingLayerSets other)
inline

Definition at line 74 of file TrackingRegionsSeedingLayerSets.h.

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

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

Member Data Documentation

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

Definition at line 107 of file TrackingRegionsSeedingLayerSets.h.

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

const SeedingLayerSetsHits* TrackingRegionsSeedingLayerSets::seedingLayerSetsHits_ = nullptr
private