icezee

icezee input data classes and functions.

icezee.common

load_helper(mcfiles, datafiles, maxevents, args)[source]
load_root_file(root_path, ids=None, entry_start=0, entry_stop=None, maxevents=None, args=None)[source]

Loads the root file.

Parameters:

root_path – paths to root files (list)

Returns:

columnar data Y: class labels W: event weights ids: columnar variable string (list) info: trigger and pre-selection acceptance x efficiency information (dict)

Return type:

X

splitfactor(x, y, w, ids, args)[source]

Transform data into different datatypes.

Parameters:
  • data – jagged arrays

  • args – arguments dictionary

Returns:

dictionary with different data representations

truncate(X, Y, W, maxevents)[source]