diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSD3PD.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSD3PD.py index 1309a38786584c3948100e834f05eb01e16ebde4..ef263a2f7b15c4d871cf75cb361d0e1d1b442740 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSD3PD.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSD3PD.py @@ -1,4 +1,6 @@ -# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration + +from __future__ import print_function from JetD3PDMaker.JetD3PDObject import getJetD3PDObject from D3PDMakerConfig.D3PDMakerFlags import D3PDMakerFlags @@ -136,7 +138,7 @@ def CommonJSD3PD(jetsToWrite, alg): jsD3PD=None for val in myJSD3PD: if val[0]==jetsToWrite: - print "using existing JSD3PD" + print ("using existing JSD3PD") jsD3PD=val[1] break diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSjets.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSjets.py index 97f09eef575f847552781968f46b728ed749b2e0..76ac283e9fea64cefdc5600192882b5b7411e7dd 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSjets.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CommonJSjets.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration #####Jet Reco ############ @@ -78,9 +78,6 @@ def getGroomingTools(GroomedDicts): if kw["SaveSubjets"] == True: catNames += [ kw['SubjetsName'] ] - print "aaaaaaaa myGroomingTools = ", myGroomingTools - print "bbbbbbbb catNames = ", catNames - return myGroomingTools, catNames @@ -141,7 +138,6 @@ def setupTruthJets(myjetfinder, myjetdr, myjetinput, GroomedDicts, theseq): if myjetgetter_truth.jetAlgorithmHandle() == None: if truthcontname == None: truthcontname = myjetgetter_truth.buildName() - print 'yot: ', truthcontname extra_moments_list += [widthtool] ## jet moments lost for truth jets in ESD->AOD transition sss = make_JetMomentGetter(truthcontname , extra_moments_list + [assoc_tool_truth,jetsubstructure_tool_truth], theseq ) diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CoreCommonD3PD.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CoreCommonD3PD.py index 5defc52304598cbfd313e2359b508304298e3dc4..b829d14cc2abecd1e4d1fe4292caada049fde385 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CoreCommonD3PD.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/CoreCommonD3PD.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # $Id: CoreGenericD3PD.py # @@ -218,7 +218,7 @@ try: theemtrackisolationtool.useBremAssoc = True ToolSvc += theemtrackisolationtool except Exception: - print traceback.format_exc() + traceback.print_exc() ElectronD3PDObject.defineBlock(99, "miniiso10", BoostedTopD3PDMaker.MiniIsolationElectronFillerTool, EMTrackIsolationTool=theemtrackisolationtool, KtDist=10., prefix="MI10_") ElectronD3PDObject.defineBlock(99, "miniiso15", BoostedTopD3PDMaker.MiniIsolationElectronFillerTool, EMTrackIsolationTool=theemtrackisolationtool, KtDist=15., prefix="MI15_") diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/PhotonCustomMET.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/PhotonCustomMET.py index b3208f555bc278d1f4c2e37a186b21edd1c51801..164c6969278c929e38d558c87ae513de67791f2b 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/PhotonCustomMET.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/PhotonCustomMET.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration from RecExConfig.RecFlags import rec from AthenaCommon.SystemOfUnits import GeV @@ -18,8 +18,6 @@ PyAthena.load_library('egammaEnumsDict') def PhotonCustomMET(): - print "calculating PhotonCustomMET...." - from AthenaCommon.AppMgr import ToolSvc topSequence = AlgSequence() diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addJetsInfo.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addJetsInfo.py index 84fc126787b269f63d8b148fa22a71f50d97492c..acc434c31d7a05c28a5c6bfd4f19d0c3cb6c868e 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addJetsInfo.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addJetsInfo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration from RecExConfig.RecFlags import rec @@ -66,8 +66,6 @@ def _args (level, name, kwin, **kw): def addJetsInfo ( alg=None, file = 'physics.root', tuplename = 'physics', tmpFlag=True, **kw): - print "adding Jets info..." - if not alg: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr alg = MSMgr.NewRootStream(tuplename, file) diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addMissingEtInfo.py b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addMissingEtInfo.py index e0bd249061c60209e6a764402e9b576d2b793e86..41754c49df39d8213a81f7418f59fcbff61887b4 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addMissingEtInfo.py +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerConfig/python/addMissingEtInfo.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration +# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration # $Id: addMissingEtInfo.py # by Lei Zhou @@ -29,8 +29,6 @@ def addMissingEtInfo ( alg = None, seq = topSequence, **kw ): - print "adding MissingEt info..." - if not alg: from OutputStreamAthenaPool.MultipleStreamManager import MSMgr alg = MSMgr.NewRootStream(tuplename, file, asAlg=True)