added functions for adding strip adc values. added thresholds from input files
rearranged code for config file, added trigger loading from event file