11 const std::vector<LayerSetIndex> *layerSetIndices,
12 const std::vector<std::string> *layerNames,
13 const std::vector<const DetLayer *>& layerDets):
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.
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::vector< LayerSetIndex > * layerSetIndices_
const std::string & name() const
std::vector< ConstRecHitPointer > Hits
unsigned short LayerIndex
std::vector< HitIndex > layerHitIndices_
std::vector< const DetLayer * > layerDets_
unsigned short nlayers_
Number of layers in a SeedingLayerSet.
std::vector< HitPointer > OwnedHits
const std::vector< std::string > * layerNames_
unsigned short size() const
Get the number of SeedingLayerSets.