-
Notifications
You must be signed in to change notification settings - Fork 0
/
Topas-VarianBeamAR.txt
63 lines (51 loc) · 12.7 KB
/
Topas-VarianBeamAR.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
############################################################################################
# File : Topas-VarianBeamAR.txt
# Name : Claus E. Andersen
# Created: January 15, 2023
# Revised: January 15, 2023
#
# Objective:
# Simple spectra for Varian linear accelerator photon beams: 4 MV, 6 MV, 10 MV, 15 MV or 18 MV
# for use in Topas (version 3.9) Monte-Carlo simulations.
#
# The spectra have been produced on the basis of Table 5 in the paper by Ali and Rogers:
#
# E.S.M. Ali and D.W.O. Rogers:
# Functional forms for photon spectra of clinical linacs
# Phys. Med. Biol. 57 (2012) 31–50.
# doi:10.1088/0031-9155/57/1/31
#
# Example of use in a Topas parameter file:
#
# includeFile = Topas-VarianBeamAR.txt
# s:So/clanBeam/BeamEnergySpectrumType = "Continuous" # None, Continuous or Discrete
#
# # Code for selection of spectra: VarianBeamxxMV where xx = 04, 06, 10, 15, or 18
# dv:So/clanBeam/BeamEnergySpectrumValues = So/VarianBeam04MV/BeamEnergySpectrumValues MeV
# uv:So/clanBeam/BeamEnergySpectrumWeights = So/VarianBeam04MV/BeamEnergySpectrumWeights
############################################################################################
# 4 MV Varian photon spectrum generated using Ali and Rogers (AR) data
# See Phys. Med. Biol. 57 (2012) 31–50, Functional forms for photon spectra of clinical linacs
# Implemented by Claus E. Andersen, January 15, 2023
dv:So/VarianBeam04MV/BeamEnergySpectrumValues = 38 0.01 0.11 0.21 0.31 0.41 0.51 0.61 0.71 0.81 0.91 1.01 1.11 1.21 1.31 1.41 1.51 1.61 1.71 1.81 1.91 2.01 2.11 2.21 2.31 2.41 2.51 2.61 2.71 2.81 2.91 3.01 3.11 3.21 3.31 3.41 3.51 3.61 3.71 MeV
uv:So/VarianBeam04MV/BeamEnergySpectrumWeights = 38 0.0000000e+00 1.3705027e-22 3.1766449e-05 6.9704733e-03 3.1106497e-02 5.3682112e-02 6.6329988e-02 7.0903839e-02 7.0549054e-02 6.7529972e-02 6.3223239e-02 5.8417178e-02 5.3547973e-02 4.8847636e-02 4.4431070e-02 4.0346470e-02 3.6604475e-02 3.3195094e-02 3.0097560e-02 2.7286066e-02 2.4733077e-02 2.2411203e-02 2.0294216e-02 1.8357558e-02 1.6578552e-02 1.4936429e-02 1.3412267e-02 1.1988866e-02 1.0650607e-02 9.3832960e-03 8.1740130e-03 7.0109646e-03 5.8833474e-03 4.7812188e-03 3.6953787e-03 2.6172592e-03 1.5388222e-03 4.5246300e-04
# 6 MV Varian photon spectrum generated using Ali and Rogers (AR) data
# See Phys. Med. Biol. 57 (2012) 31–50, Functional forms for photon spectra of clinical linacs
# Implemented by Claus E. Andersen, January 15, 2023
dv:So/VarianBeam06MV/BeamEnergySpectrumValues = 58 0.01 0.11 0.21 0.31 0.41 0.51 0.61 0.71 0.81 0.91 1.01 1.11 1.21 1.31 1.41 1.51 1.61 1.71 1.81 1.91 2.01 2.11 2.21 2.31 2.41 2.51 2.61 2.71 2.81 2.91 3.01 3.11 3.21 3.31 3.41 3.51 3.61 3.71 3.81 3.91 4.01 4.11 4.21 4.31 4.41 4.51 4.61 4.71 4.81 4.91 5.01 5.11 5.21 5.31 5.41 5.51 5.61 5.71 MeV
uv:So/VarianBeam06MV/BeamEnergySpectrumWeights = 58 0.0000000e+00 3.8712853e-04 2.8872904e-02 4.9099576e-02 5.4864068e-02 5.5149490e-02 5.3305267e-02 5.0611673e-02 4.7620025e-02 4.4587894e-02 4.1640070e-02 3.8836173e-02 3.6202061e-02 3.3745545e-02 3.1464705e-02 2.9352458e-02 2.7399145e-02 2.5594004e-02 2.3926024e-02 2.2384423e-02 2.0958906e-02 1.9639803e-02 1.8418117e-02 1.7285530e-02 1.6234387e-02 1.5257657e-02 1.4348889e-02 1.3502175e-02 1.2712095e-02 1.1973679e-02 1.1282364e-02 1.0633957e-02 1.0024599e-02 9.4507293e-03 8.9090621e-03 8.3965547e-03 7.9103849e-03 7.4479283e-03 7.0067380e-03 6.5845258e-03 6.1791458e-03 5.7885778e-03 5.4109136e-03 5.0443433e-03 4.6871423e-03 4.3376598e-03 3.9943070e-03 3.6555465e-03 3.3198810e-03 2.9858425e-03 2.6519818e-03 2.3168569e-03 1.9790212e-03 1.6370111e-03 1.2893319e-03 9.3444315e-04 5.7074082e-04 1.9653797e-04
# 10 MV Varian photon spectrum generated using Ali and Rogers (AR) data
# See Phys. Med. Biol. 57 (2012) 31–50, Functional forms for photon spectra of clinical linacs
# Implemented by Claus E. Andersen, January 15, 2023
dv:So/VarianBeam10MV/BeamEnergySpectrumValues = 105 0.01 0.11 0.21 0.31 0.41 0.51 0.61 0.71 0.81 0.91 1.01 1.11 1.21 1.31 1.41 1.51 1.61 1.71 1.81 1.91 2.01 2.11 2.21 2.31 2.41 2.51 2.61 2.71 2.81 2.91 3.01 3.11 3.21 3.31 3.41 3.51 3.61 3.71 3.81 3.91 4.01 4.11 4.21 4.31 4.41 4.51 4.61 4.71 4.81 4.91 5.01 5.11 5.21 5.31 5.41 5.51 5.61 5.71 5.81 5.91 6.01 6.11 6.21 6.31 6.41 6.51 6.61 6.71 6.81 6.91 7.01 7.11 7.21 7.31 7.41 7.51 7.61 7.71 7.81 7.91 8.01 8.11 8.21 8.31 8.41 8.51 8.61 8.71 8.81 8.91 9.01 9.11 9.21 9.31 9.41 9.51 9.61 9.71 9.81 9.91 10.01 10.11 10.21 10.31 10.41 MeV
uv:So/VarianBeam10MV/BeamEnergySpectrumWeights = 105 0.0000000e+00 1.8759557e-03 1.4510154e-02 2.1149679e-02 2.4751981e-02 2.6842732e-02 2.8000370e-02 2.8530958e-02 2.8626634e-02 2.8417434e-02 2.7994594e-02 2.7423415e-02 2.6751222e-02 2.6012599e-02 2.5232954e-02 2.4431005e-02 2.3620547e-02 2.2811721e-02 2.2011941e-02 2.1226572e-02 2.0459429e-02 1.9713163e-02 1.8989536e-02 1.8289638e-02 1.7614051e-02 1.6962970e-02 1.6336306e-02 1.5733749e-02 1.5154834e-02 1.4598981e-02 1.4065527e-02 1.3553756e-02 1.3062917e-02 1.2592240e-02 1.2140948e-02 1.1708266e-02 1.1293428e-02 1.0895681e-02 1.0514291e-02 1.0148543e-02 9.7977465e-03 9.4612314e-03 9.1383532e-03 8.8284911e-03 8.5310484e-03 8.2454525e-03 7.9711539e-03 7.7076257e-03 7.4543633e-03 7.2108833e-03 6.9767227e-03 6.7514382e-03 6.5346052e-03 6.3258173e-03 6.1246848e-03 5.9308347e-03 5.7439092e-03 5.5635653e-03 5.3894739e-03 5.2213190e-03 5.0587971e-03 4.9016166e-03 4.7494968e-03 4.6021674e-03 4.4593681e-03 4.3208476e-03 4.1863633e-03 4.0556807e-03 3.9285727e-03 3.8048193e-03 3.6842066e-03 3.5665270e-03 3.4515780e-03 3.3391623e-03 3.2290868e-03 3.1211623e-03 3.0152032e-03 2.9110268e-03 2.8084526e-03 2.7073023e-03 2.6073988e-03 2.5085659e-03 2.4106274e-03 2.3134072e-03 2.2167276e-03 2.1204097e-03 2.0242717e-03 1.9281288e-03 1.8317920e-03 1.7350669e-03 1.6377531e-03 1.5396424e-03 1.4405180e-03 1.3401524e-03 1.2383059e-03 1.1347242e-03 1.0291365e-03 9.2125186e-04 8.1075672e-04 6.9731029e-04 5.8054005e-04 4.6003596e-04 3.3534352e-04 2.0595519e-04 7.1299791e-05
# 15 MV Varian photon spectrum generated using Ali and Rogers (AR) data
# See Phys. Med. Biol. 57 (2012) 31–50, Functional forms for photon spectra of clinical linacs
# Implemented by Claus E. Andersen, January 15, 2023
dv:So/VarianBeam15MV/BeamEnergySpectrumValues = 141 0.01 0.11 0.21 0.31 0.41 0.51 0.61 0.71 0.81 0.91 1.01 1.11 1.21 1.31 1.41 1.51 1.61 1.71 1.81 1.91 2.01 2.11 2.21 2.31 2.41 2.51 2.61 2.71 2.81 2.91 3.01 3.11 3.21 3.31 3.41 3.51 3.61 3.71 3.81 3.91 4.01 4.11 4.21 4.31 4.41 4.51 4.61 4.71 4.81 4.91 5.01 5.11 5.21 5.31 5.41 5.51 5.61 5.71 5.81 5.91 6.01 6.11 6.21 6.31 6.41 6.51 6.61 6.71 6.81 6.91 7.01 7.11 7.21 7.31 7.41 7.51 7.61 7.71 7.81 7.91 8.01 8.11 8.21 8.31 8.41 8.51 8.61 8.71 8.81 8.91 9.01 9.11 9.21 9.31 9.41 9.51 9.61 9.71 9.81 9.91 10.01 10.11 10.21 10.31 10.41 10.51 10.61 10.71 10.81 10.91 11.01 11.11 11.21 11.31 11.41 11.51 11.61 11.71 11.81 11.91 12.01 12.11 12.21 12.31 12.41 12.51 12.61 12.71 12.81 12.91 13.01 13.11 13.21 13.31 13.41 13.51 13.61 13.71 13.81 13.91 14.01 MeV
uv:So/VarianBeam15MV/BeamEnergySpectrumWeights = 141 0.0000000e+00 4.2037488e-33 1.1310017e-07 3.7599852e-04 4.1026729e-03 1.0916748e-02 1.7536713e-02 2.2520344e-02 2.5801030e-02 2.7726391e-02 2.8670790e-02 2.8934815e-02 2.8738408e-02 2.8236826e-02 2.7538113e-02 2.6717062e-02 2.5825337e-02 2.4898555e-02 2.3961176e-02 2.3029876e-02 2.2115877e-02 2.1226561e-02 2.0366607e-02 1.9538784e-02 1.8744516e-02 1.7984282e-02 1.7257906e-02 1.6564760e-02 1.5903914e-02 1.5274242e-02 1.4674500e-02 1.4103381e-02 1.3559554e-02 1.3041690e-02 1.2548486e-02 1.2078674e-02 1.1631030e-02 1.1204383e-02 1.0797614e-02 1.0409659e-02 1.0039508e-02 9.6862078e-03 9.3488541e-03 9.0265948e-03 8.7186261e-03 8.4241901e-03 8.1425726e-03 7.8731010e-03 7.6151414e-03 7.3680970e-03 7.1314053e-03 6.9045366e-03 6.6869914e-03 6.4782991e-03 6.2780156e-03 6.0857222e-03 5.9010238e-03 5.7235472e-03 5.5529400e-03 5.3888691e-03 5.2310199e-03 5.0790945e-03 4.9328112e-03 4.7919032e-03 4.6561179e-03 4.5252158e-03 4.3989698e-03 4.2771646e-03 4.1595958e-03 4.0460691e-03 3.9364002e-03 3.8304137e-03 3.7279427e-03 3.6288286e-03 3.5329202e-03 3.4400736e-03 3.3501514e-03 3.2630228e-03 3.1785628e-03 3.0966521e-03 3.0171768e-03 2.9400279e-03 2.8651010e-03 2.7922966e-03 2.7215189e-03 2.6526764e-03 2.5856811e-03 2.5204487e-03 2.4568982e-03 2.3949517e-03 2.3345342e-03 2.2755735e-03 2.2180000e-03 2.1617466e-03 2.1067485e-03 2.0529430e-03 2.0002694e-03 1.9486689e-03 1.8980845e-03 1.8484608e-03 1.7997438e-03 1.7518811e-03 1.7048213e-03 1.6585144e-03 1.6129113e-03 1.5679638e-03 1.5236245e-03 1.4798469e-03 1.4365848e-03 1.3937927e-03 1.3514253e-03 1.3094375e-03 1.2677844e-03 1.2264210e-03 1.1853022e-03 1.1443823e-03 1.1036154e-03 1.0629547e-03 1.0223528e-03 9.8176096e-04 9.4112934e-04 9.0040651e-04 8.5953921e-04 8.1847211e-04 7.7714740e-04 7.3550445e-04 6.9347933e-04 6.5100434e-04 6.0800742e-04 5.6441148e-04 5.2013363e-04 4.7508428e-04 4.2916603e-04 3.8227248e-04 3.3428664e-04 2.8507918e-04 2.3450619e-04 1.8240652e-04 1.2859846e-04 7.2875650e-05 1.5001898e-05
# 18 MV Varian photon spectrum generated using Ali and Rogers (AR) data
# See Phys. Med. Biol. 57 (2012) 31–50, Functional forms for photon spectra of clinical linacs
# Implemented by Claus E. Andersen, January 15, 2023
dv:So/VarianBeam18MV/BeamEnergySpectrumValues = 184 0.01 0.11 0.21 0.31 0.41 0.51 0.61 0.71 0.81 0.91 1.01 1.11 1.21 1.31 1.41 1.51 1.61 1.71 1.81 1.91 2.01 2.11 2.21 2.31 2.41 2.51 2.61 2.71 2.81 2.91 3.01 3.11 3.21 3.31 3.41 3.51 3.61 3.71 3.81 3.91 4.01 4.11 4.21 4.31 4.41 4.51 4.61 4.71 4.81 4.91 5.01 5.11 5.21 5.31 5.41 5.51 5.61 5.71 5.81 5.91 6.01 6.11 6.21 6.31 6.41 6.51 6.61 6.71 6.81 6.91 7.01 7.11 7.21 7.31 7.41 7.51 7.61 7.71 7.81 7.91 8.01 8.11 8.21 8.31 8.41 8.51 8.61 8.71 8.81 8.91 9.01 9.11 9.21 9.31 9.41 9.51 9.61 9.71 9.81 9.91 10.01 10.11 10.21 10.31 10.41 10.51 10.61 10.71 10.81 10.91 11.01 11.11 11.21 11.31 11.41 11.51 11.61 11.71 11.81 11.91 12.01 12.11 12.21 12.31 12.41 12.51 12.61 12.71 12.81 12.91 13.01 13.11 13.21 13.31 13.41 13.51 13.61 13.71 13.81 13.91 14.01 14.11 14.21 14.31 14.41 14.51 14.61 14.71 14.81 14.91 15.01 15.11 15.21 15.31 15.41 15.51 15.61 15.71 15.81 15.91 16.01 16.11 16.21 16.31 16.41 16.51 16.61 16.71 16.81 16.91 17.01 17.11 17.21 17.31 17.41 17.51 17.61 17.71 17.81 17.91 18.01 18.11 18.21 18.31 MeV
uv:So/VarianBeam18MV/BeamEnergySpectrumWeights = 184 0.0000000e+00 2.9882865e-19 1.3739547e-05 1.2434232e-03 5.0853732e-03 9.4587862e-03 1.3109394e-02 1.5837759e-02 1.7769464e-02 1.9079055e-02 1.9918658e-02 2.0407065e-02 2.0633883e-02 2.0666071e-02 2.0553680e-02 2.0334276e-02 2.0036206e-02 1.9680978e-02 1.9284992e-02 1.8860805e-02 1.8418060e-02 1.7964180e-02 1.7504879e-02 1.7044550e-02 1.6586566e-02 1.6133496e-02 1.5687286e-02 1.5249392e-02 1.4820879e-02 1.4402510e-02 1.3994806e-02 1.3598097e-02 1.3212566e-02 1.2838276e-02 1.2475198e-02 1.2123231e-02 1.1782221e-02 1.1451968e-02 1.1132243e-02 1.0822792e-02 1.0523346e-02 1.0233625e-02 9.9533387e-03 9.6821979e-03 9.4199109e-03 9.1661876e-03 8.9207418e-03 8.6832915e-03 8.4535608e-03 8.2312800e-03 8.0161866e-03 7.8080255e-03 7.6065491e-03 7.4115178e-03 7.2226999e-03 7.0398714e-03 6.8628163e-03 6.6913262e-03 6.5252002e-03 6.3642448e-03 6.2082738e-03 6.0571079e-03 5.9105747e-03 5.7685081e-03 5.6307486e-03 5.4971428e-03 5.3675429e-03 5.2418072e-03 5.1197992e-03 5.0013876e-03 4.8864463e-03 4.7748540e-03 4.6664939e-03 4.5612540e-03 4.4590261e-03 4.3597065e-03 4.2631952e-03 4.1693960e-03 4.0782164e-03 3.9895672e-03 3.9033627e-03 3.8195201e-03 3.7379600e-03 3.6586056e-03 3.5813830e-03 3.5062210e-03 3.4330509e-03 3.3618065e-03 3.2924239e-03 3.2248416e-03 3.1590000e-03 3.0948418e-03 3.0323115e-03 2.9713557e-03 2.9119226e-03 2.8539623e-03 2.7974266e-03 2.7422686e-03 2.6884434e-03 2.6359073e-03 2.5846179e-03 2.5345345e-03 2.4856174e-03 2.4378282e-03 2.3911298e-03 2.3454863e-03 2.3008625e-03 2.2572248e-03 2.2145403e-03 2.1727769e-03 2.1319039e-03 2.0918910e-03 2.0527091e-03 2.0143297e-03 1.9767251e-03 1.9398685e-03 1.9037336e-03 1.8682949e-03 1.8335275e-03 1.7994071e-03 1.7659102e-03 1.7330134e-03 1.7006943e-03 1.6689307e-03 1.6377010e-03 1.6069841e-03 1.5767591e-03 1.5470058e-03 1.5177041e-03 1.4888345e-03 1.4603777e-03 1.4323145e-03 1.4046264e-03 1.3772947e-03 1.3503014e-03 1.3236282e-03 1.2972574e-03 1.2711712e-03 1.2453520e-03 1.2197823e-03 1.1944447e-03 1.1693218e-03 1.1443962e-03 1.1196504e-03 1.0950672e-03 1.0706288e-03 1.0463177e-03 1.0221160e-03 9.9800572e-04 9.7396864e-04 9.4998621e-04 9.2603954e-04 9.0210938e-04 8.7817603e-04 8.5421927e-04 8.3021831e-04 8.0615173e-04 7.8199735e-04 7.5773219e-04 7.3333234e-04 7.0877285e-04 6.8402764e-04 6.5906931e-04 6.3386903e-04 6.0839635e-04 5.8261898e-04 5.5650261e-04 5.3001062e-04 5.0310382e-04 4.7574005e-04 4.4787390e-04 4.1945614e-04 3.9043328e-04 3.6074695e-04 3.3033311e-04 2.9912129e-04 2.6703349e-04 2.3398298e-04 1.9987284e-04 1.6459411e-04 1.2802360e-04 9.0021122e-05 5.0426065e-05 9.0530083e-06