Skip to content

DC pressure dependent field parameter used added incorrectly #975

@hauenst

Description

@hauenst

In the TableLoader in DC reconstruction the pressure dependent parameters for the "bfield_coefficienct" are added twice to the constant parameter:

delta_bfield_coefficient[s][r] = t2dPressure.getDoubleValueByHash("delta_bfield_a0", hash)
                            +t2dPressure.getDoubleValueByHash("delta_bfield_a1", hash)*dp*dpscale
                            +t2dPressure.getDoubleValueByHash("delta_bfield_a2", hash)*dp*dp*dp2scale
                            +t2dPressure.getDoubleValueByHash("delta_bfield_a1", hash)*dp*dpscale
                            +t2dPressure.getDoubleValueByHash("delta_bfield_a2", hash)*dp*dp*dp2scale;

This leads to a remaining pressure dependence in recent timelines of RGK, RGD and RGE for Region 2.

The fix is just to remove the two lines

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions