ATLAS Offline Software
Loading...
Searching...
No Matches
CaloBCIDAvgAlgSCConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
2
3# File: CaloRec/python/CaloBCIDAvgAlgSCConfig.py
4# Purpose: Configure CaloBCIDAvgAlgSC.
5
6from AthenaConfiguration.ComponentFactory import CompFactory
7
8
9from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
10
11def CaloBCIDAvgAlgSCCfg (flags, sequence=None):
12 result = ComponentAccumulator()
13
14 from CaloRec.CaloBCIDLumiCondAlgSCConfig import CaloBCIDLumiCondAlgSCCfg
15 result.merge (CaloBCIDLumiCondAlgSCCfg (flags))
16 result.addEventAlgo(CompFactory.CaloBCIDAvgAlg(
17 name="CaloBCIDAvgAlgSC",
18 IsSuperCell=True,
19 BCIDLumiKey="CaloBCIDLumiSC",
20 WriteKey="CaloBCIDAverageSC"), sequenceName=sequence)
21 return result
CaloBCIDAvgAlgSCCfg(flags, sequence=None)