73 lines
10 KiB
C
73 lines
10 KiB
C
|
|
{
|
|
Double_t dosebig[25][30] = {
|
|
{ 1.34E+01, 1.45E+01, 7.95E+00, 5.45E+00, 4.17E+00, 3.37E+00, 2.81E+00, 2.55E+00, 2.24E+00, 2.02E+00, 1.83E+00, 1.68E+00, 1.55E+00, 1.43E+00, 1.34E+00, 1.28E+00, 1.20E+00, 1.15E+00, 1.06E+00, 9.75E-01, 9.35E-01, 8.60E-01, 7.95E-01, 7.45E-01, 6.85E-01, 6.20E-01, 5.80E-01, 5.20E-01, 4.96E-01, 4.65E-01} ,
|
|
{ 7.20E+00, 6.20E+00, 4.64E+00, 3.47E+00, 2.68E+00, 2.28E+00, 1.98E+00, 1.66E+00, 1.50E+00, 1.38E+00, 1.27E+00, 1.16E+00, 1.04E+00, 9.85E-01, 9.15E-01, 8.95E-01, 8.45E-01, 7.75E-01, 7.25E-01, 6.95E-01, 6.60E-01, 6.00E-01, 5.40E-01, 5.30E-01, 4.66E-01, 4.20E-01, 3.99E-01, 3.64E-01, 3.33E-01, 2.90E-01} ,
|
|
{ 2.74E+00, 2.55E+00, 2.23E+00, 2.04E+00, 1.65E+00, 1.47E+00, 1.29E+00, 1.25E+00, 1.06E+00, 9.70E-01, 8.85E-01, 8.50E-01, 7.75E-01, 7.20E-01, 6.75E-01, 6.65E-01, 6.10E-01, 5.65E-01, 5.50E-01, 5.10E-01, 4.74E-01, 4.51E-01, 4.06E-01, 3.80E-01, 3.75E-01, 3.16E-01, 2.86E-01, 2.72E-01, 2.54E-01, 1.89E-01} ,
|
|
{ 1.57E+00, 1.39E+00, 1.31E+00, 1.30E+00, 1.12E+00, 1.06E+00, 9.55E-01, 8.70E-01, 8.30E-01, 7.90E-01, 6.95E-01, 6.45E-01, 6.10E-01, 5.65E-01, 5.50E-01, 4.86E-01, 5.10E-01, 4.66E-01, 4.30E-01, 4.41E-01, 3.89E-01, 3.59E-01, 3.20E-01, 3.35E-01, 2.98E-01, 2.73E-01, 2.67E-01, 2.27E-01, 2.10E-01, 1.54E-01} ,
|
|
{ 1.00E+00, 9.00E-01, 9.10E-01, 9.15E-01, 8.25E-01, 8.00E-01, 7.40E-01, 6.75E-01, 6.65E-01, 5.80E-01, 5.35E-01, 5.10E-01, 4.60E-01, 4.58E-01, 4.09E-01, 3.93E-01, 3.78E-01, 3.63E-01, 3.52E-01, 3.49E-01, 2.88E-01, 2.78E-01, 2.64E-01, 2.56E-01, 2.44E-01, 2.23E-01, 2.21E-01, 1.97E-01, 1.73E-01, 1.37E-01} ,
|
|
{ 6.60E-01, 6.20E-01, 6.10E-01, 6.30E-01, 5.95E-01, 5.65E-01, 5.55E-01, 5.10E-01, 4.96E-01, 4.92E-01, 4.90E-01, 3.97E-01, 4.07E-01, 3.47E-01, 3.38E-01, 3.10E-01, 2.93E-01, 2.92E-01, 2.65E-01, 2.65E-01, 2.40E-01, 2.48E-01, 2.06E-01, 2.10E-01, 2.40E-01, 1.98E-01, 1.85E-01, 1.89E-01, 1.38E-01, 1.34E-01} ,
|
|
{ 4.83E-01, 4.77E-01, 4.60E-01, 4.75E-01, 4.39E-01, 4.12E-01, 4.47E-01, 4.00E-01, 3.78E-01, 3.65E-01, 3.43E-01, 3.31E-01, 2.85E-01, 3.22E-01, 2.85E-01, 2.54E-01, 2.53E-01, 2.49E-01, 2.48E-01, 2.20E-01, 2.17E-01, 1.95E-01, 1.99E-01, 1.80E-01, 1.75E-01, 1.68E-01, 1.77E-01, 1.51E-01, 1.37E-01, 1.10E-01} ,
|
|
{ 3.89E-01, 3.67E-01, 3.61E-01, 3.74E-01, 3.70E-01, 3.45E-01, 3.45E-01, 3.11E-01, 2.97E-01, 3.11E-01, 2.93E-01, 2.65E-01, 2.68E-01, 2.23E-01, 2.11E-01, 2.26E-01, 2.18E-01, 1.97E-01, 1.97E-01, 1.88E-01, 1.97E-01, 1.72E-01, 1.66E-01, 1.75E-01, 1.44E-01, 1.60E-01, 1.41E-01, 1.40E-01, 1.05E-01, 1.19E-01} ,
|
|
{ 3.18E-01, 2.54E-01, 3.06E-01, 2.89E-01, 2.74E-01, 2.80E-01, 2.57E-01, 2.59E-01, 2.51E-01, 2.45E-01, 2.62E-01, 2.36E-01, 2.15E-01, 2.12E-01, 1.96E-01, 2.12E-01, 1.78E-01, 1.75E-01, 1.69E-01, 1.64E-01, 1.64E-01, 1.62E-01, 1.53E-01, 1.49E-01, 1.47E-01, 1.49E-01, 1.42E-01, 1.20E-01, 1.01E-01, 9.00E-02} ,
|
|
{ 2.75E-01, 2.51E-01, 2.24E-01, 2.69E-01, 2.34E-01, 2.28E-01, 2.30E-01, 1.96E-01, 2.08E-01, 2.27E-01, 2.09E-01, 1.91E-01, 2.14E-01, 1.79E-01, 1.79E-01, 2.05E-01, 1.79E-01, 1.58E-01, 1.88E-01, 1.49E-01, 1.57E-01, 1.30E-01, 1.32E-01, 1.39E-01, 1.32E-01, 1.18E-01, 1.34E-01, 1.05E-01, 9.65E-02, 8.65E-02} ,
|
|
{ 2.35E-01, 2.34E-01, 2.27E-01, 2.17E-01, 2.41E-01, 2.21E-01, 2.01E-01, 1.87E-01, 2.04E-01, 1.85E-01, 1.75E-01, 1.69E-01, 1.79E-01, 1.92E-01, 1.56E-01, 1.79E-01, 1.78E-01, 1.41E-01, 1.45E-01, 1.41E-01, 1.36E-01, 1.44E-01, 1.11E-01, 1.24E-01, 1.13E-01, 1.29E-01, 1.02E-01, 9.30E-02, 9.65E-02, 8.40E-02} ,
|
|
{ 1.89E-01, 1.72E-01, 1.94E-01, 1.94E-01, 2.07E-01, 2.42E-01, 2.02E-01, 1.80E-01, 1.80E-01, 1.54E-01, 1.60E-01, 1.67E-01, 1.57E-01, 1.39E-01, 1.57E-01, 1.46E-01, 1.62E-01, 1.35E-01, 1.29E-01, 1.32E-01, 1.25E-01, 1.13E-01, 1.05E-01, 1.02E-01, 1.12E-01, 9.75E-02, 8.85E-02, 9.10E-02, 7.35E-02, 9.00E-02} ,
|
|
{ 1.56E-01, 1.40E-01, 1.52E-01, 1.70E-01, 1.55E-01, 1.48E-01, 1.54E-01, 1.61E-01, 1.58E-01, 1.54E-01, 1.34E-01, 1.43E-01, 1.40E-01, 1.41E-01, 1.26E-01, 1.17E-01, 1.20E-01, 1.05E-01, 1.11E-01, 1.06E-01, 1.03E-01, 9.50E-02, 1.02E-01, 8.65E-02, 9.45E-02, 9.35E-02, 7.05E-02, 6.70E-02, 7.55E-02, 5.80E-02} ,
|
|
{ 1.50E-01, 1.34E-01, 1.23E-01, 1.50E-01, 1.35E-01, 1.28E-01, 1.32E-01, 1.43E-01, 1.13E-01, 1.20E-01, 1.35E-01, 1.15E-01, 1.07E-01, 1.15E-01, 1.17E-01, 1.09E-01, 1.09E-01, 1.11E-01, 9.85E-02, 9.25E-02, 8.95E-02, 7.65E-02, 8.30E-02, 7.75E-02, 7.05E-02, 7.60E-02, 5.95E-02, 8.25E-02, 6.20E-02, 7.45E-02} ,
|
|
{ 1.29E-01, 1.08E-01, 1.05E-01, 1.28E-01, 1.33E-01, 1.18E-01, 1.11E-01, 1.30E-01, 1.13E-01, 1.01E-01, 1.05E-01, 9.20E-02, 9.35E-02, 9.30E-02, 9.45E-02, 1.17E-01, 1.00E-01, 8.75E-02, 9.15E-02, 8.45E-02, 5.95E-02, 6.50E-02, 7.65E-02, 7.45E-02, 7.05E-02, 7.50E-02, 5.40E-02, 5.75E-02, 5.65E-02, 5.40E-02} ,
|
|
{ 1.46E-01, 1.07E-01, 1.13E-01, 1.08E-01, 1.11E-01, 1.07E-01, 9.65E-02, 9.80E-02, 9.65E-02, 8.60E-02, 8.45E-02, 9.80E-02, 9.05E-02, 1.06E-01, 8.30E-02, 8.35E-02, 7.80E-02, 8.00E-02, 6.80E-02, 7.10E-02, 6.65E-02, 7.10E-02, 7.35E-02, 6.45E-02, 5.40E-02, 5.50E-02, 5.60E-02, 6.30E-02, 5.10E-02, 4.84E-02} ,
|
|
{ 1.15E-01, 9.80E-02, 9.65E-02, 1.08E-01, 1.00E-01, 1.32E-01, 8.25E-02, 9.90E-02, 9.30E-02, 8.40E-02, 8.75E-02, 7.70E-02, 9.30E-02, 7.65E-02, 7.70E-02, 8.00E-02, 7.20E-02, 7.10E-02, 6.90E-02, 6.95E-02, 6.25E-02, 5.90E-02, 7.15E-02, 6.10E-02, 5.10E-02, 5.10E-02, 5.20E-02, 5.80E-02, 6.35E-02, 4.94E-02} ,
|
|
{ 1.13E-01, 1.01E-01, 1.08E-01, 1.16E-01, 8.75E-02, 8.80E-02, 7.55E-02, 8.20E-02, 8.20E-02, 8.80E-02, 8.20E-02, 8.55E-02, 7.40E-02, 6.80E-02, 6.85E-02, 7.40E-02, 6.70E-02, 6.20E-02, 5.85E-02, 5.55E-02, 5.65E-02, 6.15E-02, 5.90E-02, 6.50E-02, 5.20E-02, 5.60E-02, 4.47E-02, 4.64E-02, 3.90E-02, 5.55E-02} ,
|
|
{ 9.35E-02, 7.60E-02, 7.45E-02, 8.60E-02, 8.85E-02, 7.30E-02, 5.95E-02, 6.60E-02, 7.25E-02, 7.05E-02, 7.00E-02, 7.50E-02, 6.90E-02, 7.30E-02, 6.30E-02, 6.45E-02, 6.05E-02, 5.95E-02, 5.60E-02, 5.20E-02, 4.72E-02, 5.25E-02, 5.65E-02, 4.89E-02, 3.86E-02, 4.41E-02, 4.57E-02, 3.96E-02, 4.49E-02, 5.15E-02} ,
|
|
{ 7.65E-02, 6.10E-02, 6.20E-02, 7.85E-02, 6.95E-02, 6.15E-02, 7.50E-02, 7.80E-02, 6.30E-02, 5.60E-02, 4.98E-02, 6.45E-02, 6.05E-02, 4.74E-02, 6.20E-02, 5.50E-02, 5.85E-02, 4.84E-02, 4.11E-02, 4.64E-02, 5.25E-02, 4.39E-02, 4.03E-02, 4.15E-02, 3.31E-02, 3.77E-02, 3.87E-02, 3.65E-02, 4.22E-02, 3.39E-02} ,
|
|
{ 6.55E-02, 5.30E-02, 5.45E-02, 5.90E-02, 5.25E-02, 5.70E-02, 5.75E-02, 5.10E-02, 5.95E-02, 4.73E-02, 5.85E-02, 5.90E-02, 5.35E-02, 5.70E-02, 5.10E-02, 4.50E-02, 5.10E-02, 5.10E-02, 4.80E-02, 4.16E-02, 4.56E-02, 4.21E-02, 4.22E-02, 3.65E-02, 3.55E-02, 3.69E-02, 3.99E-02, 3.91E-02, 3.20E-02, 2.36E-02} ,
|
|
{ 6.05E-02, 4.49E-02, 3.60E-02, 4.88E-02, 6.15E-02, 4.71E-02, 5.40E-02, 4.40E-02, 5.15E-02, 5.30E-02, 4.63E-02, 4.52E-02, 5.95E-02, 6.90E-02, 3.83E-02, 4.28E-02, 4.57E-02, 3.39E-02, 4.74E-02, 4.59E-02, 3.64E-02, 4.23E-02, 4.00E-02, 3.39E-02, 3.47E-02, 2.82E-02, 3.14E-02, 3.44E-02, 2.83E-02, 3.07E-02} ,
|
|
{ 4.42E-02, 3.93E-02, 3.97E-02, 4.28E-02, 4.25E-02, 4.61E-02, 3.78E-02, 3.64E-02, 4.53E-02, 4.21E-02, 4.04E-02, 4.10E-02, 4.33E-02, 4.15E-02, 3.29E-02, 3.88E-02, 3.14E-02, 3.34E-02, 3.60E-02, 3.53E-02, 3.64E-02, 3.60E-02, 2.79E-02, 2.96E-02, 3.28E-02, 2.95E-02, 2.75E-02, 2.83E-02, 2.64E-02, 2.49E-02} ,
|
|
{ 5.20E-02, 3.80E-02, 4.32E-02, 3.51E-02, 3.67E-02, 4.66E-02, 3.98E-02, 3.43E-02, 4.17E-02, 4.25E-02, 3.50E-02, 3.88E-02, 3.69E-02, 3.79E-02, 4.09E-02, 3.51E-02, 3.53E-02, 4.07E-02, 3.25E-02, 3.10E-02, 4.01E-02, 3.75E-02, 2.81E-02, 2.72E-02, 2.77E-02, 2.57E-02, 3.09E-02, 2.49E-02, 2.65E-02, 1.74E-02} ,
|
|
{ 3.84E-02, 3.99E-02, 3.29E-02, 3.76E-02, 3.31E-02, 3.33E-02, 3.40E-02, 3.55E-02, 3.63E-02, 3.01E-02, 3.40E-02, 4.82E-02, 3.13E-02, 4.77E-02, 3.41E-02, 4.30E-02, 3.45E-02, 3.01E-02, 3.07E-02, 2.94E-02, 2.56E-02, 2.21E-02, 2.40E-02, 2.43E-02, 2.66E-02, 2.44E-02, 1.98E-02, 2.55E-02, 2.41E-02, 2.00E-02}
|
|
};
|
|
|
|
Double_t dosesmall[20][20] =
|
|
{{3.705,3.97,3.43,3.615,3.375,3.27,3.515,3.74,3.29,3.42,3.985,3.415,3.32,3.305,3.765,3.22,3.37,2.855,3.23,3.145},
|
|
{4.565,4,3.98,3.735,3.995,3.73,3.6,3.495,3.73,4.06,3.865,4.355,3.745,3.535,3.47,3.17,3.835,3.425,3.19,3.29},
|
|
{ 4.65,4.37,4.09,4.29,4.65,4.62,4.04,3.845,4.375,4.09,4.05,4.885,4.35,4.705,3.905,4.06,3.82,3.665,3.61,3.67},
|
|
{ 4.905,4.74,5.1,4.62,4.425,4.625,4.695,4.395,4.685,4.335,4.665,4.575,4.485,4.725,5,4.715,4.055,4.32,4.76,4.225},
|
|
{ 5.55,6.35,5.3,5.15,5.25,5.35,5.05,5.25,5.6,5.4,5.25,4.68,4.645,4.98,4.555,4.935,4.725,4.485,4.51,4.135},
|
|
{ 6,6.55,6.35,6.5,6,5.55,5.65,6.15,5.95,5.75,5.75,5.55,5.6,5.3,4.71,5.15,4.905,5.6,4.565,4.38},
|
|
{ 7.35,7.6,6.9,7.1,6.9,7.05,6.3,6.7,6.45,7.75,5.8,5.7,6,5.6,5.85,5.4,5.9,5.55,5.55,4.835},
|
|
{ 8.65,8.45,18.65,7.6,8,8.9,7.55,7.4,7.7,6.45,8.35,7.5,6.95,7.55,7.2,7.2,7.05,6.1,6.2,5.6},
|
|
{ 11.45,11.5,11.4,11.1,15.25,10.5,9.5,9.15,8.25,8.15,8.35,8.65,8.25,8.7,7.8,7.5,7,6.8,6.7,5.85},
|
|
{ 15.75,16.6,15.9,16.95,14.05,15.8,13.2,12.35,12.95,11.25,10.5,10,9.7,9.85,8.95,8.25,7.9,7.75,7.45,7.3},
|
|
{ 20.8,5.4,20.8,19.05,19.1,17.05,16.55,17.25,13.5,12.65,11.9,12.05,11.15,11.5,10.25,9.65,9.6,8.3,8.95,8.2},
|
|
{ 24.85,23.95,22.6,21.85,22.5,18.9,20.7,22.4,17.05,15.65,13.45,12.05,11.85,10.7,10.5,10.25,9.65,9.3,8.65,7.95},
|
|
{ 3.575,6.7,12.65,22.2,20.35,28.85,18.7,17.55,17.85,16.5,13.95,12.65,12.45,11.7,10.45,9.85,9.15,8.85,8.2,8.8},
|
|
{ 0,0,0,1.665,14.75,27.4,28.7,20,19.75,18.65,26.45,14.3,13.6,13.25,11.5,11.2,10.7,11.1,9,9.15},
|
|
{ 0,0,0,0,0,12.2,26.5,22.45,20.9,20.45,22,17.2,14.75,13.15,13.1,11.3,11.35,9.75,10.85,8.65},
|
|
{ 0,0,0,0,0,0,27.25,27.1,25.65,20.9,22.5,18.65,15.7,13.6,14,11.65,10.65,9.6,9.7,8.45},
|
|
{ 0,0,0,0,0,0,11.8,30.05,26.45,37.8,23.45,22.5,17.3,15.05,13.7,11.65,11.85,10.7,9.95,8.9},
|
|
{ 0,0,0,0,0,0,0,29.65,32.05,26.4,22.95,27.95,17.65,14.6,13.3,12.2,11.9,10.75,10.3,10.1},
|
|
{ 0,0,0,0,0,0,0,13.1,38.05,30.2,35.8,21.65,19.4,15.45,14.05,12.95,12.6,11,10.55,9.5},
|
|
{ 0,0,0,0,0,0,0,8.25,37.85,28.8,32,23.35,19.85,17.65,15.35,12.75,12.35,10.95,10.25,9.35}};
|
|
|
|
TFile f("dose.root","recreate");
|
|
TH2F * dosehist50invfb = new TH2F("dosehist50invfb","dosehist50invfb",300,0,300,250,0,250);
|
|
|
|
for (unsigned int i = 0;i<250;i++){
|
|
for (unsigned int j = 0;j<300;j++){
|
|
dosehist50invfb->SetBinContent(j+1,i+1,dosebig[floor(i/10)][floor(j/10)]);
|
|
}
|
|
}
|
|
|
|
|
|
for (unsigned int i = 0;i<20;i++){
|
|
for (unsigned int j = 0;j<20;j++){
|
|
dosehist50invfb->SetBinContent(j+1,20-i,dosesmall[i][j]);
|
|
}
|
|
}
|
|
|
|
dosehist50invfb->Draw("coloz");
|
|
dosehist50invfb->Write();
|
|
f.Close();
|
|
}
|