TransferFunctions.py: common code for different eta bins