You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: VarianDataLoader.m
    path of file: ./repos/TIGRE/MATLAB/Utilities/IO/VarianCBCT
    
    the code of the file until where you have to start completion: function [proj_lg, geo, angles] = VarianDataLoader(datafolder, varargin)
% VarianDataLoader: Loads Varian CBCT projection, geomtry and angles data
%   Optional parameter: Motion lag correction. Default True. 
%   gpuids: Usable GPUs. Default, the first one.
% Load all dataset that are needed for reconstruction
% Tested on TrueBeam 2.0 and 2.7
% Date: 2021-04-02
% Author: Yi Du (yi.du@hotmail.com)
% datafolder = '~/your_data_path
    
function [tag_ACDC, tag_DPS, tag_SC, tag_BH, gpuids] = parse_inputs(varargin)
% create input parser
p = inputParser;
% add optional parameters
addParameter(p,'acdc', true);
addParameter(p,'dps', true);
addParameter(p,'sc', true);
% BH performance is very lame for unclear reason
addParameter(p,'bh', false);

addParameter(p,'gpuids',GpuIds())

%execute
parse(p,varargin{:});
%extract
tag_ACDC=p.Results.acdc;
tag_DPS=p.Results.dps;
tag_SC=p.Results.sc;
tag_BH=p.Results.bh;
gpuids=p.Results.gpuids;
end