ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Functions
LArIdCablingTest Namespace Reference
Functions
LArIdCablingTestCfg
(flags, isSC=
False
)
Function Documentation
◆
LArIdCablingTestCfg()
LArIdCablingTestCfg
(
flags
,
isSC
=
False
)
Definition at line
5
of file
LArIdCablingTest.py
.
5
def
LArIdCablingTestCfg(flags,isSC=False):
6
from
LArGeoAlgsNV.LArGMConfig
import
LArGMCfg
7
result=LArGMCfg(flags)
8
9
if
isSC:
10
#Setup SuperCell cabling
11
from
LArCabling.LArCablingConfig
import
LArOnOffIdMappingSCCfg
12
result.merge(LArOnOffIdMappingSCCfg(flags))
13
else
:
14
#Setup regular cabling
15
from
LArCabling.LArCablingConfig
import
LArOnOffIdMappingCfg
16
result.merge(LArOnOffIdMappingCfg(flags))
17
18
result.addEventAlgo(CompFactory.LArIdCablingTest(
"LArIdCablingTest"
,isSC=isSC,
19
CablingKey=
"LArOnOffIdMapSC"
if
isSC
else
"LArOnOffIdMap"
,
20
))
21
return
result
22
23
Generated on
for ATLAS Offline Software by
1.17.0