Pedestals

M. Volkov 2002
Revised by A. Kazantsev 12.2003
stkav@rcf.rhic.bnl.gov
Pedestal extraction code. Calcutates all 5 flavours of pedestals (LGpre, LGpost, HGpre, HGpost, TAC) and additionally LG and HG. For each (channel, AMU) pair it collects pedestal values, after that discards 10% events with highest signal and 10% events with lowest signal and calculates mean value and RMS using remaining 80% events. This trick allows to discard events what might be bad probably not due to electronic noise. /home/phnxpbgl/work/RawData/calib/pedestals
  1. Make sure that HV is on.
  2. Take a pedestal run with GTM file GTM.pbgl_init_shortlong_IY.gtm It allows to have all AMU cells occupied. Take 3000-6000 events.
  3. Make corrections in ped.dat
  4. Start root -l GetPedestal.C. It takes a few hours to fully process one file.
  5. Start root -l writePedestalASCII.C. You'll have a complete set of pedestal values in ASCII format. It can be submitted to the DB.

Last update:
Andrey Kazantsev