11 auto mtd = std::make_unique<GeometricTimingDet>(pgd.
pgeomdets_[0], GeometricTimingDet::MTD);
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) {
54 GeometricTimingDet::GTDEnumType(pgd.
pgeomdets_[tri].type_));
56 hier.back()->addComponent(subdet);
std::vector< Item > pgeomdets_
static std::unique_ptr< GeometricTimingDet > construct(const PGeometricTimingDet &pgd)