ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArHitAlgs
python
LArHitAlgsConfig.py
Go to the documentation of this file.
1
"""Define functions for LAr Digitization with ComponentAccumulator
2
3
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4
"""
5
# utilities
6
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
7
from
AthenaConfiguration.ComponentFactory
import
CompFactory
8
from
SGComps.AddressRemappingConfig
import
InputRenameCfg
9
10
11
def
LArHitFilterCfg
(flags, **kwargs):
12
""" Return ComponentAccumulator with LArHitFilter """
13
acc = ComponentAccumulator()
14
from
DetDescrCnvSvc.DetDescrCnvSvcConfig
import
DetDescrCnvSvcCfg
15
acc.merge(DetDescrCnvSvcCfg(flags))
# we do not need the whole geometry, identifiers are enough
16
acc.merge(InputRenameCfg(
"LArHitContainer"
,
"LArHitEMB"
,
"LArHitEMBOLD"
))
17
acc.merge(InputRenameCfg(
"LArHitContainer"
,
"LArHitEMEC"
,
"LArHitEMECOLD"
))
18
acc.merge(InputRenameCfg(
"LArHitContainer"
,
"LArHitHEC"
,
"LArHitHECOLD"
))
19
acc.merge(InputRenameCfg(
"LArHitContainer"
,
"LArHitFCAL"
,
"LArHitFCALOLD"
))
20
acc.addEventAlgo(CompFactory.LArHitFilter(
"LArHitFilter"
))
21
return
acc
LArHitAlgsConfig.LArHitFilterCfg
LArHitFilterCfg(flags, **kwargs)
Definition
LArHitAlgsConfig.py:11
Generated on
for ATLAS Offline Software by
1.17.0