Skip to content

Commit

Permalink
Avoid making voxels in TGeoManager
Browse files Browse the repository at this point in the history
Making voxels was the most time-consuming call and we do not use
TGeoManager for particle propagation.
  • Loading branch information
Dr15Jones committed Jan 10, 2024
1 parent 7924ce4 commit 1446459
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2314,7 +2314,7 @@ static long load_dddefinition(Detector& det, xml_h element) {
wv.placeVolume(mfv1, 1);

// Can not deal with reflections without closed geometry
det.manager().CloseGeometry();
det.manager().CloseGeometry("nv");

det.endDocument();
}
Expand Down

0 comments on commit 1446459

Please sign in to comment.