Here are the gain files...
ECAL gain values for 17th of August
ECAL gain values for 21st of August
ECAL gain values for 25th of August
ECAL gain values for 26th of August
How to do a gain file...
All you need to do to create a gain file is:
Download script: looptestgain.C. It requires a small library created by Chad Jarvis and named checo.so. If you still had some problems with compiling probably you don't have a HTBDAQ library, which is you can get here.
Find calibration runs and put them into a file.It must consists of lines with run numbers and theirs number of events.
In root run the script. Parameters are as follow: xxx(char* input_file,char* output_file,int loops=1,int max_cycles=50000,int xtal_min=1, int xtal_max=49,int min_bin=75, int max_bin=150))
Parameters "min_bin" and "max_bin" set the range for the gaussian fitting, which is used to find a center of a energy distribution peak.