Skip to content
Snippets Groups Projects
Commit 9b348384 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'calo.BackgroundD3PDMaker-20181210' into 'master'

BackgroundD3PDMaker: Adjust references to moved components.

See merge request atlas/athena!16616
parents d9a9c584 bc03f430
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-2018 CERN for the benefit of the ATLAS collaboration
import BackgroundD3PDMaker import BackgroundD3PDMaker
import D3PDMakerCoreComps import D3PDMakerCoreComps
...@@ -10,6 +10,7 @@ from D3PDMakerCoreComps.D3PDObject import DeferArg ...@@ -10,6 +10,7 @@ from D3PDMakerCoreComps.D3PDObject import DeferArg
import EventCommonD3PDMaker import EventCommonD3PDMaker
import CaloD3PDMaker import CaloD3PDMaker
import CaloSysD3PDMaker
import JetD3PDMaker import JetD3PDMaker
...@@ -44,7 +45,7 @@ ClusterAssoc.defineBlock (1, 'bbClusterKinematics', ...@@ -44,7 +45,7 @@ ClusterAssoc.defineBlock (1, 'bbClusterKinematics',
WriteM = False) WriteM = False)
ClusterAssoc.defineBlock (1, 'bbClusterSamplingBasics', ClusterAssoc.defineBlock (1, 'bbClusterSamplingBasics',
CaloD3PDMaker.ClusterSamplingFillerTool) CaloD3PDMaker.ClusterSamplingFillerTool)
from CaloD3PDMaker import ClusterMomentFillerTool as CMFT from CaloSysD3PDMaker import ClusterMomentFillerTool as CMFT
ClusterAssoc.defineBlock (1, 'bbClusterMoments', CMFT, ClusterAssoc.defineBlock (1, 'bbClusterMoments', CMFT,
Moments = [CMFT.FIRST_ENG_DENS, 'firstEdens', Moments = [CMFT.FIRST_ENG_DENS, 'firstEdens',
CMFT.ENG_FRAC_MAX, 'cellmaxfrac', CMFT.ENG_FRAC_MAX, 'cellmaxfrac',
...@@ -58,7 +59,7 @@ ClusterAssoc.defineBlock (1, 'bbClusterMoments', CMFT, ...@@ -58,7 +59,7 @@ ClusterAssoc.defineBlock (1, 'bbClusterMoments', CMFT,
CMFT.DELTA_PHI, 'deltaPhi' CMFT.DELTA_PHI, 'deltaPhi'
]) ])
ClusterAssoc.defineBlock (1, 'bbClusterTime', ClusterAssoc.defineBlock (1, 'bbClusterTime',
CaloD3PDMaker.ClusterTimeFillerTool) CaloSysD3PDMaker.ClusterTimeFillerTool)
ClusterAssoc.defineBlock (1, 'bbClusterIndex', D3PDMakerCoreComps.IndexFillerTool, ClusterAssoc.defineBlock (1, 'bbClusterIndex', D3PDMakerCoreComps.IndexFillerTool,
Target = '') Target = '')
......
...@@ -260,7 +260,7 @@ def backgroundD3PD (alg=None, ...@@ -260,7 +260,7 @@ def backgroundD3PD (alg=None,
alg += PixelClusterD3PDObject( 0 ) alg += PixelClusterD3PDObject( 0 )
if flags.doCaloClus(): if flags.doCaloClus():
from CaloD3PDMaker.ClusterD3PDObject import ClusterD3PDObject from CaloSysD3PDMaker.ClusterD3PDObject import ClusterD3PDObject
alg += ClusterD3PDObject( 1 ) alg += ClusterD3PDObject( 1 )
return alg return alg
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