From bdd6b7fcad0d2951382a58d9bac06882ab2010db Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Thu, 24 Nov 2016 14:40:27 +0100 Subject: [PATCH] Align cell #0 of each channel instead of 700. Same result, but less confusing. --- software/src/DRS.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/software/src/DRS.cpp b/software/src/DRS.cpp index 2b60164..33042e3 100644 --- a/software/src/DRS.cpp +++ b/software/src/DRS.cpp @@ -4593,18 +4593,17 @@ int DRSBoard::GetTime(unsigned int chipIndex, int channelIndex, int tc, float *t } if (channelIndex > 0) { - // correct all channels to channel 0 (Daniel's method) - iend = tc >= 700 ? 700+1024 : 700; - for (i=tc,gt0=0 ; i