ATLAS Offline Software
Functions
LArIdCablingTest Namespace Reference

Functions

def LArIdCablingTestCfg (flags, isSC=False)
 

Function Documentation

◆ LArIdCablingTestCfg()

def LArIdCablingTest.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 
LArCablingConfig.LArOnOffIdMappingSCCfg
def LArOnOffIdMappingSCCfg(configFlags)
Definition: LArCablingConfig.py:65
LArCablingConfig.LArOnOffIdMappingCfg
def LArOnOffIdMappingCfg(configFlags)
Definition: LArCablingConfig.py:62
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
LArIdCablingTest.LArIdCablingTestCfg
def LArIdCablingTestCfg(flags, isSC=False)
Definition: LArIdCablingTest.py:5