ATLAS Offline Software
Functions
LArHitAlgsConfig Namespace Reference

Functions

def LArHitFilterCfg (flags, **kwargs)
 

Detailed Description

Define functions for LAr Digitization with ComponentAccumulator

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

Function Documentation

◆ LArHitFilterCfg()

def LArHitAlgsConfig.LArHitFilterCfg (   flags,
**  kwargs 
)
Return ComponentAccumulator with LArHitFilter 

Definition at line 11 of file LArHitAlgsConfig.py.

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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.DetDescrCnvSvcConfig.DetDescrCnvSvcCfg
def DetDescrCnvSvcCfg(flags, **kwargs)
Definition: DetDescrCnvSvcConfig.py:6
LArHitAlgsConfig.LArHitFilterCfg
def LArHitFilterCfg(flags, **kwargs)
Definition: LArHitAlgsConfig.py:11
AddressRemappingConfig.InputRenameCfg
def InputRenameCfg(type, from_name, to_name)
Definition: AddressRemappingConfig.py:28