Difference between revisions of "CDC amp dedx"
From GlueXWiki
Line 9: | Line 9: | ||
</pre> | </pre> | ||
+ | |||
+ | (The scaling factor 28.8 was already known from matching the amplitude & charge landau MPVs for gain calibrations) | ||
+ | |||
{| border="0" cellpadding="2" | {| border="0" cellpadding="2" |
Revision as of 11:03, 9 August 2016
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)