18 std::vector<GeometricDet*> hier;
21 hier.emplace_back(subdet);
22 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 1) {
26 hier.back()->addComponent(subdet);
27 hier.emplace_back(subdet);
29 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 2) {
33 hier.back()->addComponent(subdet);
34 hier.emplace_back(subdet);
36 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 3) {
40 hier.back()->addComponent(subdet);
41 hier.emplace_back(subdet);
43 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 4) {
47 hier.back()->addComponent(subdet);
48 hier.emplace_back(subdet);
50 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 5) {
54 hier.back()->addComponent(subdet);
55 hier.emplace_back(subdet);
57 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 6) {
61 hier.back()->addComponent(subdet);