13 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
16 from CaloLocalHadCalib.LCWConfigFlags
import addLCWFlags
25 flags.Input.Files=runArgs.inputESDFile
28 flags.Calo.TopoCluster.doTopoClusterLocalCalib = runArgs.doLocalCalib
29 flags.Calo.TopoCluster.doCellWeightCalib = runArgs.doCellWeight
30 flags.Calo.TopoCluster.doCalibHitMoments = runArgs.doHitMoments
33 flags.LCW.doClassification = runArgs.doClassification
34 flags.LCW.doWeighting = runArgs.doWeighting
35 flags.LCW.doOutOfCluster = runArgs.doOOC
36 flags.LCW.doDeadMaterial = runArgs.doDeadM
43 from CaloRec.CaloTopoClusterConfig
import CaloTopoClusterCfg
46 topoAlg = topoAcc.getPrimary()
47 topoAlg.ClusterCorrectionTools.__getitem__(
"TopoCalibMoments").MatchDmType = 1
48 topoAlg.ClusterCorrectionTools.__getitem__(
"TopoCalibMoments").CalibrationHitContainerNames = [
"LArCalibrationHitInactive",
"LArCalibrationHitActive",
"TileCalibHitActiveCell",
"TileCalibHitInactiveCell"]
49 topoAlg.ClusterCorrectionTools.__getitem__(
"TopoCalibMoments").DMCalibrationHitContainerNames = [
"LArCalibrationHitDeadMaterial_DEAD",
"LArCalibrationHitInactive_DEAD",
"LArCalibrationHitActive_DEAD",
"TileCalibHitDeadMaterial"]
60 sys.exit(
not sc.isSuccess())