Made LookupBuilder thread-local in TileGeoG4SDCalc.
The TileGeoG4LookupBuilder was changed from a member pointer with dynamic allocation in initialize into a file thread_local unique ptr which is constructed lazily in GetLookupBuilder. This is not meant to be a long-term solution, but a temporary bandage. We need to implement a better solution soon.
Loading
Please register or sign in to comment