process_mc
- lstchain.mc.sensitivity.process_mc(dl2_file, mc_type)
Process the MC simulated and reconstructed to extract the relevant parameters to compute the sensitivity
- Parameters:
- dl2_file: dl2 file with mc parameters
- events: `pandas DataFrame’ dl2 events
- mc_type: ‘string’ type of particle
- Returns:
- gammaness: numpy.ndarray
- angdist2: numpy.ndarray angular distance squared
- e_reco: numpy.ndarray reconstructed energies
- n_reco: int number of reconstructed events
- mc_par: dict with simulated parameters