Skip to content

Commit

Permalink
Merge pull request #3 from iaxo/mariajmz_print_overlaps
Browse files Browse the repository at this point in the history
Adding PrintOverlaps to ViewGdml.C
  • Loading branch information
mariajmz authored Mar 11, 2024
2 parents 15de83b + 7ca435a commit 6627b06
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 6627b06

Please sign in to comment.