15 std::vector<GeometricTimingDet*> hier;
18 hier.emplace_back(subdet);
19 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 1) {
22 hier.back()->addComponent(subdet);
23 hier.emplace_back(subdet);
25 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 2) {
28 hier.back()->addComponent(subdet);
29 hier.emplace_back(subdet);
31 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 3) {
35 hier.back()->addComponent(subdet);
36 hier.emplace_back(subdet);
38 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 4) {
42 hier.back()->addComponent(subdet);
43 hier.emplace_back(subdet);
45 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 5) {
49 hier.back()->addComponent(subdet);
50 hier.emplace_back(subdet);
52 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 6) {
56 hier.back()->addComponent(subdet);