Updated BeamProfile.C