HomeHEPForge
Diffusion HEJ e2b87bca7c29

Removed unneeded "if" statement and added "const"

Description

Removed unneeded "if" statement and added "const"

Removed unneeded "if" when doing lowpt and just returned the result
of std::any_of. Added "const &" to arguments of pass_low_pt function.

Details

Provenance
CE PH <conor.elrick@ed.ac.uk>Authored on Jul 25 2022, 3:22 PM
amaierPushed on Mar 22 2023, 7:11 AM
Parents
rHEJ123250e0de57: Changed to using std::any_of in lowpt block
Branches
Unknown
Tags
Unknown

Event Timeline

CE PH <conor.elrick@ed.ac.uk> committed rHEJe2b87bca7c29: Removed unneeded "if" statement and added "const" (authored by CE PH <conor.elrick@ed.ac.uk>).Jul 25 2022, 3:22 PM