User Tools

Site Tools


davinci:xmlcounters

How to get XML counters for your algorithms

Problem

At the end of the stdout file all the counters are listed. Because the stdout can be very big it is easier to just have these counters for each algorithm in one file. The XML counters are stored in summary.xml in your outputsandbox, where the stdout is as well.

Implementation

Two ways are described here how to get this summary.xml file with the counters:

1. In your option file insert the following lines (if not already there):

from Configurables import *
from Configurables import LHCbApp
LHCbApp().XMLSummary='summary.xml'

In your job submission script add the following line:

t.outputsandbox.append('summary.xml')

where t is your jobtemplate.

2. In your job submission script add the following lines:

t.application.extraopts='''from Gaudi.Configuration import *
from Configurables import LHCbApp
LHCbApp().XMLSummary='summary.xml'
'''
t.outputsandbox.append('summary.xml')
davinci/xmlcounters.txt · Last modified: 2010/03/26 16:17 by abuechle