Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /analysis/Prototype2/EMCal/macros/DrawDataSet.m is written in an unsupported language. File is not indexed.

0001 function DrawDataSet(DataSet, calibconst, name)
0002 
0003     N_Runs = size(DataSet , 2);
0004 
0005     figure('name',['DrawDataSet_' name],'PaperPositionMode','auto', ...
0006         'position',[100,0,1800,1000]) ;
0007     
0008     for i = 1:N_Runs
0009         subplot(3,2,i);
0010 
0011         total_E = sum( DataSet(i).data* calibconst', 2) ;
0012 
0013     %     hist(total_E, 0:.1:25);
0014         histfit(total_E, 50,'normal');
0015 
0016     end
0017 
0018 end