In-field reconstruction program for g2p experiment