1 #ifndef TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits 2 #define TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits 34 using Hits = std::vector<ConstRecHitPointer>;
122 assert(begin <
size());
123 assert(0 < end && end <=
size());
141 std::vector<LayerSetIndex>::const_iterator
begin_;
142 std::vector<LayerSetIndex>::const_iterator
end_;
183 const std::vector<LayerSetIndex> *layerSetIndices,
184 const std::vector<std::string> *layerNames,
185 const std::vector<const DetLayer *>& layerDets);
205 std::vector<LayerSetIndex>::const_iterator
end = begin+
nlayers_;
228 Hits hits(LayerIndex layerIndex)
const;
internal_iterator_type iter_
void swapHits(std::vector< HitIndex > &layerHitIndices, OwnedHits &hits)
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
std::vector< l1t::Jet >::iterator end_
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
const_iterator cbegin() const
BaseTrackerRecHit const & TkHitRef
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 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_
std::vector< const DetLayer * > layerDets_
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