3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
8 """ Get the sum of weights algorithm """
10 SumOfWeightsAlg = CompFactory.SumOfWeightsAlg
16 """ Get the MC Event Weight Tool """
18 McEventWeight = CompFactory.McEventWeight
24 """ Get the SUSY ID Weight Tool """
26 SUSYIDWeight = CompFactory.SUSYIDWeight
32 """Add SUSY weights"""
39 for i
in range(0, 225):
40 myName = pref+
"SUSYWeight_ID"+
"_"+
str(i)
45 listTools.append( acc.getPublicTool(myName) )
47 acc.merge(
SumOfWeightsAlgCfg(flags, name=pref+
"SUSYSumWeightsAlg", WeightTools=listTools) )