12 from LArGeoAlgsNV.LArGMConfig
import LArGMCfg
15 from LArCabling.LArCablingConfig
import LArOnOffIdMappingCfg, LArCalibIdMappingCfg
20 LArConditionsTestAlg=CompFactory.LArConditionsTestAlg()
21 LArConditionsTestAlg.OutputLevel = 2
22 LArConditionsTestAlg.TestCondObjs =
True
23 LArConditionsTestAlg.ApplyCorrections =
True
24 if (flags.LArCondTest.Step==2):
26 LArConditionsTestAlg.ReadCondObjs =
True
27 LArConditionsTestAlg.WriteCondObjs =
False
28 LArConditionsTestAlg.WriteCorrections =
False
31 LArConditionsTestAlg.ReadCondObjs =
False
32 LArConditionsTestAlg.WriteCondObjs =
True
33 LArConditionsTestAlg.WriteCorrections =
True
34 result.addEventAlgo(LArConditionsTestAlg)
36 if (flags.LArCondTest.Step==1):
38 from RegistrationServices.OutputConditionsAlgConfig
import OutputConditionsAlgCfg
40 outputFile=
"LarCondTestNoReg.root",
41 ObjectList=[
"LArRampMC#/LArCalorimeter/LArTests/LArRampsSingleGroup",
42 "LArRampMC#/LArCalorimeter/LArTests/LArRampsSubDetectorGrouping",
43 "LArRampMC#/LArCalorimeter/LArTests/LArRampsFeedThroughGrouping" ],
49 elif (flags.LArCondTest.Step==2):
51 from EventSelectorAthenaPool.CondProxyProviderConfig
import CondProxyProviderCfg