24def _configureWriteAthenaPool():
25 """ Helper method to configure Athena to write out POOL files """
26
27 from AthenaCommon.Logging import logging
28 msg = logging.getLogger( 'configureWriteAthenaPool' )
29 msg.debug( "Configuring Athena for writing POOL files..." )
30
31
32 import AthenaPoolCnvSvc.AthenaPool
33
34 from AthenaCommon.AppMgr import ServiceMgr as svcMgr
35
36 svcMgr.AthenaPoolCnvSvc.PoolAttributes += [ "DEFAULT_SPLITLEVEL ='0'" ]
37
38
39 svcMgr.AthenaPoolCnvSvc.PoolAttributes += [ "STREAM_MEMBER_WISE = '1'" ]
40
41
42 svcMgr.AthenaPoolCnvSvc.PoolAttributes += [ "DEFAULT_BUFFERSIZE = '32000'" ]
43
44
45 svcMgr.AthenaPoolCnvSvc.PoolAttributes += [ "ContainerName = 'TTree=POOLContainerForm(DataHeaderForm)'; CONTAINER_SPLITLEVEL = '0'" ]
46
47 svcMgr.AthenaPoolCnvSvc.TopLevelContainerName = ""
48 svcMgr.AthenaPoolCnvSvc.SubLevelBranchName = "<type>/<key>"
49
50 msg.debug( "Configuring Athena for writing POOL files... [DONE]" )
51 return
52