Analysis Software
Documentation for sPHENIX simulation software
|
Go to the source code of this file.
Functions | |
disp ('object_function') | |
disp (size(x)) | |
disp (DChi2) | |
Variables | |
function | Chi2 |
Ndata = 20 | |
calib_const = x(1:Ndata) | |
E_scale = x((Ndata+1):(Ndata + N_Runs-1)) | |
fix highest energy point for | i |
data = data * calib_const' | |
total_E = sum(data, 2) | |
AChi2 = abs((total_E - DataSet(i).E.*E_scale(i))./DataSet(i).DE) | |
DChi2 = sum(AChi2.^2) | |
disp | ( | 'object_function' | ) |
disp | ( | DChi2 | ) |
Definition at line 23 of file object_function.m.
View newest version in sPHENIX GitHub at line 23 of file object_function.m
Definition at line 11 of file object_function.m.
View newest version in sPHENIX GitHub at line 11 of file object_function.m
Chi2 |
Definition at line 1 of file object_function.m.
View newest version in sPHENIX GitHub at line 1 of file object_function.m
data = data * calib_const' |
Definition at line 19 of file object_function.m.
View newest version in sPHENIX GitHub at line 19 of file object_function.m
DChi2 = sum(AChi2.^2) |
Definition at line 25 of file object_function.m.
View newest version in sPHENIX GitHub at line 25 of file object_function.m
Definition at line 12 of file object_function.m.
View newest version in sPHENIX GitHub at line 12 of file object_function.m
Definition at line 15 of file object_function.m.
View newest version in sPHENIX GitHub at line 15 of file object_function.m
Ndata = 20 |
Definition at line 4 of file object_function.m.
View newest version in sPHENIX GitHub at line 4 of file object_function.m
Definition at line 21 of file object_function.m.
View newest version in sPHENIX GitHub at line 21 of file object_function.m