ATLAS Offline Software
Loading...
Searching...
No Matches
python.LArSCSimpleMakerConfig Namespace Reference

Functions

 LArSCSimpleMakerCfg (flags, **kwargs)
 LArSuperCellBCIDEmAlgCfg (flags, **kwargs)

Detailed Description

Configuration for the LAr SC Simple Maker algorithm

Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ LArSCSimpleMakerCfg()

python.LArSCSimpleMakerConfig.LArSCSimpleMakerCfg ( flags,
** kwargs )
Return ComponentAccumulator for LArSCSimpleMaker algorithm

Definition at line 9 of file LArSCSimpleMakerConfig.py.

9def LArSCSimpleMakerCfg(flags, **kwargs):
10 """Return ComponentAccumulator for LArSCSimpleMaker algorithm"""
11 acc = ComponentAccumulator()
12
13 acc.addCondAlgo(CompFactory.CaloNoiseSigmaDiffCondAlg(**kwargs))
14
15 from CaloRec.CaloBCIDLumiCondAlgConfig import CaloBCIDLumiCondAlgCfg
16 acc.merge(CaloBCIDLumiCondAlgCfg(flags))
17
18 from CaloRec.CaloBCIDAvgAlgConfig import CaloBCIDAvgAlgCfg
19 acc.merge(CaloBCIDAvgAlgCfg(flags))
20
21 kwargs.setdefault("SCellContainer","SimpleSCellNoBCID")
22 acc.addEventAlgo(CompFactory.LArSCSimpleMaker(**kwargs))
23 return acc
24

◆ LArSuperCellBCIDEmAlgCfg()

python.LArSCSimpleMakerConfig.LArSuperCellBCIDEmAlgCfg ( flags,
** kwargs )
Return ComponentAccumulator for LArSuperCellBCIDEmAlg algorithm

Definition at line 25 of file LArSCSimpleMakerConfig.py.

25def LArSuperCellBCIDEmAlgCfg(flags, **kwargs):
26 """Return ComponentAccumulator for LArSuperCellBCIDEmAlg algorithm"""
27 acc = ComponentAccumulator()
28
29 from CaloRec.CaloBCIDLumiCondAlgConfig import CaloBCIDLumiCondAlgCfg
30 acc.merge(CaloBCIDLumiCondAlgCfg(flags))
31
32 from CaloRec.CaloBCIDAvgAlgConfig import CaloBCIDAvgAlgCfg
33 acc.merge(CaloBCIDAvgAlgCfg(flags))
34
35 kwargs.setdefault("SCellContainerIn","SimpleSCellNoBCID")
36 kwargs.setdefault("SCellContainerOut","SCellEm")
37 acc.addEventAlgo(CompFactory.LArSuperCellBCIDEmAlg(**kwargs))
38 return acc