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

Variables

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

Variable Documentation

string fixGDML.final_string '\n'

Definition at line 36 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 36 of file fixGDML.py

tuple fixGDML.fout open(sys.argv[2], 'w')

Definition at line 39 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 39 of file fixGDML.py

tuple fixGDML.posinfo re.split(r'(\d+)in', posname.strip())

Definition at line 16 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 16 of file fixGDML.py

tuple fixGDML.posname pv.find('positionref')

Definition at line 14 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 14 of file fixGDML.py

list fixGDML.pvname posinfo[0]

Definition at line 17 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 17 of file fixGDML.py

tuple fixGDML.reparsed_string minidom.parseString(rough_string)

Definition at line 33 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 33 of file fixGDML.py

tuple fixGDML.root xml.etree.ElementTree.parse(sys.argv[1])
tuple fixGDML.rough_string xml.etree.ElementTree.tostring(root, 'utf-8')

Definition at line 32 of file fixGDML.py.

View newest version in sPHENIX GitHub at line 32 of file fixGDML.py