Page MenuHomeHEPForge

Protect eps and epsParent against wrong indices
ClosedPublic

Authored by abudinen on Feb 2 2024, 6:03 PM.

Details

Summary

Fixed loop over indices for vector states.

Added assert to check for right indices in polarisation vectors of vector and tensor particles.

Updated History.md.

Related with #12, !12 and T232.

Test Plan

Run all tests and check that output is the same.

Diff Detail

Repository
rEVTGEN evtgen
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

abudinen created this revision.
abudinen changed the visibility from "All Users" to "Public (No Login Required)".
abudinen changed the edit policy from "All Users" to "Restricted Project (Project)".
abudinen added a project: Restricted Project.

These changes look OK, although I think you need to "undo" the fix for EvtBcVHad since this has been done in D100 that has been recently merged (which also makes significant changes to other parts of that class). So just update this class to the version in the current master, otherwise I think you will get a merge conflict (for those other parts that have changed).

Rebased master with check fix.

This revision is now accepted and ready to land.Feb 5 2024, 4:44 PM

Updated History.md after landing of D107