Skip to content

Commit

Permalink
Fix in geometry loading: skip it only if the AliGeomManager::GetGeome…
Browse files Browse the repository at this point in the history
…try() != 0

rather than gGeoManager !=0
  • Loading branch information
shahor02 committed Jan 6, 2014
1 parent 5d2e0aa commit 8c2447f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STEER/STEER/AliReconstruction.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1549,7 +1549,7 @@ void AliReconstruction::Begin(TTree *)
}

// Import ideal TGeo geometry and apply misalignment
if (!gGeoManager) {
if (!AliGeomManager::GetGeometry()) {
TString geom(gSystem->DirName(fGAliceFileName));
geom += "/geometry.root";
AliGeomManager::LoadGeometry(geom.Data());
Expand Down

0 comments on commit 8c2447f

Please sign in to comment.