egammaLargeClusterMakerConfig.py 711 Bytes
Newer Older
1
2
3
4
5
6
# 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
7
8
from AthenaConfiguration.ComponentFactory import CompFactory
egammaLargeClusterMaker=CompFactory.egammaLargeClusterMaker
9
10
11
12
13
14
15
16
17
18
19
20

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