This page is adapted from This will primarily focus on exploring what is in a DST so that you know

Try this:

>SetupPanoramix (or SetupBender See if the code works with other projects)


Once in Python, do the following:

>>>from LHCbConfig import *

>>>import GaudiPython as gaudi

>>>import gaudigadgets

>>>appMgr = gaudi.AppMgr()

>>>sel = appMgr.evtsel()


>>>evt = appMgr.evtsvc()




What did we do?
  • We opened python, imporeted some useful modules, then ran AppMgr().
  • After that, we used the the event service (evtsvc)
  • Using this we let appMgr run over 1 event
  • Then we dumped the event information
  • Finally, you can literally ls through the directories to see what's there. For instance, if you are running MC, try


Helpful? Email me if you have any comments.

NB: if you get stuck trying to figure out what's going on, try dir(evt), or just dir() what you don't understand.

-- Main.AdamDavis - 17-Sep-2012
Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2012-09-17 - AdamDavis
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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