Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions quality_cuts/quality_cuts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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)

Expand Down