5 int nBins = inputSignal.
getSize();
7 std::vector<float> binValues(nBins);
9 for(
int outputBin = 0; outputBin < nBins; ++outputBin) {
10 float aTime = outputBin*binSize -
theDelay;
23 float maxFirst = 0., maxSecond = 0.;
30 if(v1 > maxFirst) maxFirst = v1;
31 if(v2 > maxSecond) maxSecond = v2;
35 return maxSecond/maxFirst;
float getBinValue(int i) const
static const double slope[3]
float ratio(const CSCAnalogSignal &crosstalkSignal, const CSCAnalogSignal &signal) const
analyzes the ratio between two signals.
float getTimeOffset() const
float theResistiveFraction
CSCAnalogSignal getCrosstalk(const CSCAnalogSignal &inputSignal) const
float getValue(float t) const