Skip to content

Commit b173f31

Browse files
committed
add energy dependent cuts option for irfs
1 parent 8506aad commit b173f31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lstmcpipe/config/paths_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def path_dict(gamma_part, offset):
304304
'electron_file': self.dl2_output_file('electron'),
305305
},
306306
'output': os.path.join(self.irf_dir(gamma_src_offset=offset), f'irf_{self.prod_id}_{offset}.fits.gz'),
307-
'options': '--gh-efficiency 0.7 --theta-containment 0.7 '
307+
'options': '--gh-efficiency 0.7 --theta-containment 0.7 --energy-dependent-gh --energy-dependent-theta '
308308
}
309309
if gamma_part == 'gamma':
310310
d['options'] += ' --point-like'
@@ -822,7 +822,7 @@ def dl2_to_irfs(self):
822822
'electron_file': None,
823823
},
824824
'output': os.path.join(self.irf_dir(pointing), f'irf_{self.prod_id}_{pointing}.fits.gz'),
825-
'options': '--point-like --gh-efficiency 0.7 --theta-containment 0.7 ',
825+
'options': '--point-like --gh-efficiency 0.7 --theta-containment 0.7 --energy-dependent-gh --energy-dependent-theta ',
826826
'extra_slurm_options': {'mem': '6GB'},
827827
}
828828
paths.append(pp)

0 commit comments

Comments
 (0)