You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print("Systematics Error arr[0]:Zero values in 'nominal' but non-zero in '%s'"% (syst))
ifcheck_zero_arr1andsum(arr[1]) !=0:
print("Systematics Error arr[1]:Zero values in 'nominal' but non-zero in '%s'"% (syst))
if"Down"insyst:
ifcheck_zero_arr0andsum(arr[0]) !=0:
print("Systematics Error arr[0]:Zero values in 'nominal' but non-zero in '%s'"% (syst))
ifcheck_zero_arr1andsum(arr[1]) !=0:
print("Systematics Error arr[1]:Zero values in 'nominal' but non-zero in '%s'"% (syst))
The FF terms only affect the fakes_sm process
The other terms (e.g. FSR, renorm, ...) affect every process butfakes_sm
Something like this might be the minimal changes needed:
check_zero_arr0 = check_zero_arr0 and ('fakes' in proc and 'FF' in syst) or ('fakes' not in proc and 'FF' not in syst)
check_zero_arr1 = check_zero_arr1 and ('fakes' in proc and 'FF' in syst) or ('fakes' not in proc and 'FF' not in syst)
if "Up" in syst:
Now I don't think proc is defined here, so see if there's an easy way to pass it or get it here.
topeft/topeft/modules/datacard_tools.py
Lines 865 to 874 in 9e4ea60
FF
terms only affect thefakes_sm
processFSR
,renorm
, ...) affect every process butfakes_sm
Something like this might be the minimal changes needed:
Now I don't think
proc
is defined here, so see if there's an easy way to pass it or get it here.Originally posted by @bryates in #406 (comment)
The text was updated successfully, but these errors were encountered: