Candidate

class coffea.nanoevents.methods.candidate.Candidate[source]

Bases: LorentzVector

A Lorentz vector with charge

This mixin class requires the parent class to provide items x, y, z, t, and charge.

Methods Summary

add(other)

Add two candidates together elementwise using x, y, z, t, and charge components

sum([axis])

Sum an array of vectors elementwise using x, y, z, t, and charge components

Methods Documentation

add(other)[source]

Add two candidates together elementwise using x, y, z, t, and charge components

sum(axis=-1)[source]

Sum an array of vectors elementwise using x, y, z, t, and charge components