Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
},
with_name="LorentzVector",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
"charge": awkward1.sum(self.charge, axis=axis),
},
with_name="Candidate",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
},
with_name="LorentzVector",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
},
with_name="LorentzVector",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
"charge": awkward1.sum(self.charge, axis=axis),
},
with_name="Candidate",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
},
with_name="TwoVector",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
"charge": awkward1.sum(self.charge, axis=axis),
},
with_name="Candidate",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
"charge": awkward1.sum(self.charge, axis=axis),
},
with_name="Candidate",
)
def sum(self, axis=-1):
return awkward1.zip(
{
"x": awkward1.sum(self.x, axis=axis),
"y": awkward1.sum(self.y, axis=axis),
"z": awkward1.sum(self.z, axis=axis),
"t": awkward1.sum(self.t, axis=axis),
"charge": awkward1.sum(self.charge, axis=axis),
},
with_name="Candidate",
)