ATLAS Offline Software
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 
6 from __future__ import print_function
7 from AthenaConfiguration.ComponentFactory import CompFactory
8 
9 
10 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
11 
12 def CaloBCIDAvgAlgSCCfg (flags, sequence=None):
13  result = ComponentAccumulator()
14 
15  from CaloRec.CaloBCIDLumiCondAlgSCConfig import CaloBCIDLumiCondAlgSCCfg
16  result.merge (CaloBCIDLumiCondAlgSCCfg (flags))
17  result.addEventAlgo(CompFactory.CaloBCIDAvgAlg(
18  name="CaloBCIDAvgAlgSC",
19  IsSuperCell=True,
20  BCIDLumiKey="CaloBCIDLumiSC",
21  WriteKey="CaloBCIDAverageSC"), sequenceName=sequence)
22  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloBCIDAvgAlgSCConfig.CaloBCIDAvgAlgSCCfg
def CaloBCIDAvgAlgSCCfg(flags, sequence=None)
Definition: CaloBCIDAvgAlgSCConfig.py:12