egammaLargeClusterMakerConfig.py 654 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration

__doc__ = "Configure egammaLargeClusterMaker, which chooses cells to store in the AOD" 
__author__ = "Jovan Mitrevski"

from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from egammaTools.egammaToolsConf import egammaLargeClusterMaker

def egammaLargeClusterMakerCfg(flags, **kwargs):

    acc = ComponentAccumulator
    
    kwargs.setdefault("CellsName", flags.Egamma.Keys.Input.CaloCells)
    kwargs.setdefault("InputClusterCollection", flags.Egamma.Keys.Output.CaloClusters)

    acc.setPrivateTools(egammaLargeClusterMaker(**kwargs))

    return acc