11 const std::vector<LayerSetIndex> *layerSetIndices,
12 const std::vector<std::string> *layerNames,
13 const std::vector<const DetLayer *>& layerDets):
15 layerSetIndices_(layerSetIndices),
16 layerNames_(layerNames),
36 ret.reserve(end-begin);
44 ss <<
"SeedingLayerSetsHits with " <<
numberOfLayersInSet() <<
" layers in each LayerSets, LayerSets has " <<
size() <<
" items\n";
46 ss <<
" " << iLayers <<
": ";
48 for(
unsigned iLayer=0; iLayer<layers.
size(); ++iLayer) {
50 ss << layer.
name() <<
" (" << layer.
index() <<
", nhits " << layer.
hits().size() <<
") ";
54 LogDebug(
"SeedingLayerSetsHits") << ss.str();
void swapHits(std::vector< HitIndex > &layerHitIndices, OwnedHits &hits)
const_iterator end() const
LayerSetIndex size() const
Number of layers in this set.
tuple ret
prodAgent to be discontinued
unsigned short numberOfLayersInSet() const
Get number of layers in each SeedingLayerSets.
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
unsigned short LayerSetIndex
const_iterator begin() const
Hits hits(LayerIndex layerIndex) const
SeedingLayerSet operator[](LayerSetIndex index) const
Get the SeedingLayerSet at a given index.
const std::string & name() const
std::vector< ConstRecHitPointer > Hits
unsigned short LayerIndex
std::vector< HitIndex > layerHitIndices_
std::vector< HitPointer > OwnedHits
unsigned short size() const
Get the number of SeedingLayerSets.