Skip to content

Commit

Permalink
catch passive layers (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
asalzburger committed Jul 20, 2021
1 parent 99df92e commit d7adb00
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Plugins/DD4hep/src/ConvertDD4hepDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,8 @@ void collectSubDetectors_dd4hep(dd4hep::DetElement& detElement,
}
if ((detExtension != nullptr) &&
(detExtension->hasType("barrel", "detector") ||
detExtension->hasType("beampipe", "layer"))) {
detExtension->hasType("beampipe", "layer") ||
detExtension->hasType("passive cylinder", "layer"))) {
subdetectors.push_back(childDetElement);
continue;
}
Expand Down

0 comments on commit d7adb00

Please sign in to comment.