I have checked in several routines which have to do with ec timing.
EC package:
*EcCal.CMN* - Changed effective speed of signal in scintillator
*eccal_strip.F* - Flagged tdc zeros and overflows
*ecfsp.F* - Added sqrt(adc) weighting to timing average. Now excluding
bad tdc's from timing average. Added documentation, indented do loops
and logical blocks.
*ecfph.F* - Added documentation, indented do loops and logical blocks.
SEB package:
*trk_2_ec* and *ec_do_match* - changed previous scheme for EC timing to
a more consistent one.
As of these changes, people should only use the 'inner' or 'outer' EC
times, NOT the 'whole' times. If you use only the results of SEB, that's
already what you will get, but if you go back to the ECHB, you could in
principle get the 'whole' time (layer = 9).
After Simon checks the TOF calibration changes into the map tomorrow,
I will re-calculate the EC calibration constants and put them into the
map. Until then, the calorimeter times will be precise but
not accurate, that is, they will give different times from the TOF's but
with good resolution....
Let me know if there are problems.
- Will