pylhe.read_num_events

pylhe.read_num_events(filepath) int[source]

Moderately efficient way to get the number of events stored in a file.