User Tools

Site Tools


community:hepsim:dev_full

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
community:hepsim:dev_full [2016/10/18 15:47]
asc
community:hepsim:dev_full [2016/10/18 15:50] (current)
asc [How to make changes in compact.xml]
Line 25: Line 25:
 java $JAVA_OPTS -jar $GCONVERTER -o html compact.xml ${GEOM}.html java $JAVA_OPTS -jar $GCONVERTER -o html compact.xml ${GEOM}.html
 </code> </code>
-where "${GEOM}" is the name of the detector geometry. +where "${GEOM}" is the name of the detector geometry.  Next, check that you do not have overlapping volumes. Run ROOT with the commands:
  
 +<code cpp>
 +TGeoManager::Import("mydetector.gdml");
 +gGeoManager->ViewLeaves(true);
 +gGeoManager->ls("All");
 +gGeoManager->CheckOverlaps(0.1); //0.1 tolerance or better!
 +gGeoManager->PrintOverlaps();
 +gGeoManager->GetTopVolume()->Draw("ogl");
 +</code>
 +If you see that some volumes overlap, come back to "compact.xml" and make corrections.
  
 + --- //[[[email protected]|Sergei Chekanov]] 2016/10/18 10:47//
 ====== Pandora PFA ====== ====== Pandora PFA ======
  
community/hepsim/dev_full.1476805645.txt.gz · Last modified: 2016/10/18 15:47 by asc