I had some problems with subtracting the pedestals for the
calorimeter in EC. I traced it down to the routine eccal_strip.F.
In this routine the adc is converted from channels to energy, then
the pedestal is subtracted. This assumes the pedestal is expressed
in energy units. I changed the code so that the pedestal is
subtracted from the adc channel, then the conversion to energy
is performed.
If this conflicts with an existing convention, please let me
know. I guess Cole has worked with this the most; I checked with
Stepan before changing it.
- Will