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

Add Mvtx hit set helper #3404

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ycorrales
Copy link
Contributor

  • ycm - clean and merge MVTX event header
  • ycm - add new Mvtx trkr hitset helper to map hitsetkey with strobe id
  • ycm - add default ctors/assigment
  • ycm - changes to add new mvtx hit set helper

This PR add a map of hitsekey per strobe during the MVTX unpacking, this will allow to
run the clustering process for single strobe and Si seeding for a given range of strobes.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work for users)
  • Requiring change in macros repository (Please provide links to the macros pull request in the last section)
  • I am a member of GitHub organization of sPHENIX Collaboration, EIC, or ECCE (contact Chris Pinkenburg to join)

What kind of change does this PR introduce? (Bug fix, feature, ...)

TODOs (if applicable)

Links to other PRs in macros and calibration repositories (if applicable)

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit 7e608e62fcd9e32a2194b8301814976a450101cd:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@osbornjd osbornjd mentioned this pull request Feb 6, 2025
5 tasks
@ycorrales ycorrales force-pushed the coresw_time_matching branch from 7e608e6 to 8d7dcda Compare February 7, 2025 18:51
@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit 8d7dcda71462091a44102e5f3d8e231d307a4340:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@pinkenburg
Copy link
Contributor

Except one the clang-tidy warnings are from a new clang-tidy setting, not from this PR. clang-tidy flags a benign shadowed variable in MvtxCombinedRawDataDecoder.cc which needs to be taken car of. I added -Wshadow to the configure.ac of the mvtx package so the compiler will in the future flag these (the current mvtx code compiles just fine with this - no changes are needed)

@ycorrales ycorrales force-pushed the coresw_time_matching branch from 8d7dcda to 07f6108 Compare February 8, 2025 18:07
@ycorrales
Copy link
Contributor Author

thank you @pinkenburg, even benign I've taken care of that. @jdosbo how do you want to proceed did we remove the draft tag and merge the implementation.

@sphenix-jenkins-ci
Copy link

Build & test report

Report for commit 07f610836d14a5ad24bd5a42bacb5f90c7e630cb:
Jenkins on fire


Automatically generated by sPHENIX Jenkins continuous integration
sPHENIX             jenkins.io

@pinkenburg
Copy link
Contributor

there is a bd valgrind error (invalid read) in the hitsetunpacker. It's from
mvtx_event_header->add_strobe_BCO(feeIdInfo->get_bco());

@ycorrales
Copy link
Contributor Author

ycorrales commented Feb 9, 2025

there is a bd valgrind error (invalid read) in the hitsetunpacker. It's from mvtx_event_header->add_strobe_BCO(feeIdInfo->get_bco());

I think the problem is that jerkins raw input data was created with an old MVTXRawEventheader (version 1), we changed the raw event header to v2 few month ago in the event combiner but because it was not directly used, because Combiner rely on hit data only, it was never an issue. Some of the change introduced read the strobe information from the new raweventheader which has a different data member format and might originate the invalid read.

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.

2 participants