BeamProfile.C  Updated