Example #1
0
include("IdDictDetDescrCnv/IdDictDetDescrCnv_joboptions.py")
include("CaloDetMgrDetDescrCnv/CaloDetMgrDetDescrCnv_joboptions.py")

## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence

topSequence = AlgSequence()

from AthenaCommon.AppMgr import (theApp, ServiceMgr as svcMgr)

theApp.EvtMax = 10

from LArBadChannelTool.LArBadChannelToolConf import LArBadChannelTimingAlg

theTester = LArBadChannelTimingAlg()
theTester.ReallyCheck = True
topSequence += theTester

svcMgr.IOVDbSvc.Folders += [
    "/LAR/ElecCalib/BadChannels<tag>TestTag</tag><dbConnection>sqlite://;schema=BadChannels.db;dbname=CONDBR2</dbConnection>"
]

svcMgr += CfgMgr.AthenaEventLoopMgr(OutputLevel=WARNING)

from AthenaCommon.AppMgr import theAuditorSvc
from AthenaCommon.ConfigurableDb import getConfigurable

theAuditorSvc += getConfigurable("MemStatAuditor")(OutputLevel=WARNING)
theAuditorSvc += getConfigurable("ChronoAuditor")()
theAuditorSvc += getConfigurable("NameAuditor")()
Example #2
0
    xaodStream.AddItem('xAOD::MissingETContainer#MET_Reco_AntiKt4EMTopo')
    xaodStream.AddItem(
        'xAOD::MissingETAuxContainer#MET_Reco_AntiKt4EMTopoAux.')
    #
    xaodStream.AddItem('xAOD::MissingETContainer#MET_Truth_AntiKt4EMTopo')
    xaodStream.AddItem(
        'xAOD::MissingETAuxContainer#MET_Truth_AntiKt4EMTopoAux.')
    #
    xaodStream.AddItem('xAOD::MissingETContainer#MET_Truth')
    xaodStream.AddItem('xAOD::MissingETAuxContainer#MET_TruthAux.')
    #
    xaodStream.Print()

# from OutputStreamAthenaPool.MultipleStreamManager import MSMgr
# HistoXAODStream = MSMgr.NewRootStream( streamName, fileName )

#from Valkyrie.JobOptCfg import ValgrindSvc
#svcMgr += ValgrindSvc( OutputLevel = DEBUG,
#                       ProfiledAlgs = ["METMakerAlg"],
#                       ProfiledIntervals = ["METMakerAlg.execute"])

from PerfMonComps.PerfMonFlags import jobproperties as pmon_properties
pmon_properties.PerfMonFlags.doSemiDetailedMonitoring = True

ServiceMgr.MessageSvc.defaultLimit = 9999999
theApp.EvtMax = -1
ServiceMgr.EventSelector.SkipEvents = 0

printint = max(theApp.EvtMax / 250, 1) if theApp.EvtMax > 0 else 1000
svcMgr += CfgMgr.AthenaEventLoopMgr(EventPrintoutInterval=printint)