1 #ifndef TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits
2 #define TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits
27 typedef std::vector<ConstRecHitPointer>
Hits;
115 std::vector<LayerSetIndex>::const_iterator
begin_;
116 std::vector<LayerSetIndex>::const_iterator
end_;
157 const std::vector<LayerSetIndex> *layerSetIndices,
158 const std::vector<std::string> *layerNames,
159 const std::vector<const DetLayer *>& layerDets);
174 std::vector<LayerSetIndex>::const_iterator
end = begin+
nlayers_;
internal_iterator_type iter_
const_iterator end() const
LayerSetIndex size() const
Number of layers in this set.
unsigned short numberOfLayersInSet() const
Get number of layers in each SeedingLayerSets.
std::vector< ConstRecHitPointer > rechits_
std::vector< LayerSetIndex >::const_iterator internal_iterator_type
const_iterator(const SeedingLayerSetsHits *sls, internal_iterator_type iter)
const_iterator & operator++()
SeedingLayer operator[](LayerSetIndex index) const
Get a given SeedingLayer (index is between 0 and size()-1)
unsigned short LayerSetIndex
SeedingLayerSet value_type
const_iterator begin() const
const_iterator cend() const
void swap(SeedingLayerSetsHits &other)
bool operator!=(const const_iterator &other) const
value_type operator*() const
const_iterator cbegin() const
void swapHits(std::vector< HitIndex > &layerHitIndices, Hits &hits)
Hits hits(LayerIndex layerIndex) const
TransientTrackingRecHit::ConstRecHitPointer ConstRecHitPointer
std::vector< LayerSetIndex >::const_iterator begin_
const_iterator cend() const
const_iterator operator++(int)
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
SeedingLayerSet operator[](LayerSetIndex index) const
Get the SeedingLayerSet at a given index.
bool operator!=(const const_iterator &other) const
SeedingLayer(const SeedingLayerSetsHits *sls, LayerIndex index)
internal_iterator_type iter_
internal_iterator_type::difference_type difference_type
const_iterator begin() const
const SeedingLayerSetsHits * seedingLayerSets_
const SeedingLayerSetsHits * seedingLayerSets_
const std::vector< LayerSetIndex > * layerSetIndices_
const std::string & name() const
std::vector< LayerSetIndex >::const_iterator internal_iterator_type
std::vector< ConstRecHitPointer > Hits
SeedingLayerSet(const SeedingLayerSetsHits *sls, std::vector< LayerSetIndex >::const_iterator begin, std::vector< LayerSetIndex >::const_iterator end)
const SeedingLayerSetsHits * seedingLayerSets_
unsigned short LayerIndex
const_iterator cbegin() const
internal_iterator_type::difference_type difference_type
const_iterator operator++(int)
bool operator==(const const_iterator &other) const
const DetLayer * detLayer() const
const_iterator(const SeedingLayerSetsHits *sls, internal_iterator_type iter)
std::vector< HitIndex > layerHitIndices_
std::vector< const DetLayer * > layerDets_
unsigned short nlayers_
Number of layers in a SeedingLayerSet.
bool operator==(const const_iterator &other) const
std::vector< LayerSetIndex >::const_iterator end_
const std::vector< std::string > * layerNames_
value_type operator*() const
const SeedingLayerSetsHits * seedingLayerSets_
unsigned short size() const
Get the number of SeedingLayerSets.
const_iterator & operator++()
const_iterator end() const