]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/READMEgeometry.txt
STL make_pair fix (see https://savannah.cern.ch/bugs/?102665)
[u/mrichter/AliRoot.git] / MUON / READMEgeometry.txt
index d1df05a7a90c6b08895ff71e846da6e45f5d0c49..271b2d6cb3fd64219d126e86be7c1456db2f59bd 100644 (file)
@@ -40,8 +40,7 @@ file.
 \see http://agenda.cern.ch/fullAgenda.php?ida=a05212
 
 <pre>
-AliMpCDB::LoadMpSegmentation2(); 
-gAlice->Init("$ALICE_ROOT/MUON/Config.C");
+TGeoManager::Import("geometry.root");
 gGeoManager->GetMasterVolume()->Draw();
 </pre>
 
@@ -55,9 +54,8 @@ scene, MUONGeometryViewingHelper.C is also available.
 \see  http://agenda.cern.ch/fullAgenda.php?ida=a05212
 
 <pre>
-AliMpCDB::LoadMpSegmentation2(); 
-gAlice->Init("$ALICE_ROOT/MUON/Config.C");
-gGeoManager->CheckOverlaps();
+TGeoManager::Import("geometry.root");
+gGeoManager->CheckOverlaps(0.001);
 gGeoManager->PrintOverlaps();
 </pre>
 
@@ -72,7 +70,7 @@ does not remember all overlaps found during checking,
 in order to investigate them, one has to re-run the checking for 
 each listed volume:
 <pre>
-gGeoManager->FindVolumeFast("MyVolume")->CheckOverlaps(0.01, "s");
+gGeoManager->FindVolumeFast("MyVolume")->CheckOverlaps(0.001, "s");
 gGeoManager->PrintOverlaps(); >& overlaps_MyVolume.txt 
 </pre>
 At this stage the overlaps found for the selected volume can be also browsed