Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fixGDML.py File Reference

Go to the source code of this file.

Namespaces

namespace  fixGDML
 

Variables

tuple fixGDML.root xml.etree.ElementTree.parse(sys.argv[1])
 
tuple fixGDML.posname pv.find('positionref')
 
tuple fixGDML.posinfo re.split(r'(\d+)in', posname.strip())
 
list fixGDML.pvname posinfo[0]
 
tuple fixGDML.element xml.etree.ElementTree.SubElement(lv, 'auxiliary')
 
tuple fixGDML.rough_string xml.etree.ElementTree.tostring(root, 'utf-8')
 
tuple fixGDML.reparsed_string minidom.parseString(rough_string)
 
string fixGDML.final_string '\n'
 
tuple fixGDML.fout open(sys.argv[2], 'w')