tzuhanchang / HyPER

Hypergraph for Particle Event Reconstruction
MIT License
3 stars 0 forks source link

Add conditional hyperedge construction #49

Open tzuhanchang opened 3 months ago

tzuhanchang commented 3 months ago

Add conditional hyperedge construction #48. Adding the option Restriction in the dataset configuration file (db.yaml). Restriction takes the following values:

Only hyperedges that satisfy one of the conditions will be used for the subsequent computing.

If id -1 represents electron, -2 represents muon, 0 represents MET, and 1 represents jet, then restriction [[0,-1,1], [0,-2,1], [1,1,1]] will prohibit non-physical cases such as a hyperedge containing two jets and one lepton.

tzuhanchang commented 3 months ago

@els285 can you test this on lep+jet ttbar events?

tzuhanchang commented 3 months ago

Complete task list: