# UserHooks Warning: the calculation of uncertainty variations will only be consistent in the absence of any external modifications to the shower branching probabilities via the UserHooks framework. It is therefore strongly advised to avoid combining the automated uncertainty calculations with any such UserHooks modifications.
#
#Merging Warning: in multi-jet merging approaches, trial showers are used to generate missing Sudakov factor corrections to the hard matrix elements. Currently that framework is not consistently combined with the variations introduced here, so the two should not be used simultaneously. This means shower weights should NOT be used with CKKLW or FxFx merging!
#
#
# Pythia8 shower weights are only available in release 2.26 and later. The
# test below checks the Pythia8 release and also verifies that the Pythia_i
# tag is recent enought to store the shower weights.
if"PYTHIA8VER"inos.environ:
verph8str=str(os.environ['PYTHIA8VER'])[:3]
verph8=int(verph8str)
print("verph8 ",verph8)
else:
print("PYTHIA8VER not available !!! assuming version 2.40)
verph8 = 240
if (verph8 >= 226):
if "ShowerWeightNames" in genSeq.Pythia8.__slots__.keys():
# UserHooks Warning: the calculation of uncertainty variations will only be consistent in the absence of any external modifications to the shower branching probabilities via the UserHooks framework. It is therefore strongly advised to avoid combining the automated uncertainty calculations with any such UserHooks modifications.
#
#Merging Warning: in multi-jet merging approaches, trial showers are used to generate missing Sudakov factor corrections to the hard matrix elements. Currently that framework is not consistently combined with the variations introduced here, so the two should not be used simultaneously. This means shower weights should NOT be used with CKKLW or FxFx merging!
#
#
# Pythia8 shower weights are only available in release 2.26 and later. The
# test below checks the Pythia8 release and also verifies that the Pythia_i
# tag is recent enought to store the shower weights.
if"PYTHIA8VER"inos.environ:
verph8str=str(os.environ['PYTHIA8VER'])[:3]
verph8=int(verph8str)
print("verph8 ",verph8)
else:
print("PYTHIA8VER not available !!! assuming version 2.40)
verph8 = 240
if (verph8 >= 226):
if "ShowerWeightNames" in genSeq.Pythia8.__slots__.keys():