Skip to content
Snippets Groups Projects
Commit ba4f51a9 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

AthenaRootComps: Initial python3 port.

Initial python3 port.  Not yet trying to get everything working; only what's
needed for basic athena/configuration jobs.
parent a7ec5a15
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
# @file: Configurables.py
# @purpose: customized Configurable classes for AthenaRootComps
# @author: Sebastien Binet <binet@cern.ch>
### ---------------------------------------------------------------------------
from OutputStreamAthenaRoot import createNtupleOutputStream
from AthenaRootComps.OutputStreamAthenaRoot import createNtupleOutputStream
### ---------------------------------------------------------------------------
## import the automatically generated Configurables
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
## @file OutputStreamAthenaRoot.py
## @brief Helper methods to create output streams
......@@ -6,10 +6,12 @@
## $Id: OutputStreamAthenaRoot.py 723505 2016-02-11 22:29:40Z gemmeren $
###############################################################
from __future__ import print_function
import AthenaCommon.CfgMgr as CfgMgr
from AthenaCommon.AppMgr import theApp
from AthenaCommon.AppMgr import ServiceMgr as svcMgr
from AthenaRootCompsConf import Athena__RootOutputStreamTool as AthenaRootOutputStreamTool
from AthenaRootComps.AthenaRootCompsConf import Athena__RootOutputStreamTool as AthenaRootOutputStreamTool
def createNtupleOutputStream(streamName, fileName, tupleName="physics", asAlg = False):
if asAlg:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment