Loading primo.mac +2 −4 Original line number Diff line number Diff line /gps/particle gamma /gps/pos/type Plane /gps/pos/shape Square /gps/pos/halfx 50 cm Loading @@ -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 python/convertRoot2Fits.py +2 −0 Original line number Diff line number Diff line Loading @@ -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 python/main.py +1 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ def main(): rot2_x, rot2_y, rot2_z, dir_x, dir_y, dir_z) run_macro(macro_name) generate_fits(energy, theta_deg, phi_deg) Loading Loading
primo.mac +2 −4 Original line number Diff line number Diff line /gps/particle gamma /gps/pos/type Plane /gps/pos/shape Square /gps/pos/halfx 50 cm Loading @@ -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
python/convertRoot2Fits.py +2 −0 Original line number Diff line number Diff line Loading @@ -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
python/main.py +1 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ def main(): rot2_x, rot2_y, rot2_z, dir_x, dir_y, dir_z) run_macro(macro_name) generate_fits(energy, theta_deg, phi_deg) Loading