예제 #1
0
#--------------------------------------------------------------
# Private Application Configuration options
#--------------------------------------------------------------
# Create xAOD::EventInfo
from xAODEventInfoCnv.xAODEventInfoCreator import xAODMaker__EventInfoCnvAlg
topSequence += xAODMaker__EventInfoCnvAlg("EventInfoCnvAlg")

# Load "user algorithm" top algorithms to be run, and the libraries that house them
from AthenaPoolExampleAlgorithms.AthenaPoolExampleAlgorithmsConf import AthPoolEx__ReadData
topSequence += AthPoolEx__ReadData("ReadData")

#--------------------------------------------------------------
# ROOT streaming service
#--------------------------------------------------------------
from AthenaPoolServices.AthenaRootStreamerSvcConf import AthenaRootStreamerSvc
StreamerSvc = AthenaRootStreamerSvc()
StreamerSvc.Streamers += ["ExampleHitStreamer_p0"]
svcMgr += StreamerSvc

#--------------------------------------------------------------
# Set output level threshold (2=DEBUG, 3=INFO, 4=WARNING, 5=ERROR, 6=FATAL)
#--------------------------------------------------------------
svcMgr.MessageSvc.OutputLevel = 3
svcMgr.MessageSvc.defaultLimit = 100000

svcMgr.MetaDataSvc.OutputLevel = 2
svcMgr.EventSelector.OutputLevel = 2
svcMgr.AthenaPoolAddressProviderSvc.OutputLevel = 2
svcMgr.PoolSvc.OutputLevel = 2
topSequence.ReadData.OutputLevel = 2
예제 #2
0
## @file AthenaRootStreamerSvc_jobOptions.py
## @brief

include.block("AthenaPoolServices/AthenaRootStreamerSvc_jobOptions.py")

## get a handle on the Service Manager
from AthenaCommon.AppMgr import ServiceMgr as svcMgr

##
##  Load dll for AthenaRootStreamer Service
##
from AthenaPoolServices.AthenaRootStreamerSvcConf import AthenaRootStreamerSvc

svcMgr += AthenaRootStreamerSvc()