Who operates the flight?
The earning rates are based on a combination of the operating carrier, the fare class on the operating carrier (very important when code shares are involved) and the program to which you are crediting the flight.
If you are crediting to CO then the LH accrual rates have no bearing on what you'll earn.
If you want to compare earning rates on a particular flight across a number of *A programs try this tool:
http://www.wandr.me/tools/Frequent_F...g_Options.aspx. I have about 8 programs in there, I think.