CDC amp dedx
From GlueXWiki
Comparing PID CDC dedx plots from frun 011497 using p3pi_hists plugin with normal code and with amp-dedx code.
Normal code: q = a_scale * gains[ring-1][straw-1] * (integral - scaled_ped*nsamples_integral) Amp-dedx code: q = a_scale * gains[ring-1][straw-1] * (maxamp - scaled_ped)* 28.8
(The scaling factor 28.8 was already known from matching the amplitude & charge landau MPVs for gain calibrations)