18 std::vector<GeometricDet*> hier;
20 hier.emplace_back(subdet);
21 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 1) {
25 hier.back()->addComponent(subdet);
26 hier.emplace_back(subdet);
27 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 2) {
31 hier.back()->addComponent(subdet);
32 hier.emplace_back(subdet);
33 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 3) {
37 hier.back()->addComponent(subdet);
38 hier.emplace_back(subdet);
39 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 4) {
43 hier.back()->addComponent(subdet);
44 hier.emplace_back(subdet);
45 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 5) {
49 hier.back()->addComponent(subdet);
50 hier.emplace_back(subdet);
51 while (tri < detMax && pgd.
pgeomdets_[tri]._level == 6) {
55 hier.back()->addComponent(subdet);
std::vector< Item > pgeomdets_
static std::unique_ptr< GeometricDet > construct(const PGeometricDet &pgd)
Namespace of DDCMS conversion namespace.