Please give a look on the past lectures on medical applications
In brief you need to have an RTPLAN file, which if you load in flair it will be able to convert it to SPOTBEAM cards for each beam, together with the proper normalisations DICOM-Planned & Calculated Dose