Implementing a fix to handle the LO_GAIN and HI_GAIN treatment for run2 in master branch as discussed in !58718 (closed). tag: @csebasti @perjohan @gfacini @cgrefe @christos