diff --git a/primo.mac b/primo.mac index 53a1e40cffc960b5f14e60c6dd10e965b52e10d3..8ebc35d5f5835344cfc08c17339054f20860560a 100644 --- a/primo.mac +++ b/primo.mac @@ -1,5 +1,3 @@ -/gps/particle gamma - /gps/pos/type Plane /gps/pos/shape Square /gps/pos/halfx 50 cm @@ -15,5 +13,5 @@ /gps/direction -0.000 -0.000 -1.000 /gps/energy 150.0 keV -/run/beamOn 10000000 -Kumar, P.; Zhang, B. The physics of gamma-ray bursts relativistic jets. Phys. Rep. 2015, 561, 1–109. \ No newline at end of file + +/run/beamOn 1000000 diff --git a/python/convertRoot2Fits.py b/python/convertRoot2Fits.py index aa2e3b001c1ffff80f8e86358c7b98146e471740..abe02c5b51fbee0120d31b7bad6dee5403f7af33 100644 --- a/python/convertRoot2Fits.py +++ b/python/convertRoot2Fits.py @@ -101,3 +101,5 @@ def generate_fits(energy, theta_deg, phi_deg): print("File .fits creato correttamente") except Exception as e: print("Errore durante la creazione del file .fits") + +generate_fits(66, 0, 0) \ No newline at end of file diff --git a/python/main.py b/python/main.py index a1f3f2501208a2422a9d99de09ccf7ecb9119975..1267b68ec1062e57d7e27e9ac8d132bc29e2d171 100644 --- a/python/main.py +++ b/python/main.py @@ -28,6 +28,7 @@ def main(): rot1_x, rot1_y, rot1_z, rot2_x, rot2_y, rot2_z, dir_x, dir_y, dir_z) + run_macro(macro_name)