Commit 587175fc authored by Ievgen Vovk's avatar Ievgen Vovk
Browse files

[make_irf.py]: take event cuts from the config file.

parent 2fa992bb
......@@ -588,7 +588,7 @@ irf_generator.set_energy_binning(min_energy=0.1, max_energy=30, n_energy_bins=10
irf_generator.set_theta_binning(min_theta=0.0, max_theta=1.5, n_theta_bins=5)
irf_generator.set_migra_binning(min_migra=0.2, max_migra=5.0, n_migra_bins=5)
irf_generator.set_cuts('(multiplicity > 1) & (abs(pos_angle_shift_reco - 0.5) > 0.4) & (event_class_0 > 0.8)')
irf_generator.set_cuts(config['event_list']['cuts']['selection'])
irf_generator.generate_irf('crab_irf.fits')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment