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;
17 auto found = std::find_if(thirds.begin(), thirds.end(), [&](
const Layer&
l) {
return l.index() ==
set[2].index(); });
18 if(
found == thirds.end())
19 thirds.push_back(
set[2] );
26 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