XENON1T / processing

Processing scripts for XENON data
Apache License 2.0
0 stars 4 forks source link

TruthSorting_arrays.py #10

Closed JosephJHowlett closed 7 years ago

JosephJHowlett commented 7 years ago

The current dataframe_to_root() function seems to throw an error when the first row of the data contains no truth peaks. We don't want this, cause sometimes we produce data with no truth peaks by chance or to look at noise. A line was added here to avoid this - it defines the branch type in root by looking for the first non-zero row of the data.