Codes for pi0 analysis performed with the g12 data set