I’ve finished the standalone CES calibrations for the 0i data. The code that Pasha provided does all the calibration, but a few things have to be manually fixed after running it.
The code attempts to automatically find bad strips and wires. (those where the noise overshadows the signal) However, it occasionally gets it wrong. These errors show up in the espx (energy in strips vs. position in x) and ewpz (energy in wires vs. position in z) plots. channels that are marked bad will show up as a dip in the fitted function:

However, when a channel is incorrectly marked bad, as below, the calibration file has to be manually fixed:

One issue that I have to talk to Pasha about: the espx and ewpz fits are handled differently in the code. The ewpz fits don’t take bad strips into account, but I think they should. (When I tried to modify the code to include them, my changes didn’t seem to work.) I’ll talk to Pasha about this tomorrow.

There is one other error that the code doesn’t always get right. When absolutely calibrating the ADC counts to GeV factors, some of the fits don’t converge as they should. It’s a simple matter to find the ones that clearly didn’t converge correctly:

and manually fit them to be more correct:

Elisabetta is making the ntuples for the newer datasets. I’ll be talking to the Tau group tomorrow about the calibrations.
Scott