Skip to content
Snippets Groups Projects

bugfix in the StsSetup

Merged Sergey Gorbunov requested to merge se.gorbunov/cbmroot:warnFixStsSetup into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -381,7 +381,7 @@ Bool_t CbmStsSetup::ReadGeometry(TGeoManager* geo)
void CbmStsSetup::RecomputePhysicalAssmbBbox(TGeoManager* geo)
{
TIter nextv(gGeoManager->GetListOfVolumes());
TIter nextv(geo->GetListOfVolumes());
TGeoVolume* vol;
while ((vol = dynamic_cast<TGeoVolume*>(nextv()))) {
if (vol->IsAssembly()) vol->GetShape()->ComputeBBox();
Loading