7 from AthenaCommon.Utils.unixtools
import find_datafile
8 xmlFile =
find_datafile(
"TrigInDetValidation_TestConfiguration.xml")
9 import xml.etree.ElementTree
as elemTree
10 tree = elemTree.parse(xmlFile)
11 namespace =
"{http://www.hep.ucl.ac.uk/atlas/AtlasTesting/rtt}"
14 for job
in root.iter(namespace +
'athena'):
15 if job.get(
'userJobId') == jobID:
16 for dataset
in job.findall(namespace +
'dataset'):
17 eosDataset =
"root://eosatlas.cern.ch/" + dataset.text
18 datasetList.append(eosDataset)