passed planC to getDoseAssociatedScan function as an input argument.