signal class
template that takes the ratio of two signals
modified detector class to make members private