Skip to content

Commit

Permalink
adding PrintOverlaps to ViewGdml.C
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajmz committed Mar 11, 2024
1 parent 15de83b commit 7ca435a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions macros/ViewGdml.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ void ViewGdml(string filename, float transparency = 50)
// check for overlaps
TGeoNode *node = gGeoManager->GetTopNode();
node->CheckOverlaps(0.0001);
// print overlaps
gGeoManager->PrintOverlaps();

for (auto i = 0; i < gGeoManager->GetListOfVolumes()->GetEntries(); i++)
{
Expand Down

0 comments on commit 7ca435a

Please sign in to comment.