Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Integration branch for HGCal multiboard test [DO NOT MERGE] #119

Open
wants to merge 53 commits into
base: L1PF_12_5_X
Choose a base branch
from

Conversation

gpetruc
Copy link
Collaborator

@gpetruc gpetruc commented Jun 15, 2023

Pushing here a branch with the changes to be used for developing and running the HGCal → Correlator Layer 1 Endcap multiboard test.
It includes the branch from @EmyrClement with the standalone HGCal emulator and patches for the Correlator Layer 1 emulator:

  • encoding of the hgcal raw cluster word with the new format defined by HGCal, taken from the standalone emulator, including debug comparison of difference wrt what we would encode reading from the floating point variables of the cluster
  • updated emulator for the HGCal cluster decoder that reads the new format and rescales, computes on the fly or makes up some variables we're using in the ID so that objects will be accepted by the algorithms (though of course not with the best physics performance)
  • debug comparison of the output of encoding + decoding vs floating point values in the cluster object
  • switching off the extra calibrations and BDT IDs for the clusters
  • change the encoding of some cluster shape variables saved in the Correlator objects to make the encoding and decoding more friendly

Of course this is only for testing, not for future merging.

@cerminar

tswilliams and others added 30 commits April 13, 2023 19:07
Co-authored-by: Jonathon Langford <[email protected]>
Changes for interface test (squashed)

Start adding cluster sum wrods.

L1T demonstrator tools: Add support for new EMP file format

Port pattern file writer for S2 output.

Set pattern file format to CSP-style

Fix 'valid missing' bug in new EMP write function

Add hw definition of cluster sum words, produce pattern files for cluster sum recrod.

Demonstrator tools: Add ability to set board ID

Populate first two words of output clusters.

Bug fix, carried over from another branch.

Fully populate cluster sum and output cluster words.

Update pattern file writter.

Add pattern file reader

Remove check on expected valid frames.  Required for variable length packets.

Add config for pattern file reader.  Commentn out some debug text.

Remove large products from output.

Update eta to interface doc definition.

Synch pt digitisation with firmware

Explore changes to improve perfromance of emulator.

Store layer info in ntuples.

Try varying seed threhold vs r over z

Start aliging to latest firmware iteration.

WIP for rebase.
…outputToSAAtLowpT

Add flag to drop quality of low-pt TkMuons without an SA match
…v1.16

Updated correlator layer 1 e/gamma sorter
…-emp-format-1252patch1

Demonstrator tools: Support for EMP v0.7.x buffer file format
Add ID score to the electron firmware object
Demonstrator tools: Support for EMP v0.7.x buffer file format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants