3 namespace LayerTriplets {
5 std::vector<LayerSetAndLayers>
result;
12 for (
auto ir = result.begin(); ir < result.end(); ++ir) {
14 if (resSet[0].
index() == set[0].index() && resSet[1].index() == set[1].index()) {
15 std::vector<Layer>& thirds = ir->second;
18 std::find_if(thirds.begin(), thirds.end(), [&](
const Layer&
l) {
return l.index() == set[2].index(); });
19 if (
found == thirds.end())
20 thirds.push_back(set[2]);
27 result.push_back(lpl);
unsigned short numberOfLayersInSet() const
Get number of layers in each SeedingLayerSets.
std::vector< LayerSetAndLayers > layers(const SeedingLayerSetsHits &sets)
std::pair< LayerSet, std::vector< Layer > > LayerSetAndLayers