#include <SeedingLayerSetsLooper.h>
Classes | |
class | LayerSet |
class | LayerSetRange |
Public Types | |
using | LayerSetIndex = unsigned short |
Public Member Functions | |
template<typename T > | |
LayerSetRange< T > | makeRange (const T &container) const |
SeedingLayerSetsLooper ()=default | |
SeedingLayerSetsLooper (unsigned short nlayers, const std::vector< LayerSetIndex > *layerSetIndices) | |
Private Attributes | |
const std::vector< LayerSetIndex > * | layerSetIndices_ = nullptr |
unsigned short | nlayers_ = 0 |
Number of layers in a SeedingLayerSet. More... | |
Class to loop over arbitrary containers according to seeding layer sets indices
Definition at line 10 of file SeedingLayerSetsLooper.h.
using SeedingLayerSetsLooper::LayerSetIndex = unsigned short |
Definition at line 12 of file SeedingLayerSetsLooper.h.
|
default |
|
inline |
Constructor.
nlayers | Number of layers in each SeedingLayerSet |
layerSetIndices | Pointer to a vector holding the indices of layer sets (pointer to vector is stored) |
Definition at line 88 of file SeedingLayerSetsLooper.h.
|
inline |
Definition at line 92 of file SeedingLayerSetsLooper.h.
|
private |
Stores SeedingLayerSets as nlayers_ consecutive layer indices. Layer indices point to layerHitRanges_, layerNames_, and layerDets_. Hence layerSetIndices.size() == nlayers_*"number of layer sets"
Definition at line 105 of file SeedingLayerSetsLooper.h.
Referenced by SeedingLayerSetsLooper::LayerSetRange< T >::begin(), and SeedingLayerSetsLooper::LayerSetRange< T >::end().
|
private |
Number of layers in a SeedingLayerSet.
Definition at line 98 of file SeedingLayerSetsLooper.h.
Referenced by SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator*(), and SeedingLayerSetsLooper::LayerSetRange< T >::const_iterator::operator++().