Check the channel id usage for pixel gain and pixel threshold (with input files). Make sure we are not only reading the values for the first module.