11 auto mtd = std::make_unique<GeometricTimingDet>(pgd.
pgeomdets_[0], GeometricTimingDet::MTD);
15 std::vector<GeometricTimingDet*> hier;
17 hier.emplace_back(subdet);
18 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 1) {
21 hier.back()->addComponent(subdet);
22 hier.emplace_back(subdet);
23 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 2) {
26 hier.back()->addComponent(subdet);
27 hier.emplace_back(subdet);
28 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 3) {
32 hier.back()->addComponent(subdet);
33 hier.emplace_back(subdet);
34 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 4) {
38 hier.back()->addComponent(subdet);
39 hier.emplace_back(subdet);
40 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 5) {
44 hier.back()->addComponent(subdet);
45 hier.emplace_back(subdet);
46 while (tri < detMax && pgd.
pgeomdets_[tri].level_ == 6) {
48 GeometricTimingDet::GTDEnumType(pgd.
pgeomdets_[tri].type_));
50 hier.back()->addComponent(subdet);
std::vector< Item > pgeomdets_
Namespace of DDCMS conversion namespace.
static std::unique_ptr< GeometricTimingDet > construct(const PGeometricTimingDet &pgd)