1 #ifndef TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits 2 #define TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits 27 using Hits = std::vector<ConstRecHitPointer>;
100 LayerSetIndex
size()
const {
return end_-begin_; }
115 assert(begin <
size());
116 assert(0 < end && end <=
size());
134 std::vector<LayerSetIndex>::const_iterator
begin_;
135 std::vector<LayerSetIndex>::const_iterator
end_;
176 const std::vector<LayerSetIndex> *layerSetIndices,
177 const std::vector<std::string> *layerNames,
178 const std::vector<const DetLayer *> *layerDets);
199 std::vector<LayerSetIndex>::const_iterator
end = begin+
nlayers_;
222 Hits hits(LayerIndex layerIndex)
const;
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< LayerSetIndex >::const_iterator internal_iterator_type
void addHits(LayerIndex layerIndex, OwnedHits &&hits)
SeedingLayerSet slice(size_t begin, size_t end) const
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)
BaseTrackerRecHit const * ConstRecHitPointer
bool operator!=(const const_iterator &other) const
value_type operator*() const
~SeedingLayerSetsHits()=default
const_iterator cbegin() const
BaseTrackerRecHit const & TkHitRef
SeedingLayerSetsHits()=default
SeedingLayerSetsHits & operator=(SeedingLayerSetsHits const &)=delete
Hits hits(LayerIndex layerIndex) const
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
bool operator==(const QGLikelihoodParameters &lhs, const QGLikelihoodCategory &rhs)
Test if parameters are compatible with category.
SeedingLayer(const SeedingLayerSetsHits *sls, LayerIndex index)
internal_iterator_type iter_
internal_iterator_type::difference_type difference_type
const_iterator begin() const
const std::vector< const DetLayer * > * layerDets_
const SeedingLayerSetsHits * seedingLayerSets_
const SeedingLayerSetsHits * seedingLayerSets_
const std::vector< LayerSetIndex > * layerSetIndices_
const std::string & name() const
std::vector< ConstRecHitPointer > Hits
std::vector< LayerSetIndex >::const_iterator internal_iterator_type
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
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
const_iterator(const SeedingLayerSetsHits *sls, internal_iterator_type iter)
std::vector< HitIndex > layerHitIndices_
unsigned short nlayers_
Number of layers in a SeedingLayerSet.
std::vector< HitPointer > OwnedHits
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