B prime analysis using the FinalStateAnalysis framework