diff --git a/StRoot/Sti/StiMasterDetectorBuilder.cxx b/StRoot/Sti/StiMasterDetectorBuilder.cxx index 8f146366e14..0c8aca51886 100644 --- a/StRoot/Sti/StiMasterDetectorBuilder.cxx +++ b/StRoot/Sti/StiMasterDetectorBuilder.cxx @@ -25,7 +25,6 @@ void StiMasterDetectorBuilder::build(StMaker&source) { if (! gGeoManager) StiVMCToolKit::GetVMC(); - TGeoManager *gGeoManagerSV = gGeoManager; gGeoManager = 0; StMaker *chain=StMaker::GetChain(); LOG_INFO << "We are StiMasterDetectorBuilder::build() and will clone the geometry if exists" << endm; @@ -35,12 +34,6 @@ void StiMasterDetectorBuilder::build(StMaker&source) } #if 1 - if ( gGeoManagerSV ){ - LOG_INFO << "Create a clone of VmcGeometry for reconstruction" << endm; - gGeoManagerSV->Clone("CloneGeom"); - } else { - LOG_INFO << "Could not get a pointer to gGeoManager " << endm; - } #else if ( chain ) { LOG_INFO << "StiMasterDetectorBuilder::build() : Create clone of VmcGeometry by reinitialization for reconstruction" <