utility function to obtain beam parameters from DICOM RTPlan