Commit 6d260f5b authored by Ewelina Maria Lobodzinska's avatar Ewelina Maria Lobodzinska Committed by Christian Gutschow
Browse files

remove files which are present in Pythia8_i/share/common

parent 1b081a6c
Pipeline #3155162 passed with stages
in 1 minute and 48 seconds
# Warnings:
# 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" in os.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():
print "Initalizing Shower Weights from Pythia8_ShowerWeights.py"
if("NNPDF" in evgenConfig.tune):
genSeq.Pythia8.Commands += [
'UncertaintyBands:doVariations = on',
'UncertaintyBands:List = {\
Var3cUp isr:muRfac=0.549241,\
Var3cDown isr:muRfac=1.960832,\
isr:muRfac=2.0_fsr:muRfac=2.0 isr:muRfac=2.0 fsr:muRfac=2.0,\
isr:muRfac=2.0_fsr:muRfac=1.0 isr:muRfac=2.0 fsr:muRfac=1.0,\
isr:muRfac=2.0_fsr:muRfac=0.5 isr:muRfac=2.0 fsr:muRfac=0.5,\
isr:muRfac=1.0_fsr:muRfac=2.0 isr:muRfac=1.0 fsr:muRfac=2.0,\
isr:muRfac=1.0_fsr:muRfac=0.5 isr:muRfac=1.0 fsr:muRfac=0.5,\
isr:muRfac=0.5_fsr:muRfac=2.0 isr:muRfac=0.5 fsr:muRfac=2.0,\
isr:muRfac=0.5_fsr:muRfac=1.0 isr:muRfac=0.5 fsr:muRfac=1.0,\
isr:muRfac=0.5_fsr:muRfac=0.5 isr:muRfac=0.5 fsr:muRfac=0.5,\
isr:muRfac=1.75_fsr:muRfac=1.0 isr:muRfac=1.75 fsr:muRfac=1.0,\
isr:muRfac=1.5_fsr:muRfac=1.0 isr:muRfac=1.5 fsr:muRfac=1.0,\
isr:muRfac=1.25_fsr:muRfac=1.0 isr:muRfac=1.25 fsr:muRfac=1.0,\
isr:muRfac=0.625_fsr:muRfac=1.0 isr:muRfac=0.625 fsr:muRfac=1.0,\
isr:muRfac=0.75_fsr:muRfac=1.0 isr:muRfac=0.75 fsr:muRfac=1.0,\
isr:muRfac=0.875_fsr:muRfac=1.0 isr:muRfac=0.875 fsr:muRfac=1.0,\
isr:muRfac=1.0_fsr:muRfac=1.75 isr:muRfac=1.0 fsr:muRfac=1.75,\
isr:muRfac=1.0_fsr:muRfac=1.5 isr:muRfac=1.0 fsr:muRfac=1.5,\
isr:muRfac=1.0_fsr:muRfac=1.25 isr:muRfac=1.0 fsr:muRfac=1.25,\
isr:muRfac=1.0_fsr:muRfac=0.625 isr:muRfac=1.0 fsr:muRfac=0.625,\
isr:muRfac=1.0_fsr:muRfac=0.75 isr:muRfac=1.0 fsr:muRfac=0.75,\
isr:muRfac=1.0_fsr:muRfac=0.875 isr:muRfac=1.0 fsr:muRfac=0.875,\
hardHi fsr:cNS=2.0 isr:cNS=2.0,\
hardLo fsr:cNS=-2.0 isr:cNS=-2.0,\
isr:PDF:plus=1,\
isr:PDF:minus=2\
}']
genSeq.Pythia8.ShowerWeightNames = [
"Var3cUp",
"Var3cDown",
"isr:muRfac=2.0_fsr:muRfac=2.0",
"isr:muRfac=2.0_fsr:muRfac=1.0",
"isr:muRfac=2.0_fsr:muRfac=0.5",
"isr:muRfac=1.0_fsr:muRfac=2.0",
"isr:muRfac=1.0_fsr:muRfac=0.5",
"isr:muRfac=0.5_fsr:muRfac=2.0",
"isr:muRfac=0.5_fsr:muRfac=1.0",
"isr:muRfac=0.5_fsr:muRfac=0.5",
"isr:muRfac=1.75_fsr:muRfac=1.0",
"isr:muRfac=1.5_fsr:muRfac=1.0",
"isr:muRfac=1.25_fsr:muRfac=1.0",
"isr:muRfac=0.625_fsr:muRfac=1.0",
"isr:muRfac=0.75_fsr:muRfac=1.0",
"isr:muRfac=0.875_fsr:muRfac=1.0",
"isr:muRfac=1.0_fsr:muRfac=1.75",
"isr:muRfac=1.0_fsr:muRfac=1.5",
"isr:muRfac=1.0_fsr:muRfac=1.25",
"isr:muRfac=1.0_fsr:muRfac=0.625",
"isr:muRfac=1.0_fsr:muRfac=0.75",
"isr:muRfac=1.0_fsr:muRfac=0.875",
"hardHi",
"hardLo",
"isr:PDF:plus",
"isr:PDF:minus"
]
else:
genSeq.Pythia8.Commands += [
'UncertaintyBands:doVariations = on',
'UncertaintyBands:List = {\
Var3cUp isr:muRfac=0.549241,\
Var3cDown isr:muRfac=1.960832,\
isr:muRfac=2.0_fsr:muRfac=2.0 isr:muRfac=2.0 fsr:muRfac=2.0,\
isr:muRfac=2.0_fsr:muRfac=1.0 isr:muRfac=2.0 fsr:muRfac=1.0,\
isr:muRfac=2.0_fsr:muRfac=0.5 isr:muRfac=2.0 fsr:muRfac=0.5,\
isr:muRfac=1.0_fsr:muRfac=2.0 isr:muRfac=1.0 fsr:muRfac=2.0,\
isr:muRfac=1.0_fsr:muRfac=0.5 isr:muRfac=1.0 fsr:muRfac=0.5,\
isr:muRfac=0.5_fsr:muRfac=2.0 isr:muRfac=0.5 fsr:muRfac=2.0,\
isr:muRfac=0.5_fsr:muRfac=1.0 isr:muRfac=0.5 fsr:muRfac=1.0,\
isr:muRfac=0.5_fsr:muRfac=0.5 isr:muRfac=0.5 fsr:muRfac=0.5,\
isr:muRfac=1.75_fsr:muRfac=1.0 isr:muRfac=1.75 fsr:muRfac=1.0,\
isr:muRfac=1.5_fsr:muRfac=1.0 isr:muRfac=1.5 fsr:muRfac=1.0,\
isr:muRfac=1.25_fsr:muRfac=1.0 isr:muRfac=1.25 fsr:muRfac=1.0,\
isr:muRfac=0.625_fsr:muRfac=1.0 isr:muRfac=0.625 fsr:muRfac=1.0,\
isr:muRfac=0.75_fsr:muRfac=1.0 isr:muRfac=0.75 fsr:muRfac=1.0,\
isr:muRfac=0.875_fsr:muRfac=1.0 isr:muRfac=0.875 fsr:muRfac=1.0,\
isr:muRfac=1.0_fsr:muRfac=1.75 isr:muRfac=1.0 fsr:muRfac=1.75,\
isr:muRfac=1.0_fsr:muRfac=1.5 isr:muRfac=1.0 fsr:muRfac=1.5,\
isr:muRfac=1.0_fsr:muRfac=1.25 isr:muRfac=1.0 fsr:muRfac=1.25,\
isr:muRfac=1.0_fsr:muRfac=0.625 isr:muRfac=1.0 fsr:muRfac=0.625,\
isr:muRfac=1.0_fsr:muRfac=0.75 isr:muRfac=1.0 fsr:muRfac=0.75,\
isr:muRfac=1.0_fsr:muRfac=0.875 isr:muRfac=1.0 fsr:muRfac=0.875,\
hardHi fsr:cNS=2.0 isr:cNS=2.0,\
hardLo fsr:cNS=-2.0 isr:cNS=-2.0\
}']
genSeq.Pythia8.ShowerWeightNames = [
"Var3cUp",
"Var3cDown",
"isr:muRfac=2.0_fsr:muRfac=2.0",
"isr:muRfac=2.0_fsr:muRfac=1.0",
"isr:muRfac=2.0_fsr:muRfac=0.5",
"isr:muRfac=1.0_fsr:muRfac=2.0",
"isr:muRfac=1.0_fsr:muRfac=0.5",
"isr:muRfac=0.5_fsr:muRfac=2.0",
"isr:muRfac=0.5_fsr:muRfac=1.0",
"isr:muRfac=0.5_fsr:muRfac=0.5",
"isr:muRfac=1.75_fsr:muRfac=1.0",
"isr:muRfac=1.5_fsr:muRfac=1.0",
"isr:muRfac=1.25_fsr:muRfac=1.0",
"isr:muRfac=0.625_fsr:muRfac=1.0",
"isr:muRfac=0.75_fsr:muRfac=1.0",
"isr:muRfac=0.875_fsr:muRfac=1.0",
"isr:muRfac=1.0_fsr:muRfac=1.75",
"isr:muRfac=1.0_fsr:muRfac=1.5",
"isr:muRfac=1.0_fsr:muRfac=1.25",
"isr:muRfac=1.0_fsr:muRfac=0.625",
"isr:muRfac=1.0_fsr:muRfac=0.75",
"isr:muRfac=1.0_fsr:muRfac=0.875",
"hardHi",
"hardLo"
]
else:
print "Pythia8_i version too old for shower weights"
else:
print "No shower weights since not supported in Pythia8.",verph8
# Warnings:
# 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" in os.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():
print "Initalizing Shower Weights from Pythia8_ShowerWeights.py"
if("NNPDF" in evgenConfig.tune):
genSeq.Pythia8.Commands += [
'UncertaintyBands:doVariations = on',
'UncertaintyBands:List = {\
Var3cUp isr:muRfac=0.549241,\
Var3cDown isr:muRfac=1.960832,\
isr:muRfac=2.0_fsr:muRfac=2.0 isr:muRfac=2.0 fsr:muRfac=2.0,\
isr:muRfac=2.0_fsr:muRfac=1.0 isr:muRfac=2.0 fsr:muRfac=1.0,\
isr:muRfac=2.0_fsr:muRfac=0.5 isr:muRfac=2.0 fsr:muRfac=0.5,\
isr:muRfac=1.0_fsr:muRfac=2.0 isr:muRfac=1.0 fsr:muRfac=2.0,\
isr:muRfac=1.0_fsr:muRfac=0.5 isr:muRfac=1.0 fsr:muRfac=0.5,\
isr:muRfac=0.5_fsr:muRfac=2.0 isr:muRfac=0.5 fsr:muRfac=2.0,\
isr:muRfac=0.5_fsr:muRfac=1.0 isr:muRfac=0.5 fsr:muRfac=1.0,\
isr:muRfac=0.5_fsr:muRfac=0.5 isr:muRfac=0.5 fsr:muRfac=0.5,\
isr:muRfac=1.75_fsr:muRfac=1.0 isr:muRfac=1.75 fsr:muRfac=1.0,\
isr:muRfac=1.5_fsr:muRfac=1.0 isr:muRfac=1.5 fsr:muRfac=1.0,\
isr:muRfac=1.25_fsr:muRfac=1.0 isr:muRfac=1.25 fsr:muRfac=1.0,\
isr:muRfac=0.625_fsr:muRfac=1.0 isr:muRfac=0.625 fsr:muRfac=1.0,\
isr:muRfac=0.75_fsr:muRfac=1.0 isr:muRfac=0.75 fsr:muRfac=1.0,\
isr:muRfac=0.875_fsr:muRfac=1.0 isr:muRfac=0.875 fsr:muRfac=1.0,\
isr:muRfac=1.0_fsr:muRfac=1.75 isr:muRfac=1.0 fsr:muRfac=1.75,\
isr:muRfac=1.0_fsr:muRfac=1.5 isr:muRfac=1.0 fsr:muRfac=1.5,\
isr:muRfac=1.0_fsr:muRfac=1.25 isr:muRfac=1.0 fsr:muRfac=1.25,\
isr:muRfac=1.0_fsr:muRfac=0.625 isr:muRfac=1.0 fsr:muRfac=0.625,\
isr:muRfac=1.0_fsr:muRfac=0.75 isr:muRfac=1.0 fsr:muRfac=0.75,\
isr:muRfac=1.0_fsr:muRfac=0.875 isr:muRfac=1.0 fsr:muRfac=0.875,\
hardHi fsr:cNS=2.0 isr:cNS=2.0,\
hardLo fsr:cNS=-2.0 isr:cNS=-2.0,\
isr:PDF:plus=1,\
isr:PDF:minus=2\
}']
genSeq.Pythia8.ShowerWeightNames = [
"Var3cUp",
"Var3cDown",
"isr:muRfac=2.0_fsr:muRfac=2.0",
"isr:muRfac=2.0_fsr:muRfac=1.0",
"isr:muRfac=2.0_fsr:muRfac=0.5",
"isr:muRfac=1.0_fsr:muRfac=2.0",
"isr:muRfac=1.0_fsr:muRfac=0.5",
"isr:muRfac=0.5_fsr:muRfac=2.0",
"isr:muRfac=0.5_fsr:muRfac=1.0",
"isr:muRfac=0.5_fsr:muRfac=0.5",
"isr:muRfac=1.75_fsr:muRfac=1.0",
"isr:muRfac=1.5_fsr:muRfac=1.0",
"isr:muRfac=1.25_fsr:muRfac=1.0",
"isr:muRfac=0.625_fsr:muRfac=1.0",
"isr:muRfac=0.75_fsr:muRfac=1.0",
"isr:muRfac=0.875_fsr:muRfac=1.0",
"isr:muRfac=1.0_fsr:muRfac=1.75",
"isr:muRfac=1.0_fsr:muRfac=1.5",
"isr:muRfac=1.0_fsr:muRfac=1.25",
"isr:muRfac=1.0_fsr:muRfac=0.625",
"isr:muRfac=1.0_fsr:muRfac=0.75",
"isr:muRfac=1.0_fsr:muRfac=0.875",
"hardHi",
"hardLo",
"isr:PDF:plus",
"isr:PDF:minus"
]
else:
genSeq.Pythia8.Commands += [
'UncertaintyBands:doVariations = on',
'UncertaintyBands:List = {\
Var3cUp isr:muRfac=0.549241,\
Var3cDown isr:muRfac=1.960832,\
isr:muRfac=2.0_fsr:muRfac=2.0 isr:muRfac=2.0 fsr:muRfac=2.0,\
isr:muRfac=2.0_fsr:muRfac=1.0 isr:muRfac=2.0 fsr:muRfac=1.0,\
isr:muRfac=2.0_fsr:muRfac=0.5 isr:muRfac=2.0 fsr:muRfac=0.5,\
isr:muRfac=1.0_fsr:muRfac=2.0 isr:muRfac=1.0 fsr:muRfac=2.0,\
isr:muRfac=1.0_fsr:muRfac=0.5 isr:muRfac=1.0 fsr:muRfac=0.5,\
isr:muRfac=0.5_fsr:muRfac=2.0 isr:muRfac=0.5 fsr:muRfac=2.0,\
isr:muRfac=0.5_fsr:muRfac=1.0 isr:muRfac=0.5 fsr:muRfac=1.0,\
isr:muRfac=0.5_fsr:muRfac=0.5 isr:muRfac=0.5 fsr:muRfac=0.5,\
isr:muRfac=1.75_fsr:muRfac=1.0 isr:muRfac=1.75 fsr:muRfac=1.0,\
isr:muRfac=1.5_fsr:muRfac=1.0 isr:muRfac=1.5 fsr:muRfac=1.0,\
isr:muRfac=1.25_fsr:muRfac=1.0 isr:muRfac=1.25 fsr:muRfac=1.0,\
isr:muRfac=0.625_fsr:muRfac=1.0 isr:muRfac=0.625 fsr:muRfac=1.0,\
isr:muRfac=0.75_fsr:muRfac=1.0 isr:muRfac=0.75 fsr:muRfac=1.0,\
isr:muRfac=0.875_fsr:muRfac=1.0 isr:muRfac=0.875 fsr:muRfac=1.0,\
isr:muRfac=1.0_fsr:muRfac=1.75 isr:muRfac=1.0 fsr:muRfac=1.75,\
isr:muRfac=1.0_fsr:muRfac=1.5 isr:muRfac=1.0 fsr:muRfac=1.5,\
isr:muRfac=1.0_fsr:muRfac=1.25 isr:muRfac=1.0 fsr:muRfac=1.25,\
isr:muRfac=1.0_fsr:muRfac=0.625 isr:muRfac=1.0 fsr:muRfac=0.625,\
isr:muRfac=1.0_fsr:muRfac=0.75 isr:muRfac=1.0 fsr:muRfac=0.75,\
isr:muRfac=1.0_fsr:muRfac=0.875 isr:muRfac=1.0 fsr:muRfac=0.875,\
hardHi fsr:cNS=2.0 isr:cNS=2.0,\
hardLo fsr:cNS=-2.0 isr:cNS=-2.0\
}']
genSeq.Pythia8.ShowerWeightNames = [
"Var3cUp",
"Var3cDown",
"isr:muRfac=2.0_fsr:muRfac=2.0",
"isr:muRfac=2.0_fsr:muRfac=1.0",
"isr:muRfac=2.0_fsr:muRfac=0.5",
"isr:muRfac=1.0_fsr:muRfac=2.0",
"isr:muRfac=1.0_fsr:muRfac=0.5",
"isr:muRfac=0.5_fsr:muRfac=2.0",
"isr:muRfac=0.5_fsr:muRfac=1.0",
"isr:muRfac=0.5_fsr:muRfac=0.5",
"isr:muRfac=1.75_fsr:muRfac=1.0",
"isr:muRfac=1.5_fsr:muRfac=1.0",
"isr:muRfac=1.25_fsr:muRfac=1.0",
"isr:muRfac=0.625_fsr:muRfac=1.0",
"isr:muRfac=0.75_fsr:muRfac=1.0",
"isr:muRfac=0.875_fsr:muRfac=1.0",
"isr:muRfac=1.0_fsr:muRfac=1.75",
"isr:muRfac=1.0_fsr:muRfac=1.5",
"isr:muRfac=1.0_fsr:muRfac=1.25",
"isr:muRfac=1.0_fsr:muRfac=0.625",
"isr:muRfac=1.0_fsr:muRfac=0.75",
"isr:muRfac=1.0_fsr:muRfac=0.875",
"hardHi",
"hardLo"
]
else:
print "Pythia8_i version too old for shower weights"
else:
print "No shower weights since not supported in Pythia8.",verph8
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment