6 #include <DD4hep/Filter.h>
9 for (
int subdet = 1; subdet <= 6; ++subdet) {
10 std::stringstream sstm;
11 sstm <<
"Subdetector" << subdet;
17 putOne(subdet, subdetPars, ptp);
28 for (
int subdet = 1; subdet <= 6; ++subdet) {
29 const auto&
v = vmap.at(
"trackerParameters:Subdetector" + std::to_string(subdet));
30 std::vector<int> subdetPars;
31 std::transform(
v.begin(),
v.end(), std::back_inserter(subdetPars), [](
int i) ->
int {
return std::round(
i); });
32 putOne(subdet, subdetPars, ptp);
36 const auto& vPars = vmap.at(
"trackerParameters:vPars");
37 std::transform(vPars.begin(), vPars.end(), std::back_inserter(ptp.
vpars), [](
int i) ->
int {
return std::round(
i); });