ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_G4_SD
python
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
ALFA_G4_SDConfig.ALFA_SensitiveDetectorCfg
ALFA_SensitiveDetectorCfg(flags, name="ALFA_SensitiveDetector", **kwargs)
Definition
ALFA_G4_SDConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0