]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSGeometry.cxx
A lot of mods to put PHOS in the official TFolder/TTask structure
[u/mrichter/AliRoot.git] / PHOS / AliPHOSGeometry.cxx
index 56db326d6c555971a5238393618498fb4abace97..15d0d1ca2ee82928b7bb93a683a54c8551e5e5a9 100644 (file)
@@ -100,16 +100,6 @@ void AliPHOSGeometry::Init(void)
   this->SetPHOSAngles() ; 
   fRotMatrixArray = new TObjArray(fNModules) ; 
   
-  // post the geometry into the appropriate folder
-  TFolder * folder = (TFolder*)gROOT->FindObjectAny("YSAlice/WhiteBoard/Geometry/PHOS"); 
-  if ( !folder ) {
-    cerr << "ERROR: AliPHOSGeometry::Init -> No WhiteBoard/Geometry/PHOS found !" << endl ; 
-    abort();
-  } else {
-    folder->SetOwner() ;
-    folder->Add(this) ; 
-  }
-  
 }