thermalfiterrpt.C does 4 things: 1. take the mt spectra of particles (pi+, pi-, K+, K-, p, pbar) and convert them into pt spectra 2. apply thermal (bose-einstein and fermi-dirac) fits and gaussian fits 3. calculate by performing two integrals: int(x*y)dx and int(y)dx 4. calculate errors of mean pt by varying the fit parameters randomly and calculate the deviations of the values run this code by doing source thermalfiterrpt.lsf the output text files will be created in the same location as the corrYields_0.5sig.root the code meanpt.C will read theses text files and plot vs. h- rp aug-03