1 #ifndef RecoPixelVertexing_PixelTriplets_IntermediateHitTriplets_h 2 #define RecoPixelVertexing_PixelTriplets_IntermediateHitTriplets_h 24 using LayerPair = std::tuple<SeedingLayerSetsHits::LayerIndex, SeedingLayerSetsHits::LayerIndex>;
26 std::tuple<SeedingLayerSetsHits::LayerIndex, SeedingLayerSetsHits::LayerIndex, SeedingLayerSetsHits::LayerIndex>;
71 std::pair<std::vector<OrderedHitTriplet>::const_iterator, std::vector<OrderedHitTriplet>::const_iterator>;
203 const std::vector<SeedingLayerSetsHits::SeedingLayer> &thirdLayers,
205 const std::vector<int> &thirdLayerIndex,
206 const std::vector<size_t> &permutations) {
207 assert(triplets.
size() == thirdLayerIndex.size());
208 assert(triplets.
size() == permutations.size());
210 if (triplets.empty()) {
215 for (
size_t i = 0,
size = permutations.size();
i <
size; ++
i) {
219 const size_t realIndex = permutations[
i];
221 const int layer = thirdLayerIndex[realIndex];
222 if (
layer != prevLayer) {
252 void reserve(
size_t nregions,
size_t nlayersets,
size_t ntriplets) {
291 std::vector<PLayerHitTriplets>
constexpr std::array< uint8_t, layerIndexSize > layer
unsigned short LayerIndex
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
unsigned int size() const override