Esempio n. 1
0
#theAuditorSvc += getConfigurable("MemStatAuditor")()
theAuditorSvc += getConfigurable("NameAuditor")()

#--------------------------------------------------------------
#run perfmon
#--------------------------------------------------------------
from PerfMonComps.PerfMonFlags import jobproperties

jobproperties.PerfMonFlags.OutputFile = "ntuple.root"
# by default, PerfMon is disabled: enable it
# see https://twiki.cern.ch/twiki/bin/view/Atlas/PerfMonComps
jobproperties.PerfMonFlags.doMonitoring = True
protectedInclude("PerfMonComps/PerfMonSvc_jobOptions.py")
#instead of doMonitoring may also do
#jobproperties.PerfMonFlags.doFastMon = True

#use a wide name field to "see" the tools in use
svcMgr.MessageSvc.Format = "% F%32W%S%7W%R%T %0W%M"
svcMgr.MessageSvc.enableSuppression = False

#remove some of POOL annoying warnings
svcMgr.PoolSvc.AttemptCatalogPatch = True
#--------------------------------------------------------------
#print configuration flags
#--------------------------------------------------------------
jobproperties.print_JobProperties()
from AthenaCommon.AlgSequence import AlgSequence

print(AlgSequence())
print(ServiceMgr)
Esempio n. 2
0
log = logging.getLogger('runHLT_standalone.py')

# ----------------------------------------------------------------
# Number of events to be processed - for athena
# ----------------------------------------------------------------
theApp.EvtMax = EvtMax
if hasattr(svcMgr, "EventSelector"):
    svcMgr.EventSelector.SkipEvents = SkipEvents

#-------------------------------------------------------------
# Apply modifiers
#-------------------------------------------------------------
for mod in modifierList:
    mod.postSetup()

#-------------------------------------------------------------
# Conditions overrides
#-------------------------------------------------------------
if len(condOverride) > 0:
    from IOVDbSvc.CondDB import conddb
    for folder, tag in condOverride.iteritems():
        log.warn('Overriding folder %s with tag %s' % (folder, tag))
        conddb.addOverride(folder, tag)

if not TriggerFlags.Online.doValidation(
):  # Suppress this printout in ATN tests
    from AthenaCommon.JobProperties import jobproperties
    jobproperties.print_JobProperties('tree&value')
    print AlgSequence
    print ServiceMgr