Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:32:18

0001 # Sorts a geometry XML file to allow for easier comparison
0002 # $1 -- input XML file name. $2 -- output file name.
0003 
0004 sed -e '1 d' -e '2 d' -e '/TRACKER/,$ d' $1 > /tmp/temp$$.xml
0005 ./sortCompositeMaterials.py /tmp/temp$$.xml /tmp/sortTemp$$.xml >& /dev/null
0006 sed -e 's/ns0://g' -e 's:" /:"/:g' /tmp/sortTemp$$.xml > $2
0007 rm /tmp/temp$$.xml /tmp/sortTemp$$.xml