Changeset 8293 for trunk/MagicSoft/Mars/msignal
- Timestamp:
- 02/03/07 14:17:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msignal/MExtractTimeAndCharge.cc
r8207 r8293 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1. 59 2006-11-02 17:44:09tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MExtractTimeAndCharge.cc,v 1.60 2007-02-03 14:16:12 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 176 176 if (sat0<=0) 177 177 return 0; 178 if (sat0==1) 179 return sig[0]>maxcont/2 ? 0 : 0.5; 180 181 if (sig[p]>sig[p+1] || sig[p+1]>sig[p+2]) 182 return sat[p+1]>maxcont/2 ? sat0-1 : sat0-0.5; 178 183 179 184 // Find the place at which the signal is maxcont/2
Note:
See TracChangeset
for help on using the changeset viewer.