diff --git a/quality_cuts/quality_cuts.py b/quality_cuts/quality_cuts.py index ee09c40..2e19844 100644 --- a/quality_cuts/quality_cuts.py +++ b/quality_cuts/quality_cuts.py @@ -3,7 +3,7 @@ def quality_cuts(df): """ - All the nonesences ( $\chi$2 < 0), inf and nan were deleted. Also applied + All the numerical artifacts ( $\chi$2 < 0), inf and nan were deleted. Also applied quality cuts based on detector geometry. Full description could be found in https://docs.google.com/document/d/11f0ZKPW8ftTVhTxeWiog1g6qdsGgN1mlIE3vd5FHLbc/edit?usp=sharing @@ -24,8 +24,8 @@ def quality_cuts(df): chi2_cut = (df['chi2geo'] > 0) & (df['chi2primpos'] > 0) & (df['chi2primneg'] > 0) &\ (df['chi2topo'] > 0) mass_cut = (df['mass'] > 1.077) - angle_cut = (df['cosinepos'] > 0) & (df['cosineneg']>0) - coord_cut = (df['z'] > 0 ) & (abs(df['x']) < 50) & (abs(df['y']) < 50) + + coord_cut = (abs(df['x']) < 50) & (abs(df['y']) < 50) dist_l_cut = (df['distance'] > 0) & (df['distance'] < 100) &\ (df['l'] > 0 ) & (df['ldl'] > 0 ) & (abs(df['l']) < 80)