calctxpower
calctxpower(&ahp.h, ng, gchans, tpcReduction, powerLimit, gtxpow);
calctxpower(&ahp.h, nb, bchans, tpcReduction, powerLimit, btxpow);
calctxpower(&ahp.h, na, achans, tpcReduction, powerLimit, atxpow);
calctxpower(&ahp.h, nt, tchans, tpcReduction, powerLimit, ttxpow);
calctxpower(&ahp.h, ntg, tgchans, tpcReduction, powerLimit, tgtxpow);
calctxpower(&ahp.h, nn, nchans, tpcReduction, powerLimit, ntxpow);