%ATLASLOGO% JiveXML

Links

* JiveXML CVS Web

* Atlantis

* Tutorial (ppt)

Contacts

Nikos Konstantinidis
Zdenek Maxa
Atlantis Support

Introduction

JiveXML is an Athena package that contains algorithms to convert event Data to XML files. The XML files can then be read in by the Atlantis Event Display. Both fully reconstructed and fast simulated events (Atlfast) can be converted to XML and viewed with Atlantis.

To display the maximum information from your events, you need to run the full reconstruction on data after digitization (e.g. using RecExCommon, see below). .

Running JiveXML on AODs

Note: See more details instructions on Atlantis with AOD. For the 11.0.41 ATLAS software release, we recommand that you checkout, build and use version JiveXML-00-04-46-03, in the usual way:

cmt co -r JiveXML-00-04-46-03 graphics/JiveXML
cd graphics/JiveXML/JiveXML-00-*/cmt
gmake

To produce JiveXML output, add to your jobOptions the following lines

include( "JiveXML/JiveXML_jobOptionBase.py" )
include( "JiveXML/DataTypes_AOD.py" )
ToolSvc.EventData2XML.Muonkey = "MuidMuonCollection"
include( "JiveXML/DataTypes_Reco.py" )

Add them at the correct place in your job options, for example in AnalysisSkeleton in UserAnalysis, just after

AnalysisSkeleton = Algorithm( "AnalysisSkeleton" )

Status of JiveXML in the ATLAS software releases

For all 10.0.x ATLAS software releases, we recommend that you checkout, build and use version JiveXML-00-04-00, in the usual way:

cmt co -r JiveXML-00-04-00 graphics/JiveXML
cd graphics/JiveXML/JiveXML-00-04-00/cmt
gmake

The above tag is in 10.3.0 and works "out of the box".

Running with RecExCommon

In RecExCommon there is a special flag, doJiveXML (=False by default), for running JiveXML. See also [[https://twiki.cern.ch/twiki/bin/view/Atlas/RecoCompleteMyTopOptions#create_xml_file_for_Atlantis_on] [RecExCommon]].

So, you simply need to add in your command line

athena -c doJiveXML=True jobOptions.py=

This will produce xml files, one per event, which contain all the information that Atlantis can display and is available during athena running.

If you would like to produce xml files only for specific events, say events 12 and 13 of the file you are running, you have to do

athena -c "doJiveXML=True; EvtMax=2; SkipEvents=11" jobOptions.py

See also the relevant section in the [[https://twiki.cern.ch/twiki/bin/view/Atlas/RecoCompleteMyTopOptions#JiveXML][ RecExCommon Wiki page]].

Customized running

If you have your own setup for running athena then you must add to your jobOptions the following lines

include( "JiveXML/JiveXML_jobOptionBase.py" )
include( "JiveXML/DataTypes_All.py" )

The first include adds the JiveXML dll and the TopAlg; the second specifies all the DataTypes that will be searched for in StoreGate and will be included in the xml files, if found. The DataTypes are grouped per "sub-system". So, for example, if you are interested in displaying only on Inner Detector data, instead of the second line above you may just add

include( "JiveXML/DataTypes_InDet.py" )

There are also the files DataTypes_Calos.py, DataTypes_Muons.py, DataTypes_Reco.py, DataTypes_Trig.py and DataTypes_Truth.py to pick from, for specialised running.

Running with Atlfast

If you have a job running Atlfast and you would like to produce xml files to view with Atlantis, you have to include in your jobOptions file the following lines

include( "JiveXML/JiveXMLAtlfast_jobOptionFragment.py" )

Name of xml files

You can control the names of the files that JiveXML will produce. For example if your data set is a Z to ee DC2 sample, then by adding in your jobOptions the following lines (after the lines mentioned above)

EventData2XML = Algorithm( "EventData2XML" )
EventData2XML.FileNamePrefix = "Zee_DC2"

your files will have names of the form: Zee_DC2_RunNumber_EventNumber.xml (where RunNumber and EventNumber are the actual numbers obtained in athena).

-- JuergenThomas - 16 Mar 2006

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2006-03-16 - JuergenThomas
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback