Skip to content

Commit

Permalink
Merge pull request #44429 from watson-ij/fix-gem-parsdd-2024
Browse files Browse the repository at this point in the history
Allow storing 2024 geometry in GEMGeometryParsFromDD
  • Loading branch information
cmsbuild authored Mar 18, 2024
2 parents 0530eda + ad94ff7 commit e9b6b45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Geometry/GEMGeometryBuilder/src/GEMGeometryParsFromDD.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ void GEMGeometryParsFromDD::buildGeometry(DDFilteredView& fv,
// back to chambers
fvGE2.parent();
fvGE2.parent();
doSuper = (nGE21 < 2 && fvGE2.nextSibling());
// in 2021 we have 1 demonstrator chamber in 2024 we have 3 chambers.
// Need to account for both
doSuper = (nGE21 < 4 && fvGE2.nextSibling());
} else {
edm::LogError("GEMGeometryParsFromDD") << "Failed to find next child volume. Cannot determine presence of GE 2/1";
}
Expand Down

0 comments on commit e9b6b45

Please sign in to comment.