Exploring DST output files produced by Moore

In order to look at the contents of the Transient Event Store (TES) in the Moore DST output-files run the following script in interactive mode like this:

$ python -i LookAtDST.py


import GaudiPython
from Gaudi.Configuration import importOptions, ApplicationMgr
from Configurables import L0SelReportsMaker, L0DecReportsMaker
from Configurables import Moore, CondDB

# Configuration, has to happen before starting gaudi
mo = Moore()
mo.EvtMax = -1
mo.DataType = "2012"
mo.UseTCK = False
mo.L0 = True
mo.Simulation = False
mo.ThresholdSettings = "Physics_May2012"
mo.ReplaceL0BanksWithEmulated = True
mo.ForceSingleL0Configuration = False
mo.UseDBSnapshot = False
mo.EnableDataOnDemand = True
mo.EnableRunChangeHandler = False
mo.CheckOdin = False
mo.EnableMonitoring = False

mo.DDDBtag = "head-20120413"
mo.CondDBtag = "head-20120420"
CondDB().IgnoreHeartBeat = True

Moore().inputFiles = ["MyMooreOutput.DST"]

# Something that should always be done.
from Configurables import LoKiSvc
LoKiSvc().Welcome = False
# end of the configuration, start gaudi

gaudi = GaudiPython.AppMgr(outputlevel=3)
# transient event store
TES = gaudi.evtsvc()


If this runs successfully, you will get a python prompt from which you can explore the TES. For example try:


Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-02-27 - SebastianNeubert
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb 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.
Ideas, requests, problems regarding TWiki? Send feedback