diff --git a/Phys/TeslaTools/python/TeslaTools/TeslaTruthUtils.py b/Phys/TeslaTools/python/TeslaTools/TeslaTruthUtils.py index c82793b51fc4bf181f11b4f0cb0c1b9789a1fef5..0baed9c2a71ab73dfba7661e9735d4ebcceefe21 100644 --- a/Phys/TeslaTools/python/TeslaTools/TeslaTruthUtils.py +++ b/Phys/TeslaTools/python/TeslaTools/TeslaTruthUtils.py @@ -72,23 +72,23 @@ def associateSequence(prefix, debug): def makeTruth(input, rels, toollist): from Configurables import DaVinciSmartAssociator, P2MCPFromProtoP from Configurables import MCMatchObjP2MCRelator, TupleToolMCBackgroundInfo, BackgroundCategory - + MCTruth = input.addTupleTool('TupleToolMCTruth') MCTruth.ToolList = toollist # MCTruth.OutputLevel = 1 - + MCTruth.addTool(DaVinciSmartAssociator) MCTruth.DaVinciSmartAssociator.RedoNeutral = False MCTruth.DaVinciSmartAssociator.addTool(P2MCPFromProtoP) MCTruth.DaVinciSmartAssociator.P2MCPFromProtoP.Locations = rels MCTruth.addTool(MCMatchObjP2MCRelator) MCTruth.MCMatchObjP2MCRelator.RelTableLocations = rels - + MCTruth.DaVinciSmartAssociator.addTool(BackgroundCategory) MCTruth.DaVinciSmartAssociator.BackgroundCategory.addTool(P2MCPFromProtoP) MCTruth.DaVinciSmartAssociator.BackgroundCategory.vetoNeutralRedo = True MCTruth.DaVinciSmartAssociator.BackgroundCategory.P2MCPFromProtoP.Locations = rels - + input.addTool(TupleToolMCBackgroundInfo) input.TupleToolMCBackgroundInfo.addTool(BackgroundCategory) input.TupleToolMCBackgroundInfo.BackgroundCategory.vetoNeutralRedo = True