1 #ifndef TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits
2 #define TrackingTools_TransientTrackingRecHit_SeedingLayerSetsHits
14 #if !defined(__CINT__) && !defined(__MAKECINT__) && !defined(__REFLEX__)
35 using Hits = std::vector<ConstRecHitPointer>;
123 std::vector<LayerSetIndex>::const_iterator
begin_;
124 std::vector<LayerSetIndex>::const_iterator
end_;
165 const std::vector<LayerSetIndex> *layerSetIndices,
166 const std::vector<std::string> *layerNames,
167 const std::vector<const DetLayer *>& layerDets);
187 std::vector<LayerSetIndex>::const_iterator
end = begin+
nlayers_;
241 std::vector<BaseTrackerRecHit const*>
rechits_;
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
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
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