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.
https://github.com/TopEFT/topeft/blob/9e4ea60dc6abcb6503fcf70b955a1f57c8bc501a/topeft/modules/datacard_tools.py#L865-L874
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 https://github.com/TopEFT/topeft/pull/406#discussion_r1564832659_