ATLAS Offline Software
ALFA_G4_SDConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def ALFA_SensitiveDetectorCfg(flags, name="ALFA_SensitiveDetector", **kwargs):
7  result = ComponentAccumulator()
8  volumeNames = [ "ALFA::logALFA_FiberU" , "ALFA::logALFA_FiberV" , "ALFA::logOD_FiberActive" ,
9  "ALFA::B7L1_GVS" , "ALFA::A7L1_GVS" , "ALFA::A7R1_GVS" , "ALFA::B7R1_GVS" ]
10  for i in range(64):
11  volumeNames += [ "ALFA::logALFA_FiberU["+str(i)+"]" ]
12  volumeNames += [ "ALFA::logALFA_FiberV["+str(i)+"]" ]
13  kwargs.setdefault("LogicalVolumeNames", volumeNames)
14  kwargs.setdefault("OutputCollectionNames", ["ALFA_HitCollection", "ALFA_ODHitCollection"])
15  result.setPrivateTools(CompFactory.ALFA_SensitiveDetectorTool(name, **kwargs))
16  return result
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
str
Definition: BTagTrackIpAccessor.cxx:11
ALFA_G4_SDConfig.ALFA_SensitiveDetectorCfg
def ALFA_SensitiveDetectorCfg(flags, name="ALFA_SensitiveDetector", **kwargs)
Definition: ALFA_G4_SDConfig.py:6