10 const std::vector<LayerSetIndex> *layerSetIndices,
11 const std::vector<std::string> *layerNames,
12 const std::vector<const DetLayer *> *layerDets)
13 : nlayers_(
nlayers), layerSetIndices_(layerSetIndices), layerNames_(layerNames), layerDets_(layerDets) {
22 <<
"SeedingLayerSetsHits::addHits() must be called in the order of the layers, got layer " << layerIndex
48 ss <<
" " << iLayers <<
": ";
50 for (
unsigned iLayer = 0; iLayer <
layers.size(); ++iLayer) {
52 ss <<
layer.name() <<
" (" <<
layer.index() <<
", nhits " <<
layer.hits().size() <<
") ";
const_iterator begin() const
void addHits(LayerIndex layerIndex, OwnedHits &&hits)
ret
prodAgent to be discontinued
unsigned short LayerSetIndex
unsigned short size() const
Get the number of SeedingLayerSets.
SeedingLayerSetsHits()=default
unsigned short numberOfLayersInSet() const
Get number of layers in each SeedingLayerSets.
std::vector< ConstRecHitPointer > Hits
unsigned short LayerIndex
const_iterator end() const
std::vector< HitIndex > layerHitIndices_
Hits hits(LayerIndex layerIndex) const
std::vector< HitPointer > OwnedHits
SeedingLayerSet operator[](LayerSetIndex index) const
Get the SeedingLayerSet at a given index.